/* style/fishing-games.css */

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

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

.page-fishing-games__light-bg {
    background-color: #ffffff; /* Explicitly white for light sections */
    color: #333333; /* Dark text for light background */
}

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

.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;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
    border-radius: 10px;
    margin-top: 60px; /* Space from top */
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

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

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

/* Section Titles */
.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-gold);
    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-color: var(--color-primary);
    border-radius: 2px;
}

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

.page-fishing-games__light-bg .page-fishing-games__text-block {
    color: #333333;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--color-text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 10px var(--color-glow);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--color-glow);
    filter: brightness(1.1);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-main);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 1rem;
}

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

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

.page-fishing-games__light-bg .page-fishing-games__card {
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-fishing-games__card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.page-fishing-games__light-bg .page-fishing-games__card-title {
    color: var(--color-deep-green);
}

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

.page-fishing-games__light-bg .page-fishing-games__card-description {
    color: #555555;
}

/* Introduction Section */
.page-fishing-games__introduction-section,
.page-fishing-games__game-types-section,
.page-fishing-games__guide-section,
.page-fishing-games__strategy-section,
.page-fishing-games__fiv88-advantage-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
    padding: 60px 0;
}

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

.page-fishing-games__feature-card {
    text-align: center;
}

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

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

.page-fishing-games__game-item {
    text-align: center;
}

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

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

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

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

.page-fishing-games__guide-step-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.page-fishing-games__guide-item p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

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

.page-fishing-games__strategy-card {
    text-align: center;
}

.page-fishing-games__strategy-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

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

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

.page-fishing-games__advantage-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.page-fishing-games__advantage-item p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

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

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

.page-fishing-games__light-bg .page-fishing-games__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--color-primary);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-question:hover {
    background-color: rgba(var(--color-primary-rgb, 17, 168, 78), 0.1);
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-gold);
}

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

.page-fishing-games__light-bg .page-fishing-games__faq-answer {
    color: #555555;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

.page-fishing-games__conclusion-section .page-fishing-games__text-block {
    margin-bottom: 40px;
}

/* Keyword highlighting */
.page-fishing-games__keyword {
    color: var(--color-gold);
    font-weight: bold;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        padding: 30px 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-fishing-games__hero-description {
        font-size: 1.05rem;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    /* Image responsiveness */
    .page-fishing-games img {
        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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video responsiveness (if any) */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .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; /* Small top padding for video section */
    }

    /* Button responsiveness */
    .page-fishing-games__cta-button,
    .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-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
    }

    .page-fishing-games__hero-section {
        padding-top: 10px;
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-content {
        margin-top: 30px;
        padding: 20px 15px;
    }
    .page-fishing-games__main-title {
        font-size: 2rem;
    }
    .page-fishing-games__hero-description {
        font-size: 1rem;
    }
    .page-fishing-games__section-title {
        font-size: 1.8rem;
    }
    .page-fishing-games__introduction-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__fiv88-advantage-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 40px 0;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-list,
    .page-fishing-games__strategy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__card-title {
        font-size: 1.3rem;
    }
    .page-fishing-games__text-block,
    .page-fishing-games__card-description,
    .page-fishing-games__guide-item p,
    .page-fishing-games__advantage-item p,
    .page-fishing-games__faq-answer {
        font-size: 0.95rem;
    }
    .page-fishing-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
}