/* ============================
   Dragon Money Casino — Style
   Colors: Dark navy + Gold accent
   ============================ */

:root {
    --bg-primary: #0f0f1e;
    --bg-secondary: #1a1a2e;
    --bg-card: #222240;
    --bg-card-hover: #2a2a4a;
    --gold: #FFB800;
    --gold-dark: #E5A600;
    --gold-light: #FFD54F;
    --gold-glow: rgba(255, 184, 0, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a8a8c0;
    --text-muted: #6b6b8a;
    --border: #2d2d4a;
    --success: #4caf50;
    --danger: #f44336;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-gold: 0 4px 24px rgba(255,184,0,0.2);
    --transition: 0.3s ease;
    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --container: 1200px;
}

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

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

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-light);
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0f0f1e;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 32px rgba(255,184,0,0.35);
    color: #0f0f1e;
}

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

.btn-outline:hover {
    background: var(--gold);
    color: #0f0f1e;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(255,184,0,0.3); }
    to { box-shadow: 0 0 25px rgba(255,184,0,0.5); }
}

/* ---- HEADER ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15,15,30,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    max-width: calc(100% - 440px);
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-link {
    padding: 6px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--gold);
    background: rgba(255,184,0,0.1);
}

.header-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.header-actions .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(255,184,0,0.06) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(255,184,0,0.04) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-2%, -1%); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,184,0,0.1);
    border: 1px solid rgba(255,184,0,0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 56px;
    flex-wrap: wrap;
}

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

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---- SECTIONS ---- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- CARDS ---- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}

.card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,184,0,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---- GRIDS ---- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ---- GAME CARDS ---- */
.game-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(255,184,0,0.3);
}

.game-card-img {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--bg-card-hover) 0%, var(--bg-card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.game-card-body {
    padding: 16px;
}

.game-card-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.game-card-body p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.game-card .play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,15,30,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.game-card:hover .play-overlay {
    opacity: 1;
}

/* ---- BONUS TABLE ---- */
.bonus-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.bonus-table th, .bonus-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.bonus-table th {
    background: var(--bg-card);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-table tr:hover td {
    background: rgba(255,184,0,0.03);
}

/* ---- FAQ ACCORDION ---- */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card);
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: var(--transition);
}

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

.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--gold);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question::after {
    content: '−';
}

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

.faq-answer-inner {
    padding: 0 24px 18px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---- REVIEW CARDS ---- */
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0f0f1e;
    font-size: 1rem;
}

.review-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-stars {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---- STEPS ---- */
.steps {
    display: flex;
    gap: 24px;
    counter-reset: step;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    counter-increment: step;
}

.step::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: #0f0f1e;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ---- PROMO CODE ---- */
.promo-card {
    background: linear-gradient(135deg, rgba(255,184,0,0.08), rgba(255,184,0,0.02));
    border: 1px solid rgba(255,184,0,0.2);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.promo-code {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--bg-primary);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--gold);
    color: var(--gold);
    letter-spacing: 2px;
}

/* ---- CTA SECTION ---- */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,184,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

/* ---- SEO TEXT ---- */
.seo-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.seo-text h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.seo-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 24px 0 12px;
    color: var(--gold);
}

.seo-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.seo-text ul, .seo-text ol {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
    padding-left: 24px;
}

.seo-text li {
    margin-bottom: 6px;
}

/* ---- BREADCRUMBS ---- */
.breadcrumbs {
    padding: 100px 0 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.breadcrumbs a:hover {
    color: var(--gold);
}

.breadcrumbs span {
    margin: 0 8px;
}

/* ---- FOOTER ---- */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 0;
}

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

.footer-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 16px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--gold);
}

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

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

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-badges {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255,184,0,0.1);
    border: 1px solid rgba(255,184,0,0.2);
    border-radius: 50px;
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-disclaimer {
    margin-top: 8px;
    font-size: 0.75rem !important;
    opacity: 0.6;
}

/* ---- STICKY CTA ---- */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    pointer-events: none;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* ---- PAGE HERO (subpages) ---- */
.page-hero {
    padding: 130px 0 60px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255,184,0,0.05) 0%, transparent 60%);
}

.page-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- INFO BLOCKS ---- */
.info-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
}

.info-block h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gold);
}

.info-block p, .info-block li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.info-block ul {
    list-style: none;
    padding: 0;
}

.info-block li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.info-block li:last-child {
    border-bottom: none;
}

.info-block li::before {
    content: '▸ ';
    color: var(--gold);
    font-weight: 700;
}

/* ---- HIGHLIGHT BOX ---- */
.highlight-box {
    background: linear-gradient(135deg, rgba(255,184,0,0.1), rgba(255,184,0,0.03));
    border: 1px solid rgba(255,184,0,0.2);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin: 24px 0;
}

.highlight-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}

.highlight-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        gap: 4px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

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

    .header-actions .btn-outline {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 120px 0 60px;
    }

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

    .hero-stats {
        gap: 24px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bonus-table {
        font-size: 0.8rem;
    }

    .bonus-table th, .bonus-table td {
        padding: 10px 12px;
    }

    .steps {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

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

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .header-actions .btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}
