/* ========================================
   VN88 Theme Styles
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========================================
   Header & Navigation
   ======================================== */
.site-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.primary-menu {
    display: flex;
    gap: 30px;
}

.primary-menu a {
    color: #fff;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.primary-menu a:hover {
    color: #e94560;
}

.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: width 0.3s;
}

.primary-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid #e94560;
}

.btn-login:hover {
    background: #e94560;
    color: #fff;
}

.btn-register {
    background: #e94560;
    color: #fff;
}

.btn-register:hover {
    background: #c73e54;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s;
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a2e;
    padding: 20px;
}

.nav-mobile.active {
    display: block;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu a {
    color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-desc {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

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

.btn-primary {
    background: #e94560;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: #c73e54;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233,69,96,0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background: #fff;
    color: #764ba2;
}

/* ========================================
   Content Sections
   ======================================== */
.content-section {
    padding: 60px 0;
}

.brand-section {
    background: #fff;
    padding: 80px 0;
}

.brand-section h2,
.games-section h2,
.advantages-section h2,
.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #1a1a2e;
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: -30px auto 50px;
    color: #666;
    font-size: 1.1rem;
}

/* Brand Section Image */
.brand-image {
    margin-bottom: 40px;
    text-align: center;
}

.brand-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Brand Grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.brand-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.brand-item h3 {
    color: #e94560;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.brand-item p {
    color: #555;
    line-height: 1.8;
}

/* Games Section */
.games-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.game-card {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Game Card Image */
.game-image {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-card h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.game-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.btn-game {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 30px;
}

.btn-game:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Advantages Section */
.advantages-section {
    background: #fff;
    padding: 80px 0;
}

.advantages-image {
    margin-bottom: 40px;
    text-align: center;
}

.advantages-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.advantage-item {
    padding: 30px;
    border-left: 4px solid #e94560;
    background: #f8f9fa;
}

.advantage-item h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #555;
    line-height: 1.8;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0;
    color: #fff;
}

.faq-section h2 {
    color: #fff;
}

.faq-section .section-desc {
    color: rgba(255,255,255,0.8);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255,255,255,0.1);
}

.faq-icon {
    font-size: 1.5rem;
    color: #e94560;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #e94560 0%, #c73e54 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.95;
}

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

.btn-cta-primary {
    background: #fff;
    color: #e94560;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-cta-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-cta-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-cta-secondary:hover {
    background: #fff;
    color: #e94560;
}

/* ========================================
   Page Styles
   ======================================== */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.95;
}

.page-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    margin: 60px 0;
}

.page-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.page-cta p {
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Content Grid Styles */
.steps-grid,
.promo-grid,
.requirements-list,
.benefits-grid,
.vip-levels,
.method-list,
.condition-list,
.guide-grid,
.contact-grid,
.support-topics,
.hours-grid,
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-item,
.promo-item,
.requirement-item,
.benefit-item,
.vip-item,
.method-item,
.condition-item,
.guide-item,
.contact-item,
.topic-item,
.hours-item,
.tips-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #e94560;
}

.step-item h3,
.promo-item h3,
.requirement-item h3,
.benefit-item h3,
.vip-item h3,
.method-item h4,
.condition-item h4,
.guide-item h3,
.contact-item h3,
.topic-item h3,
.hours-item h3,
.tips-item h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
}

.step-item p,
.promo-item p,
.requirement-item p,
.benefit-item p,
.vip-item p,
.method-item p,
.condition-item p,
.guide-item p,
.contact-item p,
.topic-item p,
.hours-item p,
.tips-item p {
    color: #555;
    line-height: 1.8;
}

/* Section Image Styles */
.section-image {
    margin-bottom: 30px;
    text-align: center;
}

.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Lists */
.terms-list,
.security-tips,
.notes-list,
.response-list,
.tips-list {
    margin-top: 30px;
    padding-left: 20px;
}

.terms-list li,
.security-tips li,
.notes-list li,
.response-list li,
.tips-list li {
    margin-bottom: 15px;
    padding-left: 15px;
    position: relative;
    color: #555;
    line-height: 1.8;
}

.terms-list li::before,
.security-tips li::before,
.notes-list li::before,
.response-list li::before,
.tips-list li::before {
    content: '•';
    color: #e94560;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* FAQ List Page */
.faq-list-page {
    margin-top: 40px;
}

.faq-item-page {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.faq-item-page h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq-item-page p {
    color: #555;
    line-height: 1.8;
}

/* Promo List */
.promo-list {
    margin-top: 40px;
}

.promo-detail {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.promo-detail h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
}

.promo-detail p {
    color: #555;
    line-height: 1.8;
}

/* Troubleshoot List */
.troubleshoot-list {
    margin-top: 40px;
}

.troubleshoot-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #e94560;
}

.troubleshoot-item h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
}

.troubleshoot-item p {
    color: #555;
    line-height: 1.8;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3,
.footer-nav h4,
.footer-contact h4 {
    color: #e94560;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #e94560;
}

.footer-contact p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

.footer-seo {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.footer-seo p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .brand-section h2,
    .games-section h2,
    .advantages-section h2,
    .faq-section h2 {
        font-size: 1.5rem;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary,
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
    }

    .page-cta {
        padding: 40px 20px;
    }

    .step-item,
    .promo-item,
    .requirement-item,
    .benefit-item,
    .vip-item,
    .method-item,
    .condition-item,
    .guide-item,
    .contact-item,
    .topic-item,
    .hours-item,
    .tips-item {
        padding: 20px;
    }

    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .faq-answer p {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 60px 0;
    }

    .brand-section,
    .games-section,
    .advantages-section,
    .faq-section {
        padding: 50px 0;
    }

    .content-section {
        padding: 40px 0;
    }
}
