/* style/fishing-games.css */

/* Custom Colors from palette */
:root {
    --kwin-bg-primary: #08160F; /* Background */
    --kwin-card-bg: #11271B; /* Card BG */
    --kwin-text-main: #F2FFF6; /* Text Main */
    --kwin-text-secondary: #A7D9B8; /* Text Secondary */
    --kwin-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --kwin-border: #2E7A4E; /* Border */
    --kwin-glow: #57E38D; /* Glow */
    --kwin-gold: #F2C14E; /* Gold */
    --kwin-divider: #1E3A2A; /* Divider */
    --kwin-deep-green: #0A4B2C; /* Deep Green */
}

.page-fishing-games {
    background-color: var(--kwin-bg-primary);
    color: var(--kwin-text-main); /* Light text for dark background */
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
    background-color: var(--kwin-bg-primary);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-fishing-games__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    color: var(--kwin-gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.15rem;
    color: var(--kwin-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__text-link {
    color: var(--kwin-gold);
    text-decoration: underline;
}

.page-fishing-games__text-link:hover {
    color: var(--kwin-glow);
}

.page-fishing-games__mt-40 {
    margin-top: 40px;
}

/* General Section Styling */
.page-fishing-games__section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--kwin-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__section-content {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

/* Card Styling */
.page-fishing-games__card {
    background-color: var(--kwin-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--kwin-border);
}

.page-fishing-games__card-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it's a block element for max-width to work */
}

.page-fishing-games__card-title {
    font-size: 1.5rem;
    color: var(--kwin-text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__card-description {
    color: var(--kwin-text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* Button Styles */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't increase width beyond max-width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-fishing-games__btn-primary {
    background: var(--kwin-button-gradient);
    color: #ffffff; /* White text for gradient button */
    box-shadow: 0 4px 12px rgba(42, 209, 111, 0.3);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--kwin-gold); /* Gold text for secondary button */
    border: 2px solid var(--kwin-gold);
    box-shadow: 0 2px 8px rgba(242, 193, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(242, 193, 78, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__center-cta {
    text-align: center;
    margin-top: 30px;
}

.page-fishing-games__center-cta .page-fishing-games__btn-secondary {
    margin-top: 30px;
}

/* Grid Layouts */
.page-fishing-games__grid-2-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* How To Play Steps */
.page-fishing-games__step-item {
    background-color: var(--kwin-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    border: 1px solid var(--kwin-border);
}

.page-fishing-games__step-number {
    font-size: 2.5rem;
    color: var(--kwin-gold);
    font-weight: 700;
    margin-bottom: 15px;
}

.page-fishing-games__step-title {
    font-size: 1.3rem;
    color: var(--kwin-text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__step-description {
    color: var(--kwin-text-secondary);
    font-size: 1rem;
}

/* Promotions and Tips Sections */
.page-fishing-games__list-item {
    background-color: var(--kwin-card-bg);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--kwin-border);
}

.page-fishing-games__list-title {
    font-size: 1.4rem;
    color: var(--kwin-text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__list-description {
    color: var(--kwin-text-secondary);
    font-size: 1rem;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__faq-item {
    background-color: var(--kwin-card-bg);
    border: 1px solid var(--kwin-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--kwin-text-main);
    cursor: pointer;
    background-color: var(--kwin-card-bg);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: var(--kwin-deep-green);
}

.page-fishing-games__faq-question summary {
    list-style: none; /* Remove default marker for details tag */
}

.page-fishing-games__faq-question summary::-webkit-details-marker {
    display: none; /* Remove default marker for webkit browsers */
}

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--kwin-gold);
    transition: transform 0.3s ease;
    margin-left: 15px; /* Spacing for the toggle icon */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' or '-' */
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    color: var(--kwin-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Video Section */
.page-fishing-games__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
    background-color: var(--kwin-bg-primary);
}

.page-fishing-games__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

/* CTA Section */
.page-fishing-games__cta-section {
    background-color: var(--kwin-deep-green);
    padding: 80px 20px;
    text-align: center;
}

.page-fishing-games__cta-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--kwin-gold);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-fishing-games__cta-description {
    font-size: 1.15rem;
    color: var(--kwin-text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}


/* Responsive Styles */
@media (max-width: 992px) {
    .page-fishing-games__section {
        padding: 60px 15px;
    }

    .page-fishing-games__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }

    .page-fishing-games__grid-2-cols,
    .page-fishing-games__grid-3-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fishing-games__hero-section,
    .page-fishing-games__video-section,
    .page-fishing-games__cta-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset, this is a small decorative top padding */
    }

    .page-fishing-games__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-fishing-games__hero-description {
        font-size: 1rem;
    }

    .page-fishing-games__section-title,
    .page-fishing-games__cta-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }

    .page-fishing-games__card,
    .page-fishing-games__step-item,
    .page-fishing-games__list-item,
    .page-fishing-games__faq-item {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images Responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important; /* Ensure width is 100% for images within sections */
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Videos Responsive */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Buttons Responsive */
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-fishing-games__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .page-fishing-games__section-title,
    .page-fishing-games__cta-title {
        font-size: clamp(1.3rem, 6vw, 2rem);
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
    }
}