/* style/fishing-games.css */

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

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

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

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

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Adjust based on desired hero image width */
    overflow: hidden;
    margin-bottom: 30px;
}

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

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

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
    color: var(--fishing-games-gold);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, var(--fishing-games-button-gradient-start) 0%, var(--fishing-games-button-gradient-end) 100%);
    color: var(--fishing-games-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(var(--fishing-games-glow), 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--fishing-games-glow), 0.6);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--fishing-games-gold);
    border: 2px solid var(--fishing-games-gold);
    box-shadow: 0 2px 10px rgba(var(--fishing-games-gold), 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--fishing-games-gold);
    color: var(--fishing-games-background);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--fishing-games-gold), 0.4);
}

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

/* General Content Sections */
.page-fishing-games__content-section,
.page-fishing-games__featured-games-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-us-section,
.page-fishing-games__faq-section {
    padding: 60px 0;
}

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

.page-fishing-games__light-bg {
    background-color: #0d1e16; /* Slightly lighter dark for contrast */
    color: var(--fishing-games-text-main);
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--fishing-games-gold);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--fishing-games-primary-color);
    border-radius: 2px;
}

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

.page-fishing-games__text-block a {
    color: var(--fishing-games-primary-color);
    text-decoration: underline;
}

.page-fishing-games__text-block a:hover {
    color: var(--fishing-games-gold);
}

.page-fishing-games__highlight {
    color: var(--fishing-games-gold);
    font-weight: bold;
}

.page-fishing-games__text-center {
    text-align: center;
}

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

.page-fishing-games__card {
    background-color: var(--fishing-games-card-bg);
    border: 1px solid var(--fishing-games-border);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: var(--fishing-games-text-main);
}

.page-fishing-games__game-card-image,
.page-fishing-games__promo-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-fishing-games__game-card-title,
.page-fishing-games__promo-card-title {
    font-size: 1.5em;
    color: var(--fishing-games-gold);
    margin-bottom: 10px;
}

.page-fishing-games__game-card-text,
.page-fishing-games__promo-card-text {
    font-size: 0.95em;
    color: var(--fishing-games-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-fishing-games__guide-item {
    background-color: var(--fishing-games-card-bg);
    border: 1px solid var(--fishing-games-border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-fishing-games__guide-item-text a {
    color: var(--fishing-games-primary-color);
    text-decoration: underline;
}

.page-fishing-games__guide-item-text a:hover {
    color: var(--fishing-games-gold);
}

/* Why Choose Us Section */
.page-fishing-games__feature-item {
    background-color: var(--fishing-games-card-bg);
    border: 1px solid var(--fishing-games-border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Enforce minimum size for images */
    min-height: 200px; /* Enforce minimum size for images */
    object-fit: contain;
}

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

.page-fishing-games__feature-text {
    font-size: 0.95em;
    color: var(--fishing-games-text-secondary);
}

.page-fishing-games__feature-text a {
    color: var(--fishing-games-primary-color);
    text-decoration: underline;
}

.page-fishing-games__feature-text a:hover {
    color: var(--fishing-games-gold);
}

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

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

.page-fishing-games__faq-item summary {
    list-style: none;
}

.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;
    padding: 20px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--fishing-games-gold);
    cursor: pointer;
    background-color: var(--fishing-games-deep-green);
    border-bottom: 1px solid var(--fishing-games-divider);
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(var(--fishing-games-deep-green), 0.8);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: var(--fishing-games-text-secondary);
    border-top: 1px solid var(--fishing-games-divider);
}

/* Image sizing for content area - ensure minimum 200px */
.page-fishing-games img:not(.page-fishing-games__feature-icon) {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-content {
        padding: 0 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-fishing-games__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 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__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__content-section,
    .page-fishing-games__featured-games-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-us-section,
    .page-fishing-games__faq-section {
        padding: 40px 0;
    }
    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__game-card-image,
    .page-fishing-games__promo-card-image,
    .page-fishing-games__feature-icon {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-fishing-games__game-card-image,
    .page-fishing-games__promo-card-image {
        height: auto; /* Allow auto height on mobile for better aspect ratio */
        min-height: 150px; /* Ensure minimum height */
    }

    .page-fishing-games__feature-icon {
        width: 100px; /* Adjust displayed size for icons on mobile */
        height: 100px;
        min-width: 100px !important;
        min-height: 100px !important;
        object-fit: contain;
    }

    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__features-grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__card,
    .page-fishing-games__guide-item,
    .page-fishing-games__feature-item,
    .page-fishing-games__faq-item {
        padding: 15px;
    }

    .page-fishing-games__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-fishing-games__faq-answer {
        padding: 15px;
    }
    
    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}