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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    padding-bottom: 50px;
    background-color: var(--df99-background);
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px;
    object-fit: cover;
    display: block;
    margin-bottom: 30px;
}

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

.page-fishing-games__hero-title {
    font-size: 3.2em;
    font-weight: 700;
    color: var(--df99-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    color: var(--df99-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* General Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: var(--df99-button-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

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

.page-fishing-games__btn-secondary {
    background: #ffffff;
    color: var(--df99-primary);
    border: 2px solid var(--df99-primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

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

.page-fishing-games__btn-large {
    min-width: 220px;
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-fishing-games__btn-small {
    min-width: 120px;
    padding: 10px 20px;
    font-size: 0.95em;
}

/* Section Titles and Text */
.page-fishing-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--df99-text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--df99-primary);
    border-radius: 2px;
}

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

/* Dark Section */
.page-fishing-games__dark-section {
    background-color: var(--df99-background);
    color: var(--df99-text-main);
    padding: 60px 0;
}

/* Light Section (for cards on default background) */
.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Overview Section */
.page-fishing-games__overview-section {
    padding: 60px 0;
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 60px 0;
    background-color: var(--df99-background);
}

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

.page-fishing-games__feature-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--df99-card-bg);
    color: var(--df99-text-main);
    padding: 25px;
    text-align: center;
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--df99-primary);
    margin-bottom: 15px;
}

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

/* Game List Section */
.page-fishing-games__game-list-section {
    padding: 60px 0;
}

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

.page-fishing-games__game-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--df99-card-bg);
    color: var(--df99-text-main);
    padding: 20px;
    text-align: center;
}

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

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

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

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

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

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 60px 0;
    background-color: var(--df99-background);
}

.page-fishing-games__guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__guide-step {
    background-color: var(--df99-card-bg);
    border: 1px solid var(--df99-border);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__guide-step-title {
    font-size: 1.6em;
    font-weight: 600;
    color: var(--df99-gold);
    margin-bottom: 15px;
}

.page-fishing-games__guide-step p {
    font-size: 1em;
    color: var(--df99-text-secondary);
}

.page-fishing-games__guide-step a {
    color: var(--df99-primary);
    text-decoration: none;
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
}

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

.page-fishing-games__promotion-item {
    background-color: var(--df99-card-bg);
    border: 1px solid var(--df99-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

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

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

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 60px 0;
    background-color: var(--df99-background);
}

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

.page-fishing-games__reason-card {
    background-color: var(--df99-card-bg);
    border: 1px solid var(--df99-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__reason-title {
    font-size: 1.6em;
    font-weight: 600;
    color: var(--df99-primary);
    margin-bottom: 15px;
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
}

.page-fishing-games__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--df99-text-main);
}

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(--df99-primary-rgb), 0.1);
}

.page-fishing-games__faq-qtext {
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--df99-text-main);
}

.page-fishing-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--df99-primary);
    flex-shrink: 0;
    margin-left: 15px;
    width: 32px;
    text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 25px 25px;
    background: var(--df99-background);
    border-radius: 0 0 12px 12px;
    color: var(--df99-text-secondary);
}

.page-fishing-games__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.7;
}

.page-fishing-games__faq-answer a {
    color: var(--df99-primary);
    text-decoration: none;
}

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

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    padding: 60px 0 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.2em;
    }
    .page-fishing-games__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games__feature-image, .page-fishing-games__game-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 10px;
        padding-bottom: 30px;
    }
    .page-fishing-games__hero-image {
        max-height: 400px;
        object-fit: contain !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-fishing-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-large,
    .page-fishing-games__btn-small {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__section-text {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__guide-content,
    .page-fishing-games__promotion-list,
    .page-fishing-games__why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__guide-step,
    .page-fishing-games__promotion-item,
    .page-fishing-games__reason-card {
        padding: 20px;
    }
    .page-fishing-games__feature-image,
    .page-fishing-games__game-image {
        height: 180px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__game-title,
    .page-fishing-games__guide-step-title,
    .page-fishing-games__promotion-title,
    .page-fishing-games__reason-title {
        font-size: 1.3em;
    }
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 15px 20px;
    }
    .page-fishing-games__faq-qtext {
        font-size: 1em;
    }
    .page-fishing-games__faq-toggle {
        font-size: 24px;
        width: 28px;
    }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 20px 20px;
    }
    .page-fishing-games__cta-final-section .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-fishing-games__container,
    .page-fishing-games__hero-content {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}