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

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

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

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

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

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

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 800px;
}

.page-fishing-games__main-title {
    font-size: clamp(2em, 3.5vw, 3em); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%; /* Ensure container takes full width */
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

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

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-fishing-games__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--background-color-page);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__btn-large {
    min-width: 200px;
    padding: 15px 40px;
    font-size: 1.2em;
}

.page-fishing-games__btn-small {
    padding: 8px 20px;
    font-size: 0.95em;
}

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

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

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

/* Featured Games Section */
.page-fishing-games__featured-games .page-fishing-games__text-block {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__game-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-fishing-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--deep-green-color);
}

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

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

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

/* Advantages Section */
.page-fishing-games__advantage-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__advantage-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.page-fishing-games__advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__advantage-title {
    font-size: 1.8em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__advantage-description {
    font-size: 1em;
    color: var(--text-secondary-color);
}

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

.page-fishing-games__step-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    counter-increment: step-counter;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__step-item::before {
    content: "Bước " counter(step-counter);
    font-size: 1.2em;
    font-weight: 700;
    color: var(--glow-color);
    background-color: var(--deep-green-color);
    padding: 8px 15px;
    border-radius: 6px;
    position: absolute;
    top: -15px;
    left: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-fishing-games__step-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

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

/* Pro Tips Section */
.page-fishing-games__tip-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__tip-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.page-fishing-games__tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__tip-title {
    font-size: 1.8em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__tip-description {
    font-size: 1em;
    color: var(--text-secondary-color);
}

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

.page-fishing-games__promotion-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-fishing-games__promotion-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--deep-green-color);
}

.page-fishing-games__promotion-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

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

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-main-color);
    transition: background-color 0.3s ease;
    list-style: none;
}

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

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
    background-color: var(--deep-green-color);
    color: var(--gold-color);
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: '−';
    color: var(--gold-color);
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--text-secondary-color);
    line-height: 1.7;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 10px;
}

/* Conclusion Section */
.page-fishing-games__conclusion .page-fishing-games__text-block {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

/* Responsive Design */
/* Mobile specific styles */
@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* HERO 主图区域 */
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }

    .page-fishing-games__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }

    .page-fishing-games__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-fishing-games__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* 按钮与按钮容器 */
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-fishing-games__btn-large {
        min-width: unset;
        padding: 15px 30px;
        font-size: 1.1em;
    }

    /* 其他内容模块 */
    .page-fishing-games__section {
        padding: 40px 0;
    }

    .page-fishing-games__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-fishing-games__text-block {
        font-size: 1em;
    }

    /* 产品展示图区域 */
    .page-fishing-games__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .page-fishing-games__game-image {
        height: 180px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fishing-games__advantage-list,
    .page-fishing-games__step-list,
    .page-fishing-games__tip-list,
    .page-fishing-games__promotion-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__advantage-item,
    .page-fishing-games__step-item,
    .page-fishing-games__tip-item,
    .page-fishing-games__promotion-card {
        padding: 20px;
    }

    .page-fishing-games__advantage-title,
    .page-fishing-games__step-title,
    .page-fishing-games__tip-title,
    .page-fishing-games__promotion-title {
        font-size: 1.5em;
    }

    .page-fishing-games__promotion-image {
        height: 150px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-fishing-games__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

/* Tablet specific styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .page-fishing-games__container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .page-fishing-games__hero-image-wrapper {
        max-height: 450px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(2.5em, 4.5vw, 3.5em);
    }

    .page-fishing-games__game-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-fishing-games__advantage-list,
    .page-fishing-games__step-list,
    .page-fishing-games__tip-list,
    .page-fishing-games__promotion-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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