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

.page-fishing-games {
    font-family: Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--page-bg);
    line-height: 1.6;
}

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

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 60px; /* Space for content below image */
    padding-top: 10px; /* Small top padding */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    height: 675px; /* Fixed height for 16:9 aspect ratio at 1200px width */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
    margin-top: 20px; /* Ensure content is below the image */
}

.page-fishing-games__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

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

.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 {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
    max-width: 100%;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
}

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

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

.page-fishing-games__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main);
}

.page-fishing-games__section-title {
    font-size: 2.2em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: 700;
}

.page-fishing-games__intro-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__tips-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__cta-final-section {
    padding: 60px 0;
    background-color: var(--deep-green);
    margin-top: 20px;
    border-radius: 10px;
}

.page-fishing-games__features-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: var(--page-bg);
    margin-top: 20px;
    border-radius: 10px;
}

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

.page-fishing-games__text-link {
    color: var(--gold-color);
    text-decoration: underline;
}

.page-fishing-games__text-link:hover {
    color: var(--primary-color);
}

.page-fishing-games__feature-grid,
.page-fishing-games__promotions-grid,
.page-fishing-games__why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.page-fishing-games__feature-image,
.page-fishing-games__promo-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__feature-card-title,
.page-fishing-games__promo-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__feature-card-description,
.page-fishing-games__promo-description {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: justify;
}

.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
}

.page-fishing-games__step-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.page-fishing-games__step-number {
    counter-increment: step-counter;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--button-gradient);
    color: var(--text-main);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    font-weight: bold;
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.page-fishing-games__step-title {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__step-description {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: justify;
}

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

.page-fishing-games__video-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--page-bg);
    margin-top: 20px;
    border-radius: 10px;
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 0 auto 30px;
    max-width: 1000px; /* Max width for video */
    width: 100%;
    box-sizing: border-box;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__video-description {
    font-size: 1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__tips-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.page-fishing-games__tips-title,
.page-fishing-games__why-choose-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__tips-description,
.page-fishing-games__why-choose-description {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: justify;
}

.page-fishing-games__why-choose-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.page-fishing-games__faq-section {
    padding: 60px 0;
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-fishing-games__faq-item summary {
    list-style: none;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--gold-color);
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

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

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

.page-fishing-games__cta-final-section {
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__cta-final-content {
    max-width: 800px;
}

/* General image styling for content areas */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

    .page-fishing-games__container {
        padding: 0 15px;
    }

    .page-fishing-games__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important;
    }

    .page-fishing-games__hero-image-wrapper {
        height: 300px; /* Adjust height for mobile */
    }

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

    .page-fishing-games__main-title {
        font-size: 2em;
    }

    .page-fishing-games__description {
        font-size: 0.95em;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-fishing-games__intro-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__video-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section {
        padding: 40px 0;
        margin-top: 15px;
    }

    .page-fishing-games__feature-grid,
    .page-fishing-games__promotions-grid,
    .page-fishing-games__why-choose-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__tips-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card,
    .page-fishing-games__step-item,
    .page-fishing-games__tips-item,
    .page-fishing-games__why-choose-item {
        padding: 20px;
    }

    .page-fishing-games__feature-card-title,
    .page-fishing-games__promo-title,
    .page-fishing-games__step-title,
    .page-fishing-games__tips-title,
    .page-fishing-games__why-choose-title {
        font-size: 1.2em;
    }

    .page-fishing-games__feature-image,
    .page-fishing-games__promo-image {
        min-width: 200px;
        min-height: 150px;
    }

    .page-fishing-games__video-wrapper {
        padding-bottom: 75%; /* More square for mobile vertical */
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__video {
        min-width: 200px;
        min-height: 150px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fishing-games__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

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

    /* Ensure all images inside content areas are responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure all content containers are responsive */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__intro-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__video-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section,
    .page-fishing-games__video-wrapper,
    .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;
        overflow: hidden !important;
    }
    .page-fishing-games__video-section {
        padding-top: 10px !important;
    }
}