/* style/fishing-games.css */

/* Custom Color Variables */
:root {
    --page-fishing-games-button-gradient-start: #2AD16F;
    --page-fishing-games-button-gradient-end: #13994A;
    --page-fishing-games-card-bg: #11271B;
    --page-fishing-games-background: #08160F; /* This will be the main background for sections */
    --page-fishing-games-text-main: #F2FFF6;
    --page-fishing-games-text-secondary: #A7D9B8;
    --page-fishing-games-border: #2E7A4E;
    --page-fishing-games-glow: #57E38D;
    --page-fishing-games-gold: #F2C14E;
    --page-fishing-games-divider: #1E3A2A;
    --page-fishing-games-deep-green: #0A4B2C;
}

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

.page-fishing-games__container {
    width: 100%; /* Explicitly add width: 100% */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

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

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 800px;
    margin-top: 40px;
    border-radius: 15px;
}

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

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

.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,
.page-fishing-games__btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
    width: auto;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-fishing-games-button-gradient-start);
    color: var(--page-fishing-games-text-main);
    transform: translateY(-3px);
}

.page-fishing-games__btn-play {
    background: linear-gradient(180deg, var(--page-fishing-games-button-gradient-start) 0%, var(--page-fishing-games-button-gradient-end) 100%);
    color: var(--page-fishing-games-text-main);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    margin-top: 15px;
}

.page-fishing-games__btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(17, 168, 78, 0.4);
}

/* Sections */
.page-fishing-games__dark-section {
    background-color: var(--page-fishing-games-card-bg);
    color: var(--page-fishing-games-text-main);
    padding: 60px 0;
}

.page-fishing-games__section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--page-fishing-games-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

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

/* About Section */
.page-fishing-games__about-section .page-fishing-games__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Game Showcase */
.page-fishing-games__games-showcase {
    background-color: var(--page-fishing-games-background);
    padding: 60px 0;
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__game-card {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

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

/* How to Play Section */
.page-fishing-games__how-to-play {
    padding: 60px 0;
}

.page-fishing-games__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-fishing-games__step-item {
    background-color: var(--page-fishing-games-background);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, var(--page-fishing-games-button-gradient-start) 0%, var(--page-fishing-games-button-gradient-end) 100%);
    color: var(--page-fishing-games-text-main);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__step-title {
    font-size: 1.3rem;
    color: var(--page-fishing-games-text-main);
    margin-bottom: 10px;
}

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

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

.page-fishing-games__promo-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    justify-content: center;
}

.page-fishing-games__promo-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.page-fishing-games__promo-text {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
}

.page-fishing-games__promo-list li {
    font-size: 1rem;
    color: var(--page-fishing-games-text-secondary);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-fishing-games__promo-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--page-fishing-games-button-gradient-start);
}

/* Benefits Section */
.page-fishing-games__benefits-section {
    padding: 60px 0;
}

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

.page-fishing-games__benefits-list li {
    background-color: var(--page-fishing-games-background);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__benefit-title {
    font-size: 1.4rem;
    color: var(--page-fishing-games-text-main);
    margin-bottom: 10px;
}

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

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--page-fishing-games-text-main);
    background-color: var(--page-fishing-games-card-bg);
    transition: background-color 0.3s ease;
    list-style: none;
}

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--page-fishing-games-button-gradient-start);
}

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

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--page-fishing-games-text-secondary);
    line-height: 1.7;
    transition: all 0.3s ease-out;
}

/* CTA Section */
.page-fishing-games__cta-section {
    padding: 80px 0;
    text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: 20px;
        padding: 30px;
    }
}

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

    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }

    .page-fishing-games__hero-image {
        max-height: 400px;
    }

    .page-fishing-games__hero-content {
        margin-top: 20px;
        padding: 25px 15px;
    }

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

    .page-fishing-games__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-play {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

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

    .page-fishing-games__dark-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 40px 0;
    }

    .page-fishing-games__game-grid,
    .page-fishing-games__steps,
    .page-fishing-games__benefits-list {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__promo-content {
        flex-direction: column;
    }

    .page-fishing-games__promo-image {
        max-width: 100%;
        margin-bottom: 20px;
    }

    /* Mobile image and video responsiveness (global override for safety) */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* All containers with images/videos/buttons */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__promo-text,
    .page-fishing-games__cta-buttons,
    .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;
    }
}