/* style/fishing-games.css */

/* Biến màu sắc */
:root {
    --page-fishing-games-primary-color: #26A9E0;
    --page-fishing-games-secondary-color: #FFFFFF;
    --page-fishing-games-dark-text-color: #333333;
    --page-fishing-games-light-text-color: #FFFFFF;
    --page-fishing-games-login-color: #EA7C07;
    --page-fishing-games-background-color: #FFFFFF;
    --page-fishing-games-black-color: #000000;
}

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

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Đảm bảo không bị header che */
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-light-text-color);
    overflow: hidden;
}

.page-fishing-games__hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
}

.page-fishing-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--page-fishing-games-light-text-color);
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.8);
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 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(--page-fishing-games-login-color);
    color: var(--page-fishing-games-light-text-color);
    border: 2px solid var(--page-fishing-games-login-color);
}

.page-fishing-games__btn-primary:hover {
    background-color: #d16e00;
    border-color: #d16e00;
}

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

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

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: var(--page-fishing-games-light-text-color);
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__dark-section {
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-light-text-color);
}

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

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

.page-fishing-games__feature-card,
.page-fishing-games__promo-card,
.page-fishing-games__tip-card {
    background-color: var(--page-fishing-games-secondary-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    color: var(--page-fishing-games-dark-text-color);
}

.page-fishing-games__dark-section .page-fishing-games__feature-card,
.page-fishing-games__dark-section .page-fishing-games__tip-card {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--page-fishing-games-light-text-color);
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__promo-card:hover,
.page-fishing-games__tip-card:hover {
    transform: translateY(-5px);
}

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

.page-fishing-games__feature-title,
.page-fishing-games__promo-title,
.page-fishing-games__tip-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__dark-section .page-fishing-games__feature-title,
.page-fishing-games__dark-section .page-fishing-games__tip-title {
    color: var(--page-fishing-games-light-text-color);
}

.page-fishing-games__feature-description,
.page-fishing-games__promo-description,
.page-fishing-games__tip-description {
    font-size: 1em;
    flex-grow: 1;
}

.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-fishing-games__guide-item {
    background-color: var(--page-fishing-games-secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    color: var(--page-fishing-games-dark-text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__guide-step-title {
    font-size: 1.8em;
    color: var(--page-fishing-games-primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__guide-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__promo-cta {
    text-align: center;
    margin-top: 30px;
}

.page-fishing-games__video-section {
    padding: 60px 20px;
    background-color: var(--page-fishing-games-black-color);
    color: var(--page-fishing-games-light-text-color);
    text-align: center;
}

.page-fishing-games__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.page-fishing-games__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--page-fishing-games-light-text-color);
    font-size: 1.8em;
    font-weight: bold;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-fishing-games__video-wrapper:hover .page-fishing-games__video-overlay-link {
    opacity: 1;
}

.page-fishing-games__video-overlay-text {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
}

.page-fishing-games__security-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.page-fishing-games__security-text {
    flex: 1;
}

.page-fishing-games__security-subtitle {
    font-size: 1.8em;
    color: var(--page-fishing-games-primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-fishing-games__security-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__faq-item {
    background-color: var(--page-fishing-games-secondary-color);
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: var(--page-fishing-games-dark-text-color);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #f0f0f0;
}

.page-fishing-games__faq-title {
    margin: 0;
    color: var(--page-fishing-games-primary-color);
}

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

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Đủ lớn để chứa mọi nội dung */
    padding: 20px;
    padding-top: 0;
}

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

.page-fishing-games__cta-section {
    padding: 80px 20px;
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-light-text-color);
    text-align: center;
}

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

.page-fishing-games__cta-title {
    font-size: 3em;
    margin-bottom: 25px;
    color: var(--page-fishing-games-light-text-color);
}

.page-fishing-games__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-fishing-games__cta-button {
    padding: 18px 40px;
    font-size: 1.3em;
    background-color: var(--page-fishing-games-login-color);
    border-color: var(--page-fishing-games-login-color);
}

.page-fishing-games__cta-button:hover {
    background-color: #d16e00;
    border-color: #d16e00;
}

/* 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__cta-title {
        font-size: 2.5em;
    }

    .page-fishing-games__security-content {
        flex-direction: column;
    }

    .page-fishing-games__security-image {
        max-width: 80%;
    }
}

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

    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Đảm bảo khoảng cách với header trên mobile */
    }

    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }

    .page-fishing-games__hero-description {
        font-size: 1em;
    }

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

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

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

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

    .page-fishing-games__text-block {
        font-size: 1em;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__tip-card,
    .page-fishing-games__guide-item {
        padding: 20px;
    }

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

    .page-fishing-games__feature-title,
    .page-fishing-games__promo-title,
    .page-fishing-games__tip-title,
    .page-fishing-games__guide-step-title {
        font-size: 1.3em;
    }

    .page-fishing-games__security-image {
        max-width: 100%;
    }

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

    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px;
        padding-top: 0;
    }

    .page-fishing-games__cta-section {
        padding: 50px 15px;
    }

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

    .page-fishing-games__cta-description {
        font-size: 1em;
    }

    .page-fishing-games__cta-button {
        font-size: 1.1em;
        padding: 15px 30px;
    }

    /* Mobile image and video responsiveness */
    .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__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .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;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

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

    .page-fishing-games__section-title {
        font-size: 1.5em;
    }

    .page-fishing-games__cta-title {
        font-size: 1.8em;
    }

    .page-fishing-games__faq-question {
        font-size: 1em;
    }
}