/* Reset và 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;
}

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

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

/* Topbar */
.topbar {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    padding: 10px 0;
}

.topbar .container {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.btn-login, .btn-register {
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

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

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

.btn-register {
    background: #f6ad55;
    color: #1a365d;
    border: 1px solid #f6ad55;
}

.btn-register:hover {
    background: #ed8936;
    border-color: #ed8936;
}

/* Navigation */
.main-nav {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1a365d;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    color: #1a365d;
    font-weight: 600;
    font-size: 15px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #f6ad55;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #f6ad55;
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px;
}

.mobile-nav-list li {
    border-bottom: 1px solid #e2e8f0;
}

.mobile-nav-list a {
    display: block;
    padding: 15px 0;
    color: #1a365d;
    font-weight: 600;
}

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

/* Main Content */
.main-content {
    min-height: calc(100vh - 300px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-desc {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

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

.btn-primary, .btn-secondary, .btn-cta {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #f6ad55;
    color: #1a365d;
}

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

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

.btn-secondary:hover {
    background: #fff;
    color: #1a365d;
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 32px;
    color: #1a365d;
    margin-bottom: 30px;
    text-align: center;
}

section h3 {
    font-size: 22px;
    color: #2c5282;
    margin-bottom: 15px;
}

section p {
    margin-bottom: 15px;
    color: #4a5568;
    line-height: 1.8;
}

/* Brand Intro */
.brand-intro {
    background: #fff;
}

.brand-intro .container {
    max-width: 900px;
}

/* Benefits Section */
.benefits-section {
    background: #f7fafc;
}

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

.benefit-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
}

.intro-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 30px;
    display: block;
}

.page-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;
    display: block;
}

.section-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
}

/* Games Section */
.games-section {
    background: #fff;
}

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

.game-card {
    background: #f7fafc;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #f6ad55;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
    color: #fff;
    text-align: center;
}

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

.cta-section p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn-cta {
    background: #f6ad55;
    color: #1a365d;
}

.btn-cta:hover {
    background: #ed8936;
}

/* FAQ Section */
.faq-section {
    background: #f7fafc;
}

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

.faq-item {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-item h3 {
    color: #1a365d;
    margin-bottom: 10px;
}

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

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

.footer-content h3 {
    color: #f6ad55;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-content p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-menu {
    list-style: none;
}

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

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

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

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

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 10px;
}

.seo-text {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-hero p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.login-intro, .register-benefits, .promo-intro, .guide-overview, .contact-intro {
    background: #fff;
}

/* Steps Grid */
.steps-grid, .process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card, .timeline-item {
    background: #f7fafc;
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.step-card h3, .timeline-item h3 {
    color: #1a365d;
    margin-bottom: 15px;
}

/* Promo Cards */
.promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.promo-card {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.promo-card.featured {
    border: 2px solid #f6ad55;
}

.promo-value {
    font-size: 24px;
    color: #f6ad55;
    font-weight: 700;
    margin: 15px 0;
}

/* Promo Grid */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.promo-item {
    background: #f7fafc;
    padding: 25px;
    border-radius: 8px;
}

/* Channels Grid */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.channel-card {
    background: #f7fafc;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.response-time {
    display: inline-block;
    background: #1a365d;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 15px;
}

/* Services List */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* CTA Sections */
.login-cta, .register-cta, .promo-cta, .guide-cta, .contact-cta {
    background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
    color: #fff;
    text-align: center;
}

.login-cta h2, .register-cta h2, .promo-cta h2, .guide-cta h2, .contact-cta h2 {
    color: #fff;
}

.login-cta p, .register-cta p, .promo-cta p, .guide-cta p, .contact-cta p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

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

/* Page FAQ */
.page-faq {
    background: #f7fafc;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    section h2 {
        font-size: 26px;
    }

    .topbar .container {
        justify-content: center;
    }

    .btn-login, .btn-register {
        padding: 6px 15px;
        font-size: 13px;
    }

    .benefits-grid, .games-grid, .promo-cards, .promo-grid, .channels-grid, .services-list {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

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

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

    section {
        padding: 40px 0;
    }

    .benefit-card, .game-card, .promo-card, .step-card {
        padding: 20px;
    }
}
