/* style/fishing-games.css */

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

.page-fishing-games {
    font-family: 'Arial', sans-serif; /* Example font */
    background-color: var(--color-background); /* For main sections. Body background is handled by shared.css var(--bg-color) */
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Typography */
.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 */
    font-weight: bold;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem); /* Responsive H2 */
    font-weight: bold;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
    position: relative;
}

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

.page-fishing-games__card-title,
.page-fishing-games__list-item-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem); /* Responsive H3 */
    font-weight: bold;
    color: var(--color-text-main);
    margin-bottom: 15px;
}

.page-fishing-games__text-block,
.page-fishing-games__hero-description,
.page-fishing-games__video-caption,
.page-fishing-games__image-caption,
.page-fishing-games p,
.page-fishing-games li {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--color-text-main);
    margin-bottom: 15px;
}

.page-fishing-games a {
    color: var(--color-gold);
    text-decoration: none;
}

.page-fishing-games a:hover {
    text-decoration: underline;
    color: var(--color-glow);
}

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

.page-fishing-games__section {
    padding: 60px 0;
    margin-bottom: 0; /* Remove default margin */
}

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensure hero section has a minimum height */
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    background: rgba(8, 22, 15, 0.7); /* Semi-transparent background for text readability */
    border-radius: 10px;
    margin-top: 100px; /* Push content down from top */
}

.page-fishing-games__hero-description {
    color: var(--color-text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-fishing-games__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--color-glow);
    transform: translateY(-2px);
}

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

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

/* Image & Video Specifics */
.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 30px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__image-content-block {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__image-caption {
    font-style: italic;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-top: 10px;
}

.page-fishing-games__video-section {
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    background-color: var(--color-background);
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    width: 100%; /* desktop width */
    background: var(--color-card-bg);
    border-radius: 8px;
    margin: 30px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.page-fishing-games__btn-video-cta {
    margin-top: 30px;
}

/* Cards */
.page-fishing-games__card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 10px var(--color-glow);
}

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

/* Lists */
.page-fishing-games__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-fishing-games__list-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__list-item:last-child {
    margin-bottom: 0;
}

.page-fishing-games__ordered-list {
    list-style: decimal;
    padding-left: 25px;
    margin: 0;
}

.page-fishing-games__ordered-list .page-fishing-games__list-item {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 20px 10px;
    margin-left: 10px;
}

.page-fishing-games__ordered-list .page-fishing-games__list-item:last-child {
    padding-bottom: 0;
}

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

.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: var(--color-gold);
}

.page-fishing-games__dark-section .page-fishing-games__text-block,
.page-fishing-games__dark-section p,
.page-fishing-games__dark-section li {
    color: var(--color-text-main);
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.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;
}

.page-fishing-games__faq-item[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-card-bg);
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for summary */
}

.page-fishing-games__faq-question:hover {
    background-color: #1a332a; /* Slightly lighter card bg on hover */
}

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
}

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

.page-fishing-games__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--color-text-secondary);
    font-size: 1rem;
    border-top: 1px solid var(--color-divider);
}

.page-fishing-games__faq-answer p {
    margin-bottom: 0;
    padding-top: 15px;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    background-color: var(--color-background);
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        padding: 15px;
        margin-top: 80px;
    }

    .page-fishing-games__section {
        padding: 40px 0;
    }

    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    .page-fishing-games__card-title,
    .page-fishing-games__list-item-title {
        font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    }

    .page-fishing-games__text-block,
    .page-fishing-games__hero-description,
    .page-fishing-games p,
    .page-fishing-games li {
        font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        min-height: 400px;
        padding-bottom: 40px;
    }

    .page-fishing-games__hero-content {
        margin-top: 60px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-bottom: 25px;
    }

    .page-fishing-games__card-title,
    .page-fishing-games__list-item-title {
        font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    }

    .page-fishing-games__text-block,
    .page-fishing-games__hero-description,
    .page-fishing-games p,
    .page-fishing-games li {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .page-fishing-games__container,
    .page-fishing-games__section,
    .page-fishing-games__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-x: hidden !important; /* Ensure no horizontal scroll */
    }

    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-fishing-games__video-section {
        padding-top: 10px !important;
    }

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

    .page-fishing-games video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__advantage-grid,
    .page-fishing-games__promotion-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

@media (max-width: 480px) {
    .page-fishing-games__hero-content {
        margin-top: 40px;
    }

    .page-fishing-games__hero-section {
        min-height: 350px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }

    .page-fishing-games__card-title,
    .page-fishing-games__list-item-title {
        font-size: clamp(1.1rem, 4.5vw, 1.3rem);
    }

    .page-fishing-games__text-block,
    .page-fishing-games__hero-description,
    .page-fishing-games p,
    .page-fishing-games li {
        font-size: clamp(0.85rem, 2.8vw, 0.95rem);
    }
}