/* style/fishing-games.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color-page: #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); /* Default text color for the page content */
    background-color: var(--background-color-page);
}

.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;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    background-color: var(--deep-green);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    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: 10;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: 20px; /* Space between image and text */
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

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

.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-fishing-games__section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

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

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

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid var(--glow-color);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 25px rgba(87, 227, 141, 0.8);
    transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--glow-color);
    color: var(--background-color-page);
    transform: translateY(-2px);
}

.page-fishing-games__video-section {
    background-color: var(--background-color-page);
    padding: 60px 0;
    text-align: center;
    padding-top: 10px; /* Small top padding */
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    width: 100%; /* Ensure desktop width: 100% */
    box-sizing: border-box;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
    min-width: 200px;
    min-height: 200px;
    display: block;
}

.page-fishing-games__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.page-fishing-games__about-section,
.page-fishing-games__guide-section,
.page-fishing-games__faq-section {
    background-color: var(--deep-green);
    padding: 80px 0;
}

.page-fishing-games__benefits-section,
.page-fishing-games__promotions-section,
.page-fishing-games__cta-section {
    background-color: var(--background-color-page);
    padding: 80px 0;
}

.page-fishing-games__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.page-fishing-games__image-block {
    text-align: center;
}

.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
    display: block;
}

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

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

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

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

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

.page-fishing-games__guide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 50px;
}

.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-fishing-games__step-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
    text-align: left;
}

.page-fishing-games__step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--button-gradient);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

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

.page-fishing-games__btn-primary--guide {
    margin-top: 20px;
}

.page-fishing-games__image-block--guide {
    order: 2;
}

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

.page-fishing-games__promotion-card {
    padding: 20px;
    text-align: left;
}

.page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
    display: block;
}

.page-fishing-games__promotion-card .page-fishing-games__card-title {
    font-size: 1.3rem;
}

.page-fishing-games__promotion-card .page-fishing-games__btn-secondary {
    margin-top: 20px;
    width: auto;
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 50px auto 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-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
}

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

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

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

.page-fishing-games__faq-answer p {
    margin-bottom: 10px;
}

.page-fishing-games__faq-answer a {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid transparent;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        padding: 30px 20px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-fishing-games__description {
        font-size: 1.1rem;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-fishing-games__content-grid,
    .page-fishing-games__guide-content {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__image-block--guide {
        order: -1; /* Image above text for guide on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 40px 0;
    }
    .page-fishing-games__hero-content {
        padding: 20px 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-fishing-games__description {
        font-size: 1rem;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
    .page-fishing-games__section-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__video-wrapper,
    .page-fishing-games__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 0 !important; /* Video wrapper itself should not have horizontal padding */
        overflow: hidden !important;
    }
    .page-fishing-games__video-section {
        padding-top: 10px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-fishing-games__video-section .page-fishing-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-fishing-games__benefits-grid,
    .page-fishing-games__promotion-cards {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__card {
        padding: 25px;
    }
    .page-fishing-games__card-title {
        font-size: 1.3rem;
    }
    .page-fishing-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        font-size: 0.95rem;
        padding: 15px 20px;
    }
    .page-fishing-games__step-item {
        padding-left: 50px;
    }
    .page-fishing-games__step-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    .page-fishing-games__step-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-content {
        padding: 15px 10px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }
    .page-fishing-games__description {
        font-size: 0.9rem;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        min-width: unset;
    }
}