/* style/fishing-games.css */

/* Custom Colors */
:root {
    --fishing-games-bg: #08160F;
    --fishing-games-card-bg: #11271B;
    --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;
    --fishing-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --primary-color: #11A84E; /* Main color from prompt */
    --secondary-color: #22C768; /* Auxiliary color from prompt */
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--fishing-games-text-main);
    background-color: var(--fishing-games-bg);
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

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

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

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for the image wrapper */
    overflow: hidden;
    margin-bottom: 40px;
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__main-title {
    font-weight: 700;
    line-height: 1.2;
    color: var(--fishing-games-text-main);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

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

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

/* General Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__card-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    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,
.page-fishing-games__card-button {
    background: var(--fishing-games-btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-fishing-games__btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Section Styling */
.page-fishing-games__introduction-section,
.page-fishing-games__guide-section,
.page-fishing-games__why-choose-section {
    background-color: var(--fishing-games-card-bg);
    color: var(--fishing-games-text-main);
    padding: 60px 0;
}

.page-fishing-games__games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
    background-color: var(--fishing-games-bg);
    color: var(--fishing-games-text-main);
    padding: 60px 0;
}

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

.page-fishing-games__text-block {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--fishing-games-text-secondary);
    text-align: justify;
}

.page-fishing-games__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__card {
    background-color: var(--fishing-games-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--fishing-games-border);
}

.page-fishing-games__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__card-title {
    font-size: 1.5rem;
    color: var(--fishing-games-text-main);
    padding: 15px 20px 10px;
    font-weight: 600;
}

.page-fishing-games__card-description {
    font-size: 0.95rem;
    color: var(--fishing-games-text-secondary);
    padding: 0 20px 15px;
    flex-grow: 1;
    line-height: 1.6;
}

.page-fishing-games__card-button {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
    display: block;
}

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

.page-fishing-games__guide-list li,
.page-fishing-games__tips-list li {
    background-color: var(--fishing-games-bg);
    border-left: 5px solid var(--fishing-games-glow);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--fishing-games-text-secondary);
    font-size: 1.05rem;
}

.page-fishing-games__guide-list li strong {
    color: var(--fishing-games-text-main);
}

/* Why Choose 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;
    background-color: var(--fishing-games-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--fishing-games-divider);
}

.page-fishing-games__feature-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: var(--fishing-games-deep-green);
    padding: 15px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-title {
    font-size: 1.4rem;
    color: var(--fishing-games-glow);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__feature-description {
    font-size: 0.95rem;
    color: var(--fishing-games-text-secondary);
    line-height: 1.6;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fishing-games-text-main);
    cursor: pointer;
    background-color: var(--fishing-games-deep-green);
    border-bottom: 1px solid var(--fishing-games-border);
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--fishing-games-glow);
    margin-left: 15px;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: '−';
}

.page-fishing-games__faq-answer {
    padding: 15px 25px;
    font-size: 1rem;
    color: var(--fishing-games-text-secondary);
    line-height: 1.7;
    background-color: var(--fishing-games-card-bg);
}

/* Hide default details marker */
.page-fishing-games__faq-item > summary {
    list-style: none;
}
.page-fishing-games__faq-item > summary::-webkit-details-marker {
    display: none;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    text-align: center;
    padding: 80px 0;
    background-color: var(--fishing-games-deep-green);
    border-top: 2px solid var(--fishing-games-glow);
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
    color: var(--fishing-games-gold);
    margin-bottom: 25px;
}

.page-fishing-games__cta-final-section .page-fishing-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section {
        padding: 40px 20px;
    }

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

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

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

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

    .page-fishing-games__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* body handles header offset */
    }

    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 30px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-fishing-games__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__card-button {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__btn-large {
        padding: 15px 30px;
    }

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

    .page-fishing-games__text-block {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .page-fishing-games__content-image {
        margin: 20px auto;
    }

    .page-fishing-games__game-cards,
    .page-fishing-games__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card-image {
        height: 180px;
    }

    .page-fishing-games__card-title {
        font-size: 1.3rem;
    }

    .page-fishing-games__card-description {
        font-size: 0.9rem;
    }

    .page-fishing-games__guide-list li,
    .page-fishing-games__tips-list li {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

    .page-fishing-games__features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-fishing-games__feature-icon {
        width: 100px;
        height: 100px;
    }

    .page-fishing-games__feature-title {
        font-size: 1.2rem;
    }

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

    .page-fishing-games__faq-answer {
        font-size: 0.9rem;
        padding: 12px 20px;
    }

    .page-fishing-games__cta-final-section {
        padding: 60px 15px;
    }

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

    .page-fishing-games video,
    .page-fishing-games__video {
        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,
    .page-fishing-games__games-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__guide-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }

    .page-fishing-games__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    .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: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

/* Dark background text color */
.page-fishing-games__dark-bg {
    color: var(--fishing-games-text-main);
    background-color: var(--fishing-games-bg);
}

/* Light background text color */
.page-fishing-games__light-bg {
    color: var(--fishing-games-text-main);
    background-color: var(--fishing-games-card-bg);
}

/* Ensure all text elements respect contrast */
.page-fishing-games p,
.page-fishing-games li,
.page-fishing-games__card-description,
.page-fishing-games__feature-description,
.page-fishing-games__faq-answer {
    color: var(--fishing-games-text-secondary);
}

.page-fishing-games h1,
.page-fishing-games h2,
.page-fishing-games h3,
.page-fishing-games__card-title,
.page-fishing-games__feature-title,
.page-fishing-games__faq-question .page-fishing-games__faq-qtext {
    color: var(--fishing-games-text-main);
}

.page-fishing-games__section-title,
.page-fishing-games__feature-title {
    color: var(--fishing-games-glow);
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
    color: var(--fishing-games-gold);
}