/* style/fishing-games.css */

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

.page-fishing-games {
    background-color: var(--page-fishing-games-bg);
    color: var(--page-fishing-games-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.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;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for better text contrast */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    padding: 30px 20px;
    max-width: 900px;
    margin-top: -150px; /* Pull content up over the image slightly for visual flow */
    background-color: rgba(17, 39, 27, 0.8); /* Semi-transparent card background */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    color: var(--page-fishing-games-text-main);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.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;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    text-align: center;
    min-width: 180px; /* Minimum width for buttons */
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-btn-gradient);
    color: #ffffff;
    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-color: transparent;
    color: var(--page-fishing-games-glow);
    border: 2px solid var(--page-fishing-games-glow);
}

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

/* General Section Styles */
.page-fishing-games__section-title {
    font-size: 2.5rem;
    color: var(--page-fishing-games-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    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(--page-fishing-games-glow);
    border-radius: 2px;
}

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

.page-fishing-games__dark-section {
    background-color: var(--page-fishing-games-deep-green); /* Use Deep Green for dark sections */
    padding: 80px 0;
}

.page-fishing-games__introduction-section,
.page-fishing-games__game-types-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
    padding: 80px 0;
}

.page-fishing-games__card {
    background-color: var(--page-fishing-games-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-fishing-games-divider);
    color: var(--page-fishing-games-text-main);
    height: 100%; /* Ensure cards in a grid have equal height */
    box-sizing: border-box;
}

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

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

.page-fishing-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px; /* Add slight border radius for icons too */
}

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

.page-fishing-games__feature-description {
    font-size: 0.95rem;
    color: var(--page-fishing-games-text-secondary);
}

/* Game Grid */
.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 {
    text-align: center;
}

.page-fishing-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card layout */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__game-title {
    font-size: 1.5rem;
    color: var(--page-fishing-games-text-main);
    margin-bottom: 10px;
}

.page-fishing-games__game-description {
    font-size: 0.95rem;
    color: var(--page-fishing-games-text-secondary);
}

/* Steps Grid (Guide Section) */
.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__step-item {
    text-align: center;
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-fishing-games__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--page-fishing-games-glow);
    color: var(--page-fishing-games-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    border: 3px solid var(--page-fishing-games-gold);
    box-shadow: 0 0 15px var(--page-fishing-games-glow);
}

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

.page-fishing-games__step-description {
    font-size: 0.95rem;
    color: var(--page-fishing-games-text-secondary);
    margin-bottom: 20px;
}

.page-fishing-games__btn-link {
    display: inline-block;
    color: var(--page-fishing-games-glow);
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    border: 1px solid var(--page-fishing-games-glow);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-fishing-games__btn-link:hover {
    background-color: var(--page-fishing-games-glow);
    color: var(--page-fishing-games-bg);
}

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

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

.page-fishing-games__promo-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__promo-title {
    font-size: 1.5rem;
    color: var(--page-fishing-games-text-main);
    margin-bottom: 10px;
}

.page-fishing-games__promo-description {
    font-size: 0.95rem;
    color: var(--page-fishing-games-text-secondary);
    margin-bottom: 20px;
}

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

/* Security Section */
.page-fishing-games__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.page-fishing-games__security-item {
    background-color: var(--page-fishing-games-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-fishing-games-divider);
    color: var(--page-fishing-games-text-main);
    height: 100%;
    box-sizing: border-box;
}

.page-fishing-games__security-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px var(--page-fishing-games-glow)); /* Add a glow effect */
}

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

.page-fishing-games__security-description {
    font-size: 0.95rem;
    color: var(--page-fishing-games-text-secondary);
}

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

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-divider);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--page-fishing-games-text-main);
    overflow: hidden; /* For smooth transition on details tag */
}

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

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

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--page-fishing-games-gold);
    margin-left: 15px;
    width: 25px;
    text-align: center;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: '−'; /* Change to minus when open */
}

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

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--page-fishing-games-deep-green);
}

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

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

    .page-fishing-games__section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }

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

    .page-fishing-games__hero-content {
        margin-top: -80px;
        padding: 15px;
    }

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

    .page-fishing-games__hero-description {
        font-size: 1rem;
    }

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

    .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; /* Adjust padding for mobile */
        min-width: unset; /* Remove min-width for full flexibility */
    }

    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container,
    .page-fishing-games__cta-center {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-fishing-games__introduction-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__security-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 40px 0;
    }

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

    .page-fishing-games__text-block {
        font-size: 0.9rem;
    }

    .page-fishing-games__feature-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-fishing-games__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .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__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 already has padding-top */
    }

    .page-fishing-games__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }

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

@media (max-width: 480px) {
    .page-fishing-games__hero-content {
        margin-top: -60px;
    }
    .page-fishing-games__main-title {
        font-size: 1.5rem;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9rem;
    }
    .page-fishing-games__section-title {
        font-size: 1.5rem;
    }
}