/* style/fishing-games.css */

:root {
    --primary-color: #1A2B5B;
    --secondary-color: #FFD700;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --background-dark: #121212;
    --background-light: #f8f9fa;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
    --card-bg-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light); /* Default to light text for dark body background */
    background-color: var(--background-dark);
    padding-top: 100px; /* Adjust for fixed header on desktop */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    overflow: hidden;
    padding-top: 10px; /* Ensure content is not hidden by fixed header */
}

.page-fishing-games__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:hero:tải game iwin iwin68 club,bắn cá,background]') no-repeat center center/cover;
    opacity: 0.3;
    z-index: 0;
}

.page-fishing-games__hero-section .page-fishing-games__container {
    position: relative;
    z-index: 1;
}

.page-fishing-games__main-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__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

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

.page-fishing-games__btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__btn-secondary:hover {
    background: #101d3b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

/* General Section Styling */
.page-fishing-games__dark-section {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 60px 0;
}

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

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

.page-fishing-games__introduction-section .page-fishing-games__description {
    color: var(--text-color-dark);
}

.page-fishing-games__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__text-block {
    flex: 1;
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    color: var(--text-color-dark);
}

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

.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.page-fishing-games__image--centered {
    margin-top: 30px;
}

/* Why Choose Section (Feature Grid) */
.page-fishing-games__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: var(--card-bg-dark);
    color: var(--text-color-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.page-fishing-games__card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Enhance visibility on dark background */
}

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

.page-fishing-games__feature-card p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
}

/* Game Types Section */
.page-fishing-games__game-types-section .page-fishing-games__section-title {
    color: var(--primary-color);
}

.page-fishing-games__game-types-section .page-fishing-games__description {
    color: var(--text-color-dark);
}

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

.page-fishing-games__game-card {
    background-color: var(--card-bg-light);
    color: var(--text-color-dark);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__game-card .page-fishing-games__card-title {
    color: var(--primary-color);
    padding: 20px 20px 0;
    font-size: 1.4em;
}

.page-fishing-games__game-card p {
    padding: 0 20px 20px;
    font-size: 0.95em;
    color: var(--text-color-dark);
}

/* Download Guide Section */
.page-fishing-games__download-guide-section .page-fishing-games__section-title {
    color: var(--secondary-color);
}

.page-fishing-games__download-guide-section .page-fishing-games__description {
    color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__download-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    flex: 1;
    max-width: 450px;
    background-color: var(--card-bg-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: left;
}

.page-fishing-games__step-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.page-fishing-games__step-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-fishing-games__step-item ol {
    list-style-type: decimal;
    padding-left: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__step-item li {
    margin-bottom: 10px;
}

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

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

.page-fishing-games__tips-section .page-fishing-games__description {
    color: var(--text-color-dark);
}

.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-fishing-games__tips-list li {
    background-color: var(--card-bg-light);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: var(--text-color-dark);
    font-size: 1.05em;
}

.page-fishing-games__tips-list li strong {
    color: var(--primary-color);
}

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

.page-fishing-games__promotions-section .page-fishing-games__description {
    color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.page-fishing-games__promo-list li {
    background-color: var(--card-bg-dark);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1em;
    border-left: 4px solid var(--secondary-color);
}

.page-fishing-games__promo-list li strong {
    color: var(--secondary-color);
}

/* 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: 0 auto;
}

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-bg-light);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-color-dark);
}

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

.page-fishing-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

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

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-color-dark);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer p {
    color: var(--text-color-dark);
}

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

.page-fishing-games__conclusion-section .page-fishing-games__description {
    color: rgba(255, 255, 255, 0.8);
}

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

@media (max-width: 768px) {
    .page-fishing-games {
        padding-top: 80px; /* Adjust for fixed header on mobile */
    }
    .page-fishing-games__hero-section {
        padding: 60px 0;
        padding-top: 10px !important;
    }
    .page-fishing-games__main-title {
        font-size: 2.2em;
    }
    .page-fishing-games__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-fishing-games__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__dark-section,
    .page-fishing-games__light-bg {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .page-fishing-games__image-block,
    .page-fishing-games__text-block {
        width: 100%;
    }
    .page-fishing-games__feature-grid,
    .page-fishing-games__game-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card {
        padding: 20px;
    }
    .page-fishing-games__download-steps {
        flex-direction: column;
        gap: 20px;
    }
    .page-fishing-games__step-item {
        max-width: 100%;
    }
    .page-fishing-games__promo-list {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__faq-question {
        padding: 15px;
    }
    .page-fishing-games__faq-question h3 {
        font-size: 1em;
    }
    .page-fishing-games__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px !important;
    }

    /* Ensure all images are responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__container,
    .page-fishing-games__content-wrapper,
    .page-fishing-games__feature-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__download-steps,
    .page-fishing-games__promo-list,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__cta-button {
        font-size: 0.9em !important;
        padding: 10px 15px !important;
    }
    .page-fishing-games__step-title {
        font-size: 1.5em;
    }
    .page-fishing-games__step-item ol {
        padding-left: 20px;
    }
}