/* style/fishing-games.css */

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

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

/* General Container Styling */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section Titles */
.page-fishing-games__section-title {
    font-size: 2.5rem;
    color: var(--page-fishing-games-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(--page-fishing-games-glow-color);
    border-radius: 2px;
}

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

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-btn-gradient);
    color: var(--page-fishing-games-text-main); /* White-like text for primary */
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    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-color);
    border: 2px solid var(--page-fishing-games-glow-color);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-fishing-games-glow-color);
    color: var(--page-fishing-games-bg-color); /* Dark text on hover */
    transform: translateY(-2px);
}

.page-fishing-games__small-btn {
    padding: 10px 20px;
    font-size: 1rem;
    margin-top: 15px;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    margin-bottom: 60px;
    overflow: hidden; /* Ensure image does not overflow */
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 40px 20px;
    margin-top: -150px; /* Overlap with image slightly for visual flow */
    background: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem); /* Responsive H1 font size */
    color: var(--page-fishing-games-gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

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

/* Introduction Section */
.page-fishing-games__introduction-section {
    padding: 80px 0;
    text-align: center;
}

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

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 80px 0;
}

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

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

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

.page-fishing-games__feature-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

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

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

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding: 80px 0;
}

.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__list-item {
    background-color: var(--page-fishing-games-card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--page-fishing-games-glow-color);
    transition: background-color 0.3s ease;
}

.page-fishing-games__list-item:hover {
    background-color: rgba(17, 39, 27, 0.8);
}

.page-fishing-games__list-title {
    font-size: 1.6rem;
    color: var(--page-fishing-games-gold-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.page-fishing-games__list-title::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background: var(--page-fishing-games-glow-color);
    color: var(--page-fishing-games-bg-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-fishing-games__list-description {
    font-size: 1rem;
    color: var(--page-fishing-games-text-secondary);
    line-height: 1.7;
    padding-left: 50px; /* Align with title text */
}

.page-fishing-games__step-list {
    counter-reset: step-counter;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-fishing-games__promo-card {
    background-color: var(--page-fishing-games-card-bg);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-fishing-games-border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__promo-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

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

.page-fishing-games__promo-description {
    font-size: 0.95rem;
    color: var(--page-fishing-games-text-secondary);
    line-height: 1.6;
    flex-grow: 1; /* Allow description to take available space */
    margin-bottom: 20px;
}

.page-fishing-games__promo-card .page-fishing-games__btn-secondary {
    margin-top: auto; /* Push button to bottom */
}

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

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

.page-fishing-games__faq-list {
    margin-top: 40px;
}

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

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

.page-fishing-games__faq-question:hover {
    background-color: rgba(17, 39, 27, 0.8);
}

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

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

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

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

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

/* Call to Action Section */
.page-fishing-games__call-to-action-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--page-fishing-games-deep-green);
    margin-top: 60px;
}

.page-fishing-games__call-to-action-section .page-fishing-games__section-title {
    color: var(--page-fishing-games-gold-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -100px;
        padding: 30px;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
    }
    .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__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section Mobile */
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        margin-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: 25px 15px;
        border-radius: 10px;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-fishing-games__hero-cta-buttons,
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .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;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General Section Mobile */
    .page-fishing-games__introduction-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__call-to-action-section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-fishing-games__section-title::after {
        width: 60px;
    }
    .page-fishing-games__text-block {
        font-size: 1rem;
    }

    /* Feature Cards Mobile */
    .page-fishing-games__features-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__promo-card {
        padding: 20px;
    }
    .page-fishing-games__feature-image,
    .page-fishing-games__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__promo-title {
        font-size: 1.3rem;
    }

    /* How to Play Mobile */
    .page-fishing-games__list-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    .page-fishing-games__list-title {
        font-size: 1.4rem;
    }
    .page-fishing-games__list-title::before {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        margin-right: 10px;
    }
    .page-fishing-games__list-description {
        font-size: 0.95rem;
        padding-left: 40px;
    }

    /* FAQ Mobile */
    .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 {
        font-size: 0.95rem;
        padding: 0 20px 15px 20px;
    }
}