/* style/fishing-games.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #f0f0f0;
    --bg-dark: #0a0a0a;
    --btn-login: #EA7C07;
}

.page-fishing-games {
    color: var(--text-light); /* Body background is dark, so text is light */
    background-color: var(--bg-dark); /* Ensure main content background matches body */
}

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
    text-align: center;
}

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

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-top: 40px;
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    max-width: 100%; /* Ensure H1 doesn't overflow */
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-fishing-games__hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 30px;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
}

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

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

.page-fishing-games__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

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

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

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

.page-fishing-games__intro-section,
.page-fishing-games__game-types-section,
.page-fishing-games__promotions-section,
.page-fishing-games__conclusion-section {
    padding: 80px 0;
}

.page-fishing-games__highlights-section,
.page-fishing-games__tips-section {
    padding: 80px 0;
    background-color: rgba(38, 169, 224, 0.1);
}

.page-fishing-games__how-to-play-section,
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.05);
}

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

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

.page-fishing-games__highlight-card,
.page-fishing-games__step-card,
.page-fishing-games__tip-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

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

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

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

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

.page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.page-fishing-games__list-item strong {
    color: var(--primary-color);
}

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

.page-fishing-games__btn-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-link:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.page-fishing-games__promotion-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promotion-content {
    padding: 30px;
    text-align: center;
}

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

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    color: var(--text-light);
    overflow: hidden;
}

.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.2rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

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

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

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

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

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

.page-fishing-games__light-bg {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

/* Responsive styles */
@media (min-width: 769px) {
    .page-fishing-games__promotion-card {
        flex-direction: row;
        text-align: left;
    }
    .page-fishing-games__promotion-card .page-fishing-games__card-image {
        width: 50%;
        height: auto;
        border-radius: 12px 0 0 12px;
    }
    .page-fishing-games__promotion-content {
        width: 50%;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-fishing-games__main-title {
        font-size: 2.2rem;
    }
    .page-fishing-games__hero-description {
        font-size: 1rem;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 1rem;
    }
    .page-fishing-games__highlights-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__highlight-card,
    .page-fishing-games__step-card,
    .page-fishing-games__tip-card {
        padding: 25px;
    }
    .page-fishing-games__card-image {
        height: 180px;
    }
    .page-fishing-games__card-title {
        font-size: 1.3rem;
    }
    .page-fishing-games__list-item {
        font-size: 1rem;
    }
    .page-fishing-games__promotion-card {
        flex-direction: column;
    }
    .page-fishing-games__promotion-card .page-fishing-games__card-image {
        width: 100%;
        height: auto;
        border-radius: 12px 12px 0 0;
    }
    .page-fishing-games__promotion-content {
        width: 100%;
        padding: 25px;
    }
    .page-fishing-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }

    /* Image specific mobile styles */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__highlight-card,
    .page-fishing-games__step-card,
    .page-fishing-games__tip-card,
    .page-fishing-games__promotion-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Video specific mobile styles - No video on this page, but keeping for completeness */
    .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;
    }
}