/* style/fishing-games.css */

:root {
    /* Custom Colors */
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --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 {
    background-color: var(--color-background); /* Dark background */
    color: var(--color-text-main); /* 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: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding */
    background-color: var(--color-deep-green);
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

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

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1; /* Ensure text is above any potential background layers */
}

.page-fishing-games__hero-title {
    color: var(--color-text-main);
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
    max-width: 100%;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: 2px solid transparent;
}

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

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

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

.page-fishing-games__btn-primary--small,
.page-fishing-games__btn-secondary--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Section Titles and Text */
.page-fishing-games__section-title {
    color: var(--color-text-main);
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

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

.page-fishing-games__text-block {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__text-block--light {
    color: var(--color-text-secondary);
}

/* Light Background Sections */
.page-fishing-games__light-bg {
    background-color: var(--color-background);
    color: var(--color-text-main);
    padding: 60px 0;
}

/* Dark Background Sections */
.page-fishing-games__dark-bg {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
    padding: 60px 0;
}

/* Game Showcase */
.page-fishing-games__games-showcase .page-fishing-games__container {
    text-align: center;
}

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

.page-fishing-games__game-card.page-fishing-games__card {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    color: var(--color-text-main);
}

.page-fishing-games__game-card.page-fishing-games__card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

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

.page-fishing-games__game-description {
    color: var(--color-text-secondary);
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-fishing-games__other-games-cta {
    margin-top: 40px;
}

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

.page-fishing-games__guide-step {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--color-text-main);
}

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

.page-fishing-games__guide-step p {
    color: var(--color-text-secondary);
    margin-bottom: 15px;
    text-align: justify;
}

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

.page-fishing-games__strategy-card.page-fishing-games__card {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    color: var(--color-text-main);
}

.page-fishing-games__strategy-card.page-fishing-games__card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__strategy-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

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

.page-fishing-games__strategy-description {
    color: var(--color-text-secondary);
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-fishing-games__strategy-cta {
    margin-top: 40px;
    text-align: center;
}

/* Promotions Section */
.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

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

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

.page-fishing-games__promo-cta {
    text-align: center;
    margin-top: 30px;
}

/* Benefits Section */
.page-fishing-games__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

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

.page-fishing-games__benefit-highlight {
    color: var(--color-primary);
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 700;
    color: var(--color-gold);
    background-color: var(--color-deep-green);
    list-style: none; /* For details tag */
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details tag */
}

.page-fishing-games__faq-question:hover {
    background-color: var(--color-primary);
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
}

.page-fishing-games__faq-answer {
    padding: 15px 20px;
    color: var(--color-text-secondary);
    background-color: var(--color-card-bg);
    border-top: 1px solid var(--color-divider);
    text-align: justify;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section .page-fishing-games__container {
    text-align: center;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__guide-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__benefits-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section,
    .page-fishing-games__copyright-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

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

    .page-fishing-games__game-image,
    .page-fishing-games__strategy-image {
        height: auto !important; /* Allow height to adjust for mobile */
        max-height: 200px !important;
        object-fit: contain !important;
    }

    /* Buttons */
    .page-fishing-games__cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Sections padding */
    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__guide-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__benefits-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Maintain small top padding for hero */
    }

    .page-fishing-games__hero-title {
        font-size: 2em; /* Adjust font size for mobile */
    }

    .page-fishing-games__hero-description {
        font-size: 1em;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
    }

    .page-fishing-games__text-block {
        font-size: 15px;
    }

    .page-fishing-games__game-list,
    .page-fishing-games__guide-steps,
    .page-fishing-games__strategy-grid {
        grid-template-columns: 1fr;
    }
}

/* Ensure content area images adhere to minimum size */
.page-fishing-games__game-image,
.page-fishing-games__strategy-image {
    min-width: 200px;
    min-height: 200px;
}