/* style/fishing-games.css */

/* Custom Colors */
:root {
    --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;
}

/* Base styles for the page */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--fishing-games-text-main); /* Default text color for dark background */
    background-color: var(--fishing-games-background);
}

/* Sections */
.page-fishing-games__section {
    padding: 60px 20px;
    text-align: center;
}

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

.page-fishing-games__light-bg {
    background-color: #f0f0f0;
    color: #333333;
}

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

.page-fishing-games__section-title {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--fishing-games-gold);
    line-height: 1.2;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* 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;
    overflow: hidden;
}

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

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

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

.page-fishing-games__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    font-weight: 800;
    color: var(--fishing-games-gold);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

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

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--fishing-games-gold);
    color: var(--fishing-games-background);
    transform: translateY(-3px);
}

/* Game 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 {
    background-color: var(--fishing-games-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    color: var(--fishing-games-text-main);
    padding-bottom: 20px;
}

.page-fishing-games__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid var(--fishing-games-divider);
}

.page-fishing-games__card-title {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--fishing-games-gold);
    margin: 20px 20px 10px;
}

.page-fishing-games__card-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--fishing-games-text-secondary);
    margin: 0 20px 20px;
}

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

/* How-to-Play List */
.page-fishing-games__step-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__step-list li {
    counter-increment: step-counter;
    margin-bottom: 25px;
    padding-left: 50px;
    position: relative;
    font-size: 1.1em;
    line-height: 1.7;
    color: #333333;
}

.page-fishing-games__step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--fishing-games-gold);
    color: var(--fishing-games-background);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2em;
}

.page-fishing-games__list-highlight {
    color: var(--fishing-games-deep-green);
}

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

.page-fishing-games__feature-item {
    background-color: var(--fishing-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--fishing-games-text-main);
    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.4em;
    font-weight: 700;
    color: var(--fishing-games-gold);
    margin-bottom: 10px;
}

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

/* Promotions List */
.page-fishing-games__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__promotion-list li {
    background-color: var(--fishing-games-card-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--fishing-games-text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--fishing-games-gold);
}

/* Safety Links */
.page-fishing-games__safety-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-fishing-games__text-link {
    color: var(--fishing-games-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-fishing-games__text-link:hover {
    color: var(--fishing-games-glow);
    text-decoration: underline;
}

/* App Download */
.page-fishing-games__app-download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%;
}

.page-fishing-games__app-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--fishing-games-gold);
    cursor: pointer;
    outline: none;
    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;
    width: 100%;
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--fishing-games-glow);
}

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

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

.page-fishing-games__faq-answer p {
    margin: 0;
}

.page-fishing-games__faq-more-button {
    margin-top: 30px;
}

/* Final CTA */
.page-fishing-games__cta-final .page-fishing-games__section-title {
    color: #333333;
}

.page-fishing-games__cta-final .page-fishing-games__text-block {
    color: #555555;
}

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

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 15px;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
    }

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

    .page-fishing-games__description {
        font-size: 1em;
    }

    .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__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__step-list li,
    .page-fishing-games__promotion-list li {
        font-size: 1em;
        padding-left: 40px;
    }

    .page-fishing-games__step-list li::before {
        width: 30px;
        height: 30px;
        font-size: 1.1em;
    }

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

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

    /* All containers with images/videos/buttons */
    .page-fishing-games__hero-section,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__hero-content,
    .page-fishing-games__container,
    .page-fishing-games__game-card,
    .page-fishing-games__feature-item,
    .page-fishing-games__app-download-buttons,
    .page-fishing-games__faq-item,
    .page-fishing-games__cta-buttons {
        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-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__app-image {
        padding-left: 0;
        padding-right: 0;
    }

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

    /* Multiple buttons in mobile */
    .page-fishing-games__cta-buttons,
    .page-fishing-games__app-download-buttons,
    .page-fishing-games__safety-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }
    .page-fishing-games__text-block {
        font-size: 0.9em;
    }
}