/* style/fishing-games.css */

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

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

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

/* 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, body handles --header-offset */
    background-color: var(--bg-dark-color);
    color: var(--text-main-color);
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 10px;
}

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

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

.page-fishing-games__main-title {
    font-weight: bold;
    color: var(--text-main-color);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

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

.page-fishing-games__highlight {
    color: var(--glow-color);
    font-weight: bold;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
}

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

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

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

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

/* General Sections */
.page-fishing-games__introduction-section,
.page-fishing-games__games-showcase,
.page-fishing-games__guide-section,
.page-fishing-games__strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__features-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
    padding: 80px 0;
}

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

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

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__card-title,
.page-fishing-games__light-bg .page-fishing-games__step-title,
.page-fishing-games__light-bg .page-fishing-games__strategy-heading,
.page-fishing-games__light-bg .page-fishing-games__promotion-card .page-fishing-games__card-title,
.page-fishing-games__light-bg .page-fishing-games__feature-title,
.page-fishing-games__light-bg .page-fishing-games__faq-question .page-fishing-games__faq-qtext {
    color: #000000;
}

.page-fishing-games__light-bg .page-fishing-games__section-description,
.page-fishing-games__light-bg .page-fishing-games__text-block,
.page-fishing-games__light-bg .page-fishing-games__card-text,
.page-fishing-games__light-bg .page-fishing-games__step-text,
.page-fishing-games__light-bg .page-fishing-games__strategy-text,
.page-fishing-games__light-bg .page-fishing-games__promotion-card .page-fishing-games__card-text,
.page-fishing-games__light-bg .page-fishing-games__feature-text,
.page-fishing-games__light-bg .page-fishing-games__faq-answer p {
    color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__highlight {
    color: var(--primary-color);
}

.page-fishing-games__light-bg .page-fishing-games__btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-fishing-games__light-bg .page-fishing-games__btn-secondary:hover {
    background-color: rgba(var(--primary-color), 0.1);
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

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

.page-fishing-games__text-block {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-fishing-games__text-link {
    color: var(--glow-color);
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__text-link:hover {
    text-decoration: underline;
}

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

.page-fishing-games__card {
    background-color: var(--card-bg-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin: 20px 20px 10px 20px;
    color: var(--glow-color);
}

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

.page-fishing-games__card-button {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
    padding: 12px 0;
    background: var(--button-gradient);
    color: #ffffff;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.page-fishing-games__card-button:hover {
    opacity: 0.9;
}

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

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

.page-fishing-games__guide-step {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-fishing-games__guide-step .page-fishing-games__text-link {
    color: var(--primary-color);
}

.page-fishing-games__step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

.page-fishing-games__step-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000000;
}

.page-fishing-games__step-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #333333;
}

.page-fishing-games__guide-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 60px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Strategy Section */
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

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

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

.page-fishing-games__strategy-text {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

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

.page-fishing-games__promotion-card {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
}

.page-fishing-games__promotion-card .page-fishing-games__card-image {
    height: 200px;
}

.page-fishing-games__promotion-card .page-fishing-games__card-title {
    color: var(--primary-color);
}

.page-fishing-games__promotion-card .page-fishing-games__card-text {
    color: #333333;
}

.page-fishing-games__promotion-card .page-fishing-games__card-button {
    background: var(--button-gradient);
    color: #ffffff;
}

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

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

.page-fishing-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__feature-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--glow-color);
}

.page-fishing-games__feature-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

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

.page-fishing-games__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.page-fishing-games__faq-item summary {
    list-style: none;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    color: #000000;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #f0f0f0;
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    background-color: #e0e0e0;
    border-bottom: none;
}

.page-fishing-games__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: #333333;
    background-color: #ffffff;
}

.page-fishing-games__faq-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 60px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Floating Buttons */
.page-fishing-games__floating-btn {
    position: fixed;
    right: 20px;
    width: 120px;
    padding: 12px 0;
    text-align: center;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.page-fishing-games__floating-btn--register {
    top: 50%;
    transform: translateY(-50%);
    background: var(--button-gradient);
    color: #ffffff;
}

.page-fishing-games__floating-btn--login {
    top: calc(50% + 70px);
    transform: translateY(-50%);
    background-color: var(--gold-color);
    color: #000000;
}

.page-fishing-games__floating-btn:hover {
    transform: translateY(-50%) scale(1.05);
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 450px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }
    .page-fishing-games__hero-content {
        margin-top: 0;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-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__introduction-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__guide-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__features-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 50px 0;
    }
    .page-fishing-games__container {
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* Images responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__game-card,
    .page-fishing-games__promotion-card,
    .page-fishing-games__guide-image,
    .page-fishing-games__faq-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-fishing-games__card-image {
        height: 180px;
    }

    .page-fishing-games__floating-btn {
        width: 100px;
        padding: 10px 0;
        font-size: 1em;
        right: 10px;
    }
    .page-fishing-games__floating-btn--register {
        top: 45%;
    }
    .page-fishing-games__floating-btn--login {
        top: calc(45% + 60px);
    }

    /* Ensure content area images are not too small */
    .page-fishing-games__feature-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-section {
        padding: 30px 10px;
        padding-top: 10px !important;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__floating-btn {
        width: 90px;
        font-size: 0.9em;
        right: 5px;
    }
    .page-fishing-games__floating-btn--register {
        top: 40%;
    }
    .page-fishing-games__floating-btn--login {
        top: calc(40% + 55px);
    }
}

/* Ensure content area images meet min size requirement */
.page-fishing-games__feature-icon {
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    width: 200px; /* Default for desktop */
    height: 200px; /* Default for desktop */
}

@media (max-width: 768px) {
    .page-fishing-games__feature-icon {
        width: 100px !important; /* Allow smaller display on mobile but still larger than 200px */
        height: 100px !important;
        min-width: 200px !important; /* Still apply minimum size */
        min-height: 200px !important;
    }
}