/* style/fishing-games.css */
:root {
    --primary-color: #C61F1F;
    --secondary-color: #E53030;
    --card-bg: #2A1212;
    --main-bg-dark: #140C0C; /* Explicitly use for body/main sections */
    --text-main: #FFF1E8;
    --border-color: #6A1E1E;
    --gold-color: #F3C54D;
    --deep-red-color: #7E0D0D;
    --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--main-bg-dark); /* Ensure dark background */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding for visual appeal, body handles header offset */
    background-color: var(--main-bg-dark);
}

.page-fishing-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure full width on desktop */
}

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

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--gold-color);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-fishing-games__main-title {
    font-size: clamp(2em, 5vw, 3.2em); /* Use clamp for responsive H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold-color);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
    font-size: 1.1em;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-button--secondary {
    background: var(--deep-red-color);
    border: 2px solid var(--gold-color);
}

.page-fishing-games__cta-button--secondary:hover {
    background: var(--primary-color);
    border-color: var(--text-main);
}

/* General Section Styling */
.page-fishing-games__section {
    padding: 60px 0;
    background-color: var(--main-bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__section:last-of-type {
    border-bottom: none;
}

.page-fishing-games__section-title {
    font-size: 2.2em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    color: var(--text-main);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-fishing-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.page-fishing-games__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-fishing-games__text-block {
    flex: 1;
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-fishing-games__text-block strong {
    color: var(--gold-color);
}

.page-fishing-games__image-block {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.page-fishing-games__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary--large {
    padding: 18px 50px;
    font-size: 1.2em;
}

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

.page-fishing-games__feature-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-fishing-games__feature-card img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    border: 2px solid var(--gold-color);
}

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

.page-fishing-games__feature-card p {
    color: var(--text-main);
}

/* How to Play List */
.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
}

.page-fishing-games__step-list li {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--gold-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.page-fishing-games__step-list li strong {
    display: block;
    font-size: 1.2em;
    color: var(--gold-color);
    margin-bottom: 5px;
}

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

.page-fishing-games__game-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-fishing-games__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for game cards */
    object-fit: cover;
    display: block;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
    padding: 15px 20px 0;
    font-size: 1.3em;
    color: var(--gold-color);
}

.page-fishing-games__game-card p {
    padding: 0 20px 20px;
    color: var(--text-main);
}

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

/* Promotions List */
.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
}

.page-fishing-games__promo-list li {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--deep-red-color);
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promo-list li strong {
    color: var(--gold-color);
}

/* Strategy List */
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
}

.page-fishing-games__strategy-list li {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--gold-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.page-fishing-games__strategy-list li strong {
    display: block;
    font-size: 1.2em;
    color: var(--gold-color);
    margin-bottom: 5px;
}

/* FAQ Section */
details.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
    background: rgba(var(--primary-color), 0.1);
}
.page-fishing-games__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--gold-color);
}
.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-main);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    background: rgba(var(--card-bg), 0.8);
    border-radius: 0 0 5px 5px;
    color: var(--text-main);
}

.page-fishing-games__faq-answer p {
    margin: 0;
    color: var(--text-main);
}

/* Final CTA Section */
.page-fishing-games__section--cta-final {
    text-align: center;
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-fishing-games__content-wrapper {
        flex-direction: column;
    }
    .page-fishing-games__content-wrapper--reverse {
        flex-direction: column;
    }
    .page-fishing-games__image-block {
        order: -1; /* Image appears above text on mobile for reverse layout */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-image img {
        border-radius: 4px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__feature-card img {
        max-width: 200px;
    }
    .page-fishing-games__text-block {
        padding: 0;
    }
    .page-fishing-games__image-block img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__step-list li,
    .page-fishing-games__promo-list li,
    .page-fishing-games__strategy-list li {
        padding: 15px;
        font-size: 0.95em;
    }

    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
    .page-fishing-games__faq-qtext { font-size: 15px; }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer { padding: 0 15px 15px; }

    /* Ensure all images are responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .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;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 2em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__cta-button {
        font-size: 15px;
        padding: 10px 25px;
    }
    .page-fishing-games__btn-primary--large {
        font-size: 1em;
        padding: 15px 30px;
    }
}