/* style/fishing-games.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --card-bg-color: #11271B;
    --background-color: #08160F;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    --body-text-color: #333333; /* For light body background */
    --light-bg-color: #ffffff;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--body-text-color);
    background-color: #f4f4f4; /* Matches body background from shared.css */
}

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

.page-fishing-games__section {
    padding: 60px 0;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-fishing-games__subsection-title {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 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 top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--background-color);
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px; /* Ensure minimum height */
}

.page-fishing-games__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    z-index: 1;
    color: var(--text-main-color);
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

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

/* 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;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid var(--primary-color);
    margin: 10px;
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-fishing-games__btn-secondary {
    background: var(--light-bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin: 10px;
}

.page-fishing-games__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--light-bg-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-fishing-games__cta-container {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* General Text & List */
.page-fishing-games p {
    margin-bottom: 15px;
    color: var(--body-text-color);
}

.page-fishing-games__list {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--body-text-color);
}

.page-fishing-games__list li {
    margin-bottom: 10px;
}

.page-fishing-games__image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Dark Background Sections */
.page-fishing-games__dark-bg {
    background-color: var(--background-color);
    color: var(--text-secondary-color);
}

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

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

.page-fishing-games__dark-bg .page-fishing-games__text-secondary {
    color: var(--text-secondary-color);
}

/* Card Styles */
.page-fishing-games__card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-fishing-games__card-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main-color);
}

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

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

/* Feature List */
.page-fishing-games__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__feature-item {
    background-color: var(--light-bg-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    border-left: 5px solid var(--primary-color);
}

.page-fishing-games__feature-item h3 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-fishing-games__feature-item p {
    color: var(--body-text-color);
}

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

.page-fishing-games__step-card {
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-fishing-games__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--text-main-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    border: 3px solid var(--gold-color);
    box-shadow: 0 0 15px var(--glow-color);
}

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

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

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

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

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
    background-color: var(--primary-color);
    color: var(--text-main-color);
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question .page-fishing-games__faq-toggle {
    color: var(--text-main-color);
}

.page-fishing-games__faq-question:hover {
    background-color: #e0f2e8; /* Lighter shade of green for hover */
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--primary-color);
    margin-left: 15px;
    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: 15px 25px 25px;
    font-size: 1em;
    color: var(--body-text-color);
    border-top: 1px solid var(--divider-color);
}

/* Conclusion */
.page-fishing-games__conclusion {
    text-align: center;
    padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__hero-content {
        padding: 20px 15px;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }

    /* Mobile image, video, button adaptations */
    .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;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__feature-list,
    .page-fishing-games__steps-grid,
    .page-fishing-games__faq-list,
    .page-fishing-games__cta-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0;
        margin-right: 0;
    }
    .page-fishing-games__cta-container {
        flex-direction: column;
        gap: 10px;
    }

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

    .page-fishing-games__card-image {
        height: auto;
        min-height: 150px;
    }

    .page-fishing-games__feature-item {
        border-left: none;
        border-top: 5px solid var(--primary-color);
    }

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

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
        font-size: 0.9em;
        padding: 10px 20px;
    }
}