/* style/fishing-games.css */

/* Biến CSS */
:root {
    --primary-color: #0A1931;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0A1931;
    --border-color: #e0e0e0;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--bg-light);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    background-size: cover;
    background-position: center;
}

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

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

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

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* General Section Styling */
.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

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

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
}

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

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

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

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

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

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__paragraph {
    color: var(--text-light);
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__paragraph {
    color: var(--text-dark);
}

/* Introduction Section */
.page-fishing-games__introduction-section .page-fishing-games__section-title {
    color: var(--primary-color);
}

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

.page-fishing-games__feature-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-dark);
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-10px);
}

.page-fishing-games__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

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

.page-fishing-games__feature-description {
    font-size: 1em;
    color: #555555;
}

/* Game Showcase Section */
.page-fishing-games__game-showcase-section .page-fishing-games__section-title {
    color: var(--secondary-color);
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__game-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-fishing-games__game-title {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-fishing-games__game-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__game-link:hover {
    color: #e6c200;
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: #cccccc;
    margin-bottom: 20px;
}

/* Guide Section */
.page-fishing-games__guide-section .page-fishing-games__section-title {
    color: var(--primary-color);
}

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

.page-fishing-games__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    color: var(--text-dark);
}

.page-fishing-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-fishing-games__step-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__step-description {
    font-size: 1em;
    color: #555555;
}

.page-fishing-games__subsection-title {
    font-size: 2em;
    color: var(--primary-color);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
}

.page-fishing-games__tip-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-fishing-games__tip-item {
    background-color: #ffffff;
    padding: 15px 25px;
    margin-bottom: 15px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: var(--text-dark);
}

/* Strategy Section */
.page-fishing-games__strategy-section .page-fishing-games__section-title {
    color: var(--secondary-color);
}

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

.page-fishing-games__strategy-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-fishing-games__strategy-description {
    font-size: 1em;
    color: #cccccc;
}

/* Promotions Section */
.page-fishing-games__promotions-section .page-fishing-games__section-title {
    color: var(--primary-color);
}

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

.page-fishing-games__promo-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-dark);
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-10px);
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-fishing-games__promo-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-fishing-games__promo-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-fishing-games__promo-description {
    font-size: 1em;
    color: #555555;
}

/* Security Section */
.page-fishing-games__security-section .page-fishing-games__section-title {
    color: var(--secondary-color);
}

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

.page-fishing-games__security-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--secondary-color);
    color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__security-item-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-fishing-games__security-item-description {
    font-size: 1em;
    color: #cccccc;
}

.page-fishing-games__text-link {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-fishing-games__text-link:hover {
    color: #e6c200;
}

/* FAQ Section */
.page-fishing-games__faq-section .page-fishing-games__section-title {
    color: var(--primary-color);
}

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

.page-fishing-games__faq-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

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

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

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    font-size: 1.05em;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

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

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    padding: 80px 20px;
    text-align: center;
}

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

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
    color: var(--secondary-color);
}

.page-fishing-games__cta-final-section .page-fishing-games__paragraph {
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 60px 15px 30px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__paragraph {
        font-size: 1em;
    }
    .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;
    }
    .page-fishing-games__container {
        padding: 30px 15px;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__strategy-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__security-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-fishing-games__feature-image,
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        height: 180px;
    }
    .page-fishing-games__subsection-title {
        font-size: 1.5em;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .page-fishing-games__tip-item {
        font-size: 1em;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 10px 20px;
    }
    /* Mobile image, video, and container adaptations */
    .page-fishing-games img,
    .page-fishing-games video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__section,
    .page-fishing-games__container,
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__step-item,
    .page-fishing-games__strategy-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__security-item,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }
    .page-fishing-games__hero-image-wrapper {
        position: relative;
        height: 250px;
        margin-bottom: 30px;
    }
    .page-fishing-games__hero-content {
        padding: 0 15px;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__strategy-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__security-list,
    .page-fishing-games__faq-list {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__cta-final-section {
        padding: 60px 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-title {
        font-size: 1.6em;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 0.9em;
        padding: 10px 15px;
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__game-title,
    .page-fishing-games__step-title,
    .page-fishing-games__strategy-title,
    .page-fishing-games__promo-title,
    .page-fishing-games__security-item-title {
        font-size: 1.3em;
    }
    .page-fishing-games__faq-question {
        font-size: 1em;
    }
}