/* style/fishing-games.css */

/* Base styles and variables */
:root {
    --page-fishing-games-primary-color: #26A9E0;
    --page-fishing-games-secondary-color: #FFFFFF;
    --page-fishing-games-accent-color: #EA7C07; /* For login/action buttons */
    --page-fishing-games-dark-text: #333333;
    --page-fishing-games-light-text: #ffffff;
    --page-fishing-games-background-dark: #0a0a0a;
    --page-fishing-games-background-light: #ffffff;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-fishing-games-light-text); /* Default text color for dark body background */
    background-color: var(--page-fishing-games-background-dark); /* Inherited from body in shared.css, but ensure contrast */
}

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

/* Color contrast helpers */
.page-fishing-games__dark-bg {
    background-color: var(--page-fishing-games-background-dark);
    color: var(--page-fishing-games-light-text);
}

.page-fishing-games__light-bg {
    background-color: var(--page-fishing-games-background-light);
    color: var(--page-fishing-games-dark-text);
}

.page-fishing-games__text-contrast-fix {
    color: var(--page-fishing-games-light-text) !important; /* Ensure light text on dark hero */
}

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

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 20px;
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.page-fishing-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-fishing-games-light-text);
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__btn-link {
    background-color: var(--page-fishing-games-accent-color);
    color: var(--page-fishing-games-secondary-color);
    border: 2px solid var(--page-fishing-games-accent-color);
    font-size: 1em;
    padding: 10px 20px;
}

.page-fishing-games__btn-link:hover {
    background-color: #c96700;
    border-color: #c96700;
}

/* General Section Styles */
.page-fishing-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: var(--page-fishing-games-dark-text);
}

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

.page-fishing-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__light-bg .page-fishing-games__paragraph {
    color: var(--page-fishing-games-dark-text);
}

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

/* Advantages Section */
.page-fishing-games__advantages-section {
    padding: 80px 0;
}

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

.page-fishing-games__card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: var(--page-fishing-games-light-text);
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-fishing-games-light-text);
}

.page-fishing-games__card-text {
    font-size: 1em;
    color: var(--page-fishing-games-light-text);
}

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

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

.page-fishing-games__step-item {
    background-color: var(--page-fishing-games-background-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--page-fishing-games-dark-text);
}

.page-fishing-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-secondary-color);
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-fishing-games-dark-text);
}

.page-fishing-games__step-description {
    font-size: 1em;
    margin-bottom: 20px;
    color: var(--page-fishing-games-dark-text);
}

/* Strategy Section */
.page-fishing-games__strategy-section {
    padding: 80px 0;
}

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

.page-fishing-games__strategy-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--page-fishing-games-light-text);
}

.page-fishing-games__strategy-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__strategy-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-fishing-games-light-text);
}

.page-fishing-games__strategy-text {
    font-size: 1em;
    color: var(--page-fishing-games-light-text);
}

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

.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
    margin: 30px auto 40px auto;
    max-width: 700px;
    text-align: left;
}

.page-fishing-games__promo-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--page-fishing-games-dark-text);
}

.page-fishing-games__promo-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__cta-center {
    text-align: center;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
}

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

.page-fishing-games__faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-fishing-games-light-text);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--page-fishing-games-light-text);
    list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    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: 20px 25px;
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--page-fishing-games-light-text);
    background-color: rgba(255, 255, 255, 0.05);
}

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

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

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 40px 15px;
    }
    .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: 10px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-fishing-games__container,
    .page-fishing-games__card,
    .page-fishing-games__step-item,
    .page-fishing-games__strategy-item,
    .page-fishing-games__faq-item {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-fishing-games__promo-list {
        padding: 0 15px;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__paragraph,
    .page-fishing-games__card-text,
    .page-fishing-games__step-description,
    .page-fishing-games__strategy-text,
    .page-fishing-games__promo-item,
    .page-fishing-games__faq-answer {
        font-size: 0.95em;
    }

    /* Fixed top padding for video section */
    .page-fishing-games__hero-section { /* Using hero-section as primary content top */
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }
    .page-fishing-games__section-title {
        font-size: 1.6em;
    }
    .page-fishing-games__grid,
    .page-fishing-games__step-list,
    .page-fishing-games__strategy-grid {
        grid-template-columns: 1fr;
    }
}