/* style/fishing-games.css */

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

/* General Page Styles */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--v9betz-text-main); /* Default text color for the page */
    background-color: var(--v9betz-background); /* Default background for the page, from custom colors */
}

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

.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
}

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

.page-fishing-games__light-bg {
    background-color: #f0f0f0; /* Using a light grey for contrast with dark sections */
    color: #333333; /* Dark text for light background */
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--v9betz-gold); /* Using gold for titles for emphasis */
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
    color: var(--v9betz-text-main);
}

.page-fishing-games__main-title {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: var(--v9betz-gold);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-fishing-games__subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--v9betz-text-secondary);
}

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

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

.page-fishing-games__btn-primary {
    background: var(--v9betz-button-gradient);
    color: #ffffff; /* White text for primary button */
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--v9betz-gold); /* Gold text for secondary button */
    border: 2px solid var(--v9betz-gold);
}

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(242, 193, 78, 0.1);
    transform: translateY(-2px);
}

/* Image Content */
.page-fishing-games__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

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

.page-fishing-games__card {
    background-color: var(--v9betz-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--v9betz-border);
    color: var(--v9betz-text-main); /* Ensure text is visible on card background */
    display: flex;
    flex-direction: column;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--v9betz-gold);
}

.page-fishing-games__card-text {
    font-size: 1em;
    line-height: 1.7;
    color: var(--v9betz-text-secondary);
    flex-grow: 1;
}

.page-fishing-games__promo-card .page-fishing-games__btn-secondary {
    margin-top: 20px;
    align-self: flex-start;
}

/* Lists */
.page-fishing-games__game-list,
.page-fishing-games__step-list,
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__list-item {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: inherit;
}

.page-fishing-games__list-item::before {
    content: '•';
    color: var(--v9betz-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
}

.page-fishing-games__step-list .page-fishing-games__list-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    color: var(--v9betz-gold);
    font-weight: bold;
    font-size: 1.2em;
    left: 0;
    top: 0;
    width: 20px;
    text-align: center;
}

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

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--v9betz-gold);
    user-select: none;
    list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-fishing-games__hero-content {
        padding: 0 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-fishing-games__subtitle {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-fishing-games__feature-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .page-fishing-games__card {
        padding: 20px;
    }
    .page-fishing-games__card-title {
        font-size: 1.3em;
    }
    .page-fishing-games__game-list,
    .page-fishing-games__step-list,
    .page-fishing-games__strategy-list,
    .page-fishing-games__faq-list {
        padding: 0 15px;
    }
    .page-fishing-games__list-item {
        font-size: 1em;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__hero-content,
    .page-fishing-games__feature-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__game-list,
    .page-fishing-games__step-list,
    .page-fishing-games__strategy-list,
    .page-fishing-games__faq-list,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure no overflow */
    }
    .page-fishing-games__hero-image {
        max-height: 400px;
    }
}