/* style/fishing-games.css */

/* Custom Colors */
:root {
    --f8beta2-primary: #11A84E;
    --f8beta2-secondary: #22C768;
    --f8beta2-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --f8beta2-card-bg: #11271B;
    --f8beta2-background: #08160F;
    --f8beta2-text-main: #F2FFF6;
    --f8beta2-text-secondary: #A7D9B8;
    --f8beta2-border: #2E7A4E;
    --f8beta2-glow: #57E38D;
    --f8beta2-gold: #F2C14E;
    --f8beta2-divider: #1E3A2A;
    --f8beta2-deep-green: #0A4B2C;
}

/* Base styles for the page content, ensuring contrast with body background */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--f8beta2-text-main); /* Light text for dark body background */
    background-color: var(--f8beta2-background); /* Override default if needed, but shared.css body handles it */
    line-height: 1.6;
}

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

.page-fishing-games__section {
    padding: 60px 0;
}

.page-fishing-games__dark-bg {
    background-color: var(--f8beta2-background);
    color: var(--f8beta2-text-main);
}

.page-fishing-games__deep-green-bg {
    background-color: var(--f8beta2-deep-green);
    color: var(--f8beta2-text-main);
}

.page-fishing-games__light-bg {
    background-color: var(--f8beta2-text-main); /* Use light background for contrast sections */
    color: #333333; /* Dark text for light background */
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__subtitle,
.page-fishing-games__light-bg .page-fishing-games__guide-subtitle {
    color: var(--f8beta2-primary);
}

.page-fishing-games__card {
    background-color: var(--f8beta2-card-bg);
    color: var(--f8beta2-text-main);
    border: 1px solid var(--f8beta2-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__section-title {
    font-size: 2.8em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--f8beta2-gold);
    line-height: 1.2;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: var(--f8beta2-gold);
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--f8beta2-text-secondary);
}

.page-fishing-games__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px 0;
    object-fit: cover;
}

.page-fishing-games__image-centered {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: var(--f8beta2-button-gradient);
    color: var(--f8beta2-text-main);
    border: none;
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--f8beta2-primary);
    border: 2px solid var(--f8beta2-primary);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--f8beta2-primary);
    color: var(--f8beta2-text-main);
    transform: translateY(-2px);
}

.page-fishing-games__center-button {
    display: block;
    margin: 30px auto 0;
    max-width: 300px;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* body handles padding-top, this is for internal spacing */
    min-height: 70vh;
    overflow: hidden;
    text-align: center;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--f8beta2-text-secondary);
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Featured Games Grid */
.page-fishing-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__game-card {
    text-align: center;
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

.page-fishing-games__card-description {
    font-size: 1em;
    color: var(--f8beta2-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__card-button {
    width: auto;
    margin-top: auto; /* Push button to bottom */
}

.page-fishing-games__more-games-text {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
}

/* Guide Section */
.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__guide-item {
    background-color: #ffffff; /* Light background for guide steps */
    color: #333333; /* Dark text */
    border-left: 5px solid var(--f8beta2-primary);
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__guide-item p {
    color: #555555;
}

.page-fishing-games__guide-subtitle {
    font-size: 1.4em;
    color: var(--f8beta2-primary);
    margin-bottom: 10px;
}

.page-fishing-games__tip-text {
    font-style: italic;
    text-align: center;
    margin-top: 30px;
    color: #555555;
}

/* Promotions Section */
.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-fishing-games__promo-item {
    background-color: var(--f8beta2-card-bg);
    border-radius: 8px;
    padding: 25px;
    border: 1px solid var(--f8beta2-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__promo-subtitle {
    font-size: 1.5em;
    color: var(--f8beta2-gold);
    margin-bottom: 10px;
}

.page-fishing-games__promo-item p {
    color: var(--f8beta2-text-secondary);
}

.page-fishing-games__promo-call-to-action {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: var(--f8beta2-text-main);
}

/* Why Choose Us Section */
.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__feature-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-fishing-games__feature-description {
    font-size: 1em;
    color: var(--f8beta2-text-secondary);
    text-align: justify;
}

.page-fishing-games__final-call-to-action {
    text-align: center;
    margin-top: 50px;
    font-size: 1.2em;
    font-weight: 600;
    color: #333333; /* Dark text on light background */
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    margin-bottom: 20px;
    overflow: hidden;
}

.page-fishing-games__faq-item summary {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--f8beta2-text-main);
    background-color: var(--f8beta2-card-bg);
    border-radius: 8px;
    list-style: none; /* Remove default marker */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: var(--f8beta2-text-main);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 15px;
    color: var(--f8beta2-gold);
}

.page-fishing-games__faq-answer {
    padding: 15px 20px;
    background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter than card bg */
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    color: var(--f8beta2-text-secondary);
    font-size: 1em;
    line-height: 1.6;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 10px;
    color: var(--f8beta2-text-secondary);
}

.page-fishing-games__faq-answer .page-fishing-games__btn-secondary {
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__game-grid, .page-fishing-games__features-grid, .page-fishing-games__promo-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is internal */
        padding-bottom: 40px;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-fishing-games__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .page-fishing-games__hero-content {
        padding: 0;
    }
    .page-fishing-games__faq-item summary {
        font-size: 1.1em;
        padding: 12px 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 12px 15px;
    }
    .page-fishing-games__guide-item {
        padding: 15px 20px;
    }
    .page-fishing-games__guide-subtitle {
        font-size: 1.2em;
    }
    .page-fishing-games__final-call-to-action {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.6em;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.6em, 8vw, 2.2em);
    }
    .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
        font-size: 0.95em;
        padding: 10px 15px;
    }
    .page-fishing-games__card-title, .page-fishing-games__feature-title, .page-fishing-games__promo-subtitle {
        font-size: 1.4em;
    }
}