/* NH88 Vietnam - Casino Style CSS */
/* Color Palette: Gold, Black, Deep Red */

:root {
    --primary-gold: #FFD700;
    --primary-gold-dark: #DAA520;
    --primary-gold-light: #FFE55C;
    --primary-black: #0A0A0A;
    --secondary-black: #1A1A1A;
    --tertiary-black: #2A2A2A;
    --accent-red: #C41E3A;
    --accent-red-dark: #8B0000;
    --accent-red-light: #DC143C;
    --text-white: #FFFFFF;
    --text-light: #E0E0E0;
    --text-muted: #A0A0A0;
    --success-green: #28A745;
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #DAA520 50%, #B8860B 100%);
    --gradient-dark: linear-gradient(180deg, #1A1A1A 0%, #0A0A0A 100%);
    --gradient-red: linear-gradient(135deg, #C41E3A 0%, #8B0000 100%);
    --shadow-gold: 0 4px 20px rgba(255, 215, 0, 0.3);
    --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--primary-black);
    color: var(--text-white);
    line-height: 1.7;
    font-size: 16px;
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-gold-light);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header */
.header {
    background: var(--gradient-dark);
    border-bottom: 2px solid var(--primary-gold);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent-red);
    -webkit-text-fill-color: var(--accent-red);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-white);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a:hover {
    color: var(--primary-gold);
    text-decoration: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-black);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
    text-decoration: none;
    color: var(--primary-black);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    text-decoration: none;
}

.btn-red {
    background: var(--gradient-red);
    color: var(--text-white);
}

.btn-red:hover {
    box-shadow: 0 6px 25px rgba(196, 30, 58, 0.4);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--text-white);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-gold);
    font-size: 28px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.9)), url('../images/hero-bg.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 100px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-gold);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-bonus {
    background: var(--gradient-red);
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--secondary-black);
}

.section-gradient {
    background: var(--gradient-dark);
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.section-title .highlight {
    color: var(--primary-gold);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--tertiary-black);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-gold);
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Game Categories */
.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.game-card {
    background: var(--tertiary-black);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
}

.game-card-img {
    width: 100%;
    height: 180px;
    background: var(--secondary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.game-card-content {
    padding: 20px;
}

.game-card h4 {
    color: var(--primary-gold);
    margin-bottom: 10px;
    font-size: 18px;
}

.game-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Promotion Section */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.promo-card {
    background: var(--gradient-dark);
    border-radius: 20px;
    padding: 40px;
    border: 2px solid var(--primary-gold);
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--gradient-gold);
    opacity: 0.1;
    border-radius: 0 0 0 100%;
}

.promo-badge {
    background: var(--accent-red);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.promo-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.promo-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-gold);
    display: block;
    margin: 15px 0;
}

.promo-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-black);
    margin: 0 auto 20px;
}

.step-card h4 {
    color: var(--primary-gold);
    margin-bottom: 10px;
    font-size: 18px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Payment Methods */
.payment-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.payment-item {
    background: var(--tertiary-black);
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    min-width: 120px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.payment-item:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
}

.payment-item img {
    height: 40px;
    margin-bottom: 10px;
}

.payment-item span {
    display: block;
    font-size: 14px;
    color: var(--text-light);
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--secondary-black);
    border-radius: 10px;
    overflow: hidden;
}

.data-table th {
    background: var(--gradient-gold);
    color: var(--primary-black);
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--tertiary-black);
    color: var(--text-light);
}

.data-table tr:hover td {
    background: var(--tertiary-black);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--tertiary-black);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-gold);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary-gold);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--primary-black);
    border-top: 2px solid var(--primary-gold);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--tertiary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
}

.footer-column h4 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    border-top: 1px solid var(--tertiary-black);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-licenses {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-licenses img {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-licenses img:hover {
    opacity: 1;
}

/* Content Styles */
.content-page {
    padding-top: 100px;
}

.page-header {
    background: var(--gradient-dark);
    padding: 60px 0;
    text-align: center;
    border-bottom: 2px solid var(--primary-gold);
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb span {
    color: var(--primary-gold);
}

.content-body {
    padding: 60px 0;
}

.content-body h2 {
    font-size: 30px;
    color: var(--primary-gold);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.content-body h3 {
    font-size: 24px;
    color: var(--text-white);
    margin: 30px 0 15px;
}

.content-body h4 {
    font-size: 20px;
    color: var(--primary-gold-light);
    margin: 25px 0 12px;
}

.content-body p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.content-body ul, .content-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-body li {
    color: var(--text-light);
    margin-bottom: 10px;
}

.content-body strong {
    color: var(--primary-gold);
}

/* Info Box */
.info-box {
    background: var(--tertiary-black);
    border-left: 4px solid var(--primary-gold);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.info-box.warning {
    border-left-color: var(--accent-red);
}

.info-box.success {
    border-left-color: var(--success-green);
}

/* CTA Box */
.cta-box {
    background: var(--gradient-dark);
    border: 2px solid var(--primary-gold);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.cta-box p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-cta a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-red);
    color: var(--text-white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 25px rgba(196, 30, 58, 0.5);
    animation: pulse 2s infinite;
}

.floating-cta a:hover {
    text-decoration: none;
    transform: scale(1.05);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-black);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 2px solid var(--primary-gold);
    }

    .nav.active {
        display: flex;
    }

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

    .header-cta {
        display: none;
    }

    .hero h1 {
        font-size: 32px;
    }

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

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .feature-grid,
    .game-grid,
    .promo-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .content-body h2 {
        font-size: 24px;
    }

    .floating-cta {
        bottom: 20px;
        right: 20px;
    }

    .floating-cta a {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .promo-value {
        font-size: 32px;
    }
}

/* FAQ List - Alternative styling without accordion */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list .faq-item {
    background: var(--tertiary-black);
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-list .faq-item:hover {
    border-color: rgba(255, 215, 0, 0.3);
}

.faq-list .faq-item h3 {
    color: var(--primary-gold);
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-list .faq-item p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Content Block */
.content-block {
    margin-bottom: 48px;
}

.content-block h3 {
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 16px;
    font-weight: 600;
}

.content-block h4 {
    font-size: 18px;
    color: var(--primary-gold-light);
    margin: 24px 0 12px;
    font-weight: 600;
}

.content-block p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.content-block ul,
.content-block ol {
    margin: 16px 0;
    padding-left: 24px;
}

.content-block li {
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Footer Licenses - Support for both span and img */
.footer-licenses span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 13px;
    padding: 6px 12px;
    background: var(--tertiary-black);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer-licenses span:hover {
    color: var(--primary-gold);
    background: var(--secondary-black);
}

/* Spacing Scale (8px base) */
:root {
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 80px;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gold { color: var(--primary-gold); }
.text-red { color: var(--accent-red); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* Additional Spacing Utilities */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.py-16 { padding-top: 16px; padding-bottom: 16px; }
.py-24 { padding-top: 24px; padding-bottom: 24px; }
.py-32 { padding-top: 32px; padding-bottom: 32px; }
.py-48 { padding-top: 48px; padding-bottom: 48px; }
.py-64 { padding-top: 64px; padding-bottom: 64px; }

/* Improve Section Spacing */
.section {
    padding: var(--space-3xl) 0;
}

/* Info Box Improvements */
.info-box h4 {
    color: var(--primary-gold);
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
}

.info-box ul {
    margin: 12px 0;
    padding-left: 20px;
}

.info-box li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.info-box p {
    margin-bottom: 12px;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Image Lazy Loading Placeholder */
img[loading="lazy"] {
    background: var(--tertiary-black);
}

/* Smooth Image Load */
img {
    transition: opacity 0.3s ease;
}

/* Accessibility - Focus States */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-gold);
    color: var(--primary-black);
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}
