:root {
    --color-primary: #11A84E; /* Main color */
    --color-secondary: #22C768; /* Auxiliary color */
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background-main: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-fishing-games {
    background-color: var(--color-background-main); /* Dark background */
    color: var(--color-text-main); /* Light text */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-fishing-games__section-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive H2 font size */
    color: var(--color-gold); /* Gold for titles for prominence */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding, body handles header offset */
    box-sizing: border-box;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and text */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.8em); /* H1 font size with clamp */
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    color: var(--color-text-main);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.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;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button doesn't overflow */
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--color-button-gradient-start); /* Fallback for gradient */
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-fishing-games__btn-secondary {
    background: none;
    color: var(--color-button-gradient-start);
    border: 2px solid var(--color-button-gradient-start);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--color-button-gradient-start);
    color: var(--color-text-main);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-fishing-games__about-section {
    padding: 80px 0;
    background-color: var(--color-deep-green); /* Dark background */
    color: var(--color-text-main); /* Light text */
}

.page-fishing-games__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__text-block {
    flex: 1;
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--color-text-secondary);
}

.page-fishing-games__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 80px 0;
    background-color: var(--color-background-main); /* Dark background */
    color: var(--color-text-main); /* Light text */
}

.page-fishing-games__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-fishing-games__feature-card {
    background-color: var(--color-card-bg); /* Dark card background */
    color: var(--color-text-main); /* Light text */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    text-align: center;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__feature-card p {
    font-size: 1em;
    color: var(--color-text-secondary);
}

.page-fishing-games__features-image-bottom {
    margin-top: 50px;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding: 80px 0;
    background-color: var(--color-deep-green); /* Dark background */
    color: var(--color-text-main); /* Light text */
}

.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.page-fishing-games__step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: var(--color-card-bg); /* Dark card background */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
}

.page-fishing-games__step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background-color: var(--color-gold);
    color: var(--color-background-main); /* Dark text on gold */
    font-size: 1.5em;
    font-weight: bold;
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-fishing-games__step-content p {
    font-size: 1em;
    color: var(--color-text-secondary);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: var(--color-background-main); /* Dark background */
    color: var(--color-text-main); /* Light text */
}

.page-fishing-games__promotion-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-fishing-games__promotion-item {
    background-color: var(--color-card-bg); /* Dark card background */
    color: var(--color-text-main); /* Light text */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    text-align: center;
}

.page-fishing-games__promotion-title {
    font-size: 1.5em;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__promotion-item p {
    font-size: 1em;
    color: var(--color-text-secondary);
}

.page-fishing-games__button-wrapper {
    text-align: center;
}

/* Video Section */
.page-fishing-games__video-section {
    padding: 80px 0;
    background-color: var(--color-deep-green); /* Dark background */
    color: var(--color-text-main); /* Light text */
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-fishing-games__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Max width for video */
    margin: 0 auto 20px auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9/16 = 0.5625) */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 25px 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; /* Ensure it behaves as a block element */
    cursor: pointer; /* Indicate clickability */
}

.page-fishing-games__video-caption {
    text-align: center;
    font-style: italic;
    color: var(--color-text-secondary);
    margin-top: 10px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: var(--color-background-main); /* Dark background */
    color: var(--color-text-main); /* Light text */
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.page-fishing-games__faq-item {
    background-color: var(--color-card-bg); /* Dark card background */
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--color-gold);
    cursor: pointer;
    list-style: none; /* Remove default marker */
}

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
}

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

.page-fishing-games__faq-answer p {
    margin-bottom: 10px;
}

.page-fishing-games__faq-illustration-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Final CTA Section */
.page-fishing-games__cta-final {
    padding: 80px 0;
    text-align: center;
    background-color: var(--color-deep-green); /* Dark background */
    color: var(--color-text-main); /* Light text */
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-fishing-games__content-grid {
        flex-direction: column;
    }
    .page-fishing-games__text-block,
    .page-fishing-games__image-wrapper {
        flex: none;
        width: 100%;
    }
    .page-fishing-games__image-wrapper img {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 8vw, 2.5em); /* Adjust H1 for mobile */
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
        margin-bottom: 30px;
    }
    .page-fishing-games__section-description {
        font-size: 0.95em;
        padding: 0 15px;
    }

    .page-fishing-games__about-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__video-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final {
        padding: 50px 0;
    }

    .page-fishing-games__container {
        padding: 0 15px;
    }

    .page-fishing-games__text-block p {
        font-size: 1em;
    }

    .page-fishing-games__image-wrapper img {
        max-width: 100%;
    }

    .page-fishing-games__feature-grid,
    .page-fishing-games__promotion-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__promotion-item {
        padding: 25px;
    }

    .page-fishing-games__card-title,
    .page-fishing-games__promotion-title {
        font-size: 1.3em;
    }

    .page-fishing-games__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .page-fishing-games__step-number {
        margin-bottom: 15px;
    }

    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__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;
    }
    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Mobile video responsiveness */
    .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;
    }
    .page-fishing-games__video-section {
      padding-top: 10px !important;
    }
    .page-fishing-games__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }

    .page-fishing-games__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px 20px;
    }
}