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

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

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

.page-fishing-games__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-fishing-games__section--about,
.page-fishing-games__section--guide,
.page-fishing-games__section--promotions,
.page-fishing-games__section--faq {
    background-color: var(--bg-body);
    color: var(--text-main);
}

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

.page-fishing-games__section-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: bold;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

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

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

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

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

.page-fishing-games__text-link {
    color: var(--color-glow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__text-link:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--bg-body);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Max height for desktop hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

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

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.4);
}

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

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

.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;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
}

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

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--color-glow);
    border: 2px solid var(--color-glow);
    box-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--color-glow);
    color: var(--bg-body);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

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

/* Game List Section */
.page-fishing-games__game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

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

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__game-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__game-card-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--color-gold);
    margin: 20px 15px 10px;
}

.page-fishing-games__game-card-description {
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 0 15px;
    line-height: 1.6;
}

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

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

.page-fishing-games__guide-title {
    font-size: 1.8rem;
    color: var(--color-glow);
    margin-bottom: 15px;
}

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

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

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

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

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

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

.page-fishing-games__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__promotion-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__promotion-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-gold);
    margin: 20px 15px 10px;
}

.page-fishing-games__promotion-card-description {
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 0 15px;
    line-height: 1.6;
}

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

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

.page-fishing-games__security-title {
    font-size: 1.8rem;
    color: var(--color-glow);
    margin-bottom: 15px;
}

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

/* CTA Section */
.page-fishing-games__cta-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__cta-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__cta-content {
    max-width: 800px;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--color-gold);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 20px;
    color: var(--color-glow);
}

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

/* Details tag specific styles */
.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question .page-fishing-games__faq-toggle {
    content: '−';
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3.8rem);
    }
    .page-fishing-games__hero-description {
        font-size: 1.1rem;
    }
    .page-fishing-games__guide-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Mobile Hero */
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 30px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 8vw, 3rem) !important; /* Ensure it doesn't get too big */
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box !important;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1rem;
        box-sizing: border-box !important;
    }

    /* General Mobile Image/Video/Container Rules */
    .page-fishing-games img,
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__game-card,
    .page-fishing-games__promotion-card,
    .page-fishing-games__guide-item,
    .page-fishing-games__security-item,
    .page-fishing-games__cta-card,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }

    /* Specific Mobile Adjustments */
    .page-fishing-games__game-list,
    .page-fishing-games__promotion-grid,
    .page-fishing-games__security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__guide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__guide-image,
    .page-fishing-games__security-image,
    .page-fishing-games__cta-image {
        margin-top: 30px;
    }
    .page-fishing-games__cta-card {
        padding: 30px 15px;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 1.5rem;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }
}