/* style/fishing-games.css */

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

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

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

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

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-fishing-games__hero-content-wrapper {
    width: 100%;
    padding: 40px 0;
    background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, var(--color-background) 100%);
    text-align: center;
    z-index: 10;
    margin-top: -100px; /* Overlap slightly for visual effect */
    position: relative;
}

.page-fishing-games__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.page-fishing-games__hero-description {
    font-size: 1.1em;
    color: var(--color-text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    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: var(--color-button-gradient-start);
    background-image: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: 2px solid var(--color-glow);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(87, 227, 141, 0.8);
}

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

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

.page-fishing-games__btn-center {
    margin-left: auto;
    margin-right: auto;
    display: table;
}

/* Sections General */
.page-fishing-games__introduction-section,
.page-fishing-games__games-showcase-section,
.page-fishing-games__guide-section,
.page-fishing-games__advantages-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
    padding: 60px 0;
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-fishing-games__dark-bg {
    background-color: var(--color-deep-green);
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__subtitle {
    font-size: 1.8em;
    color: var(--color-glow);
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

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

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

.page-fishing-games__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--color-text-main);
}

.page-fishing-games__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-glow);
    font-weight: bold;
    font-size: 1.2em;
}

/* Card Styles */
.page-fishing-games__card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--color-text-main);
    border: 1px solid var(--color-divider);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.page-fishing-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block; /* Ensure it behaves as a block element for max-width */
}

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

.page-fishing-games__card-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--color-text-secondary);
    flex-grow: 1;
    margin-bottom: 15px;
}

.page-fishing-games__card-button {
    display: inline-block;
    margin-top: auto;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: none;
    transition: background-color 0.3s ease;
}

.page-fishing-games__card-button:hover {
    filter: brightness(1.1);
}

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

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

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--color-divider);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--color-card-bg);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--color-glow);
    cursor: pointer;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
    list-style: none; /* For details/summary */
}

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
}

.page-fishing-games__faq-answer {
    padding: 15px 25px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--color-text-secondary);
    background-color: var(--color-card-bg);
    border-top: 1px solid var(--color-divider);
}

/* Copyright Info */
.page-fishing-games__copyright-info {
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
    color: var(--color-text-secondary);
    background-color: var(--color-deep-green);
    border-top: 1px solid var(--color-divider);
}

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

@media (max-width: 768px) {
    .page-fishing-games__hero-content-wrapper {
        padding: 30px 0;
        margin-top: -50px;
    }

    .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: 25px;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure button containers also adapt */
    .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: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important; /* Allow buttons to wrap */
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-fishing-games__text-block,
    .page-fishing-games__list-item,
    .page-fishing-games__card-description,
    .page-fishing-games__faq-answer {
        font-size: 0.95em;
    }

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

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

    .page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    
    /* Image responsive adaptions */
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-fishing-games__section-title {
        font-size: 1.6em;
    }
    .page-fishing-games__subtitle {
        font-size: 1.4em;
    }
    .page-fishing-games__hero-content-wrapper {
        margin-top: -30px;
    }
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Contrast Fixes */
.page-fishing-games__dark-bg {
    color: var(--color-text-main);
}

.page-fishing-games__card {
    color: var(--color-text-main);
}

.page-fishing-games__btn-primary {
    color: #ffffff;
}

.page-fishing-games__btn-secondary {
    color: var(--color-glow);
}

.page-fishing-games__highlight {
    color: var(--color-gold);
}