/* style/fishing-games.css */

:root {
    --page-fishing-games-primary-color: #017439;
    --page-fishing-games-secondary-color: #FFFFFF;
    --page-fishing-games-register-button-bg: #C30808;
    --page-fishing-games-register-button-text: #FFFF00;
    --page-fishing-games-dark-text: #333333;
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-fishing-games-secondary-color); /* Default text color for dark body background */
    background-color: #000000; /* Inherited from body, but good to specify context */
}

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
    box-sizing: border-box;
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-fishing-games-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--page-fishing-games-secondary-color);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary,
.page-fishing-games__btn-small,
.page-fishing-games a[class*="button"],
.page-fishing-games a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: darken(var(--page-fishing-games-primary-color), 10%);
    transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-fishing-games__btn-tertiary {
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-secondary-color);
    border: 1px solid var(--page-fishing-games-primary-color);
    padding: 10px 20px;
    border-radius: 5px;
}

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

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-fishing-games__btn-register {
    background-color: var(--page-fishing-games-register-button-bg);
    color: var(--page-fishing-games-register-button-text);
    border: 2px solid var(--page-fishing-games-register-button-bg);
}

.page-fishing-games__btn-register:hover {
    background-color: darken(var(--page-fishing-games-register-button-bg), 10%);
}

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

.page-fishing-games__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Background color handling based on body background (#000000 dark) */
.page-fishing-games__dark-bg {
    background-color: #017439; /* Using brand primary color as dark background */
    color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__light-bg {
    background-color: var(--page-fishing-games-secondary-color);
    color: var(--page-fishing-games-dark-text);
}

.page-fishing-games__intro-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__nổ-hũ-connection-section,
.page-fishing-games__advantages-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__download-cta-section {
    padding: 80px 0;
}

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

.page-fishing-games__intro-item,
.page-fishing-games__step-card,
.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark bg */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__light-bg .page-fishing-games__intro-item,
.page-fishing-games__light-bg .page-fishing-games__step-card,
.page-fishing-games__light-bg .page-fishing-games__promo-card {
    background-color: var(--page-fishing-games-secondary-color);
    color: var(--page-fishing-games-dark-text);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__intro-item img,
.page-fishing-games__promo-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__item-title,
.page-fishing-games__step-title,
.page-fishing-games__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: bold;
    color: inherit;
}

.page-fishing-games__item-text,
.page-fishing-games__step-text,
.page-fishing-games__card-text {
    font-size: 1em;
    line-height: 1.7;
    color: inherit;
}

.page-fishing-games__nổ-hũ-connection-section .page-fishing-games__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

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

.page-fishing-games__sub-title {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--page-fishing-games-dark-text);
}

.page-fishing-games__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

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

.page-fishing-games__video-caption {
    text-align: center;
    margin-top: 15px;
    font-style: italic;
    color: var(--page-fishing-games-dark-text);
}

.page-fishing-games__cta-section {
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-secondary-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__cta-title {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--page-fishing-games-secondary-color);
}

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

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

.page-fishing-games__advantage-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: var(--page-fishing-games-secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__advantage-item img {
    
    
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

.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 {
    padding: 20px 25px;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--page-fishing-games-secondary-color);
    transition: background-color 0.3s ease;
}

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

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

.page-fishing-games__faq-answer {
    padding: 15px 25px 20px;
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--page-fishing-games-secondary-color);
    font-size: 1em;
    line-height: 1.7;
}

.page-fishing-games__download-cta-section {
    text-align: center;
}

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

.page-fishing-games__btn-download-ios,
.page-fishing-games__btn-download-android {
    background-color: var(--page-fishing-games-register-button-bg); /* Using custom red for download */
    color: var(--page-fishing-games-register-button-text);
    border: 2px solid var(--page-fishing-games-register-button-bg);
}

.page-fishing-games__btn-download-ios:hover,
.page-fishing-games__btn-download-android:hover {
    background-color: darken(var(--page-fishing-games-register-button-bg), 10%);
}

.page-fishing-games__app-image {
    max-width: 600px;
    height: auto;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }
    .page-fishing-games__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games__content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        height: auto;
        min-height: 70vh;
        padding: 60px 20px; /* Adjust padding for mobile */
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-fishing-games__hero-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__hero-actions {
        flex-direction: column;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-tertiary,
    .page-fishing-games__btn-small,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__download-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__container,
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .page-fishing-games__intro-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__advantage-list,
    .page-fishing-games__faq-list,
    .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;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .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-wrapper {
        padding-bottom: 56.25% !important;
        height: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__item-title,
    .page-fishing-games__step-title,
    .page-fishing-games__card-title {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 1.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
}