/* style/fishing-games.css */

/* Custom Colors */
:root {
    --page-bg-color: #08160F;
    --card-bg-color: #11271B;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

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

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

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

.page-fishing-games__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 900px;
}

.page-fishing-games p {
    margin-bottom: 1em;
    color: var(--text-main-color);
}

.page-fishing-games a {
    color: var(--glow-color);
    text-decoration: none;
}

.page-fishing-games a:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    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 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
    border-radius: 10px;
}

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

.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 {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--page-bg-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-fishing-games__intro-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__strategies-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.page-fishing-games__light-bg {
    background-color: #f8f8f8;
    color: #333333;
}

.page-fishing-games__content-image {
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

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

.page-fishing-games__feature-item {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

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

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

.page-fishing-games__game-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    text-align: center;
    padding-bottom: 20px;
}

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

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

.page-fishing-games__card-title a {
    color: var(--gold-color);
    text-decoration: none;
}

.page-fishing-games__card-title a:hover {
    text-decoration: underline;
}

.page-fishing-games__card-description {
    color: var(--text-secondary-color);
    font-size: 0.95em;
    padding: 0 15px;
    margin-bottom: 20px;
    min-height: 70px; /* Ensure consistent card height */
}

.page-fishing-games__btn-small {
    background: var(--button-gradient);
    color: var(--text-main-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.page-fishing-games__btn-small:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

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

.page-fishing-games__text-secondary {
    color: var(--text-secondary-color);
    margin-top: 30px;
}

/* How to Play Section */
.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    background-color: var(--card-bg-color);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--gold-color);
}

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

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

.page-fishing-games__strategy-item {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

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

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

.page-fishing-games__promo-item {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

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

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--border-color);
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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;
    font-size: 1em;
    color: var(--text-secondary-color);
}

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

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    text-align: center;
    background-color: var(--deep-green-color);
    padding-bottom: 100px;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
    color: var(--gold-color);
}

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

.page-fishing-games__cta-buttons--center {
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-fishing-games__feature-list,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__strategy-list,
    .page-fishing-games__promo-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-fishing-games__hero-content {
        padding: 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-fishing-games__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__intro-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__strategies-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section {
        padding: 40px 0;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__game-card,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__game-card .page-fishing-games__card-description {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-fishing-games__feature-item,
    .page-fishing-games__strategy-item,
    .page-fishing-games__promo-item {
        padding: 20px;
    }
    .page-fishing-games__faq-question {
        padding: 15px;
        font-size: 1em;
    }
    .page-fishing-games__faq-answer {
        padding: 15px;
    }
}