/* ==========================================================================
   Mobile-First App UI Design System (Centered Mobile Layout Everywhere)
   Luxury Casino Gold & Dark Obsidian Palette
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Colors - Luxury Casino Gold & Amber */
    --primary: #f59e0b;
    --primary-light: #fbbf24;
    --primary-dark: #b45309;
    --primary-gold: #ffd700;
    --primary-gradient: linear-gradient(135deg, #ffe066 0%, #f59e0b 50%, #d97706 100%);
    --gold-glow: 0 0 20px rgba(245, 158, 11, 0.4);
    
    /* Casino Accent Colors */
    --accent: #ffb700;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-gradient: linear-gradient(135deg, #ffd700 0%, #ff9100 100%);
    
    /* Deep Obsidian & Midnight Surfaces */
    --bg-body: #0a0d14;
    --bg-surface: #0f131f;
    --bg-card: #151a28;
    --bg-card-hover: #1c2235;
    --bg-alt: #111624;
    
    /* Text Colors */
    --text-heading: #ffffff;
    --text-body: #cbd5e1;
    --text-muted: #8896ab;
    --text-light: #64748b;
    --text-gold: #fbbf24;
    --text-white: #ffffff;
    
    /* Borders & Accents */
    --border-gold: rgba(245, 158, 11, 0.28);
    --border-gold-hover: rgba(245, 158, 11, 0.6);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.04);
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.7);
    --shadow-gold: 0 4px 18px rgba(245, 158, 11, 0.35);
    
    /* Layout & Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-full: 9999px;
    --app-width: 480px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base Rules & Mobile App Canvas Constraint
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
    background: #040508;
    min-height: 100%;
    display: flex;
    justify-content: center;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: var(--app-width);
    min-height: 100vh;
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-body);
    background-color: var(--bg-body);
    overflow-x: hidden;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.9), 0 0 25px rgba(245, 158, 11, 0.12);
    border-left: 1px solid rgba(245, 158, 11, 0.15);
    border-right: 1px solid rgba(245, 158, 11, 0.15);
    -webkit-font-smoothing: antialiased;
}

main {
    padding-top: 0;
    padding-bottom: 20px;
    width: 100%;
    overflow-x: hidden;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.25;
}

/* Containers */
.container {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.section-badge.light {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--primary-light);
}

.section-header {
    margin-bottom: 28px;
    text-align: center;
}

.section-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.section-title.text-white {
    color: #ffffff;
}

.section-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Buttons (Mobile Touch-Optimized)
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: var(--primary-gradient);
    color: #0a0803 !important;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: var(--transition);
}

.btn-primary:active, .btn-primary:hover {
    transform: scale(0.98);
    box-shadow: 0 6px 22px rgba(245, 158, 11, 0.6);
}

.btn-royal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 20px;
    background: linear-gradient(135deg, #1a2030 0%, #121724 100%);
    color: var(--primary-light) !important;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: 1px solid rgba(245, 158, 11, 0.35);
    cursor: pointer;
    transition: var(--transition);
}

.btn-royal:active, .btn-royal:hover {
    background: var(--primary-gradient);
    color: #0a0803 !important;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 20px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-white:active, .btn-outline-white:hover {
    border-color: var(--primary);
    color: var(--primary-light) !important;
    background: rgba(245, 158, 11, 0.12);
}

.btn-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: var(--primary-gradient);
    color: #0a0803 !important;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
    transition: var(--transition);
}

/* ==========================================================================
   Mobile Header & Top Navigation
   ========================================================================== */
.mobile-top-banner {
    background: linear-gradient(90deg, #09331f 0%, #0d4a2d 100%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.4);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.8rem;
    color: #ffffff;
}

.mobile-top-banner .banner-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-top-banner .banner-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
}

.mobile-top-banner .banner-text {
    font-weight: 700;
    font-size: 0.78rem;
    line-height: 1.2;
}

.mobile-top-banner .banner-text span {
    color: #fbbf24;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.3);
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: 4px;
}

.mobile-top-banner .btn-banner-download {
    background: #10b981;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 13, 20, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2.2px;
    background: var(--primary-light);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.logo img {
    height: 34px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.3));
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-auth .btn-header-login {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Slide-out Navigation Drawer */
.nav-list {
    position: fixed;
    top: 0;
    left: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: #0e121d;
    border-right: 1px solid rgba(245, 158, 11, 0.3);
    padding: 75px 20px 40px;
    z-index: 1001;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
}

.nav-list.active {
    left: 0;
}

.nav-list ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.nav-list .nav-link {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    display: block;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
}

.nav-list .nav-link:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(245, 158, 11, 0.1);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Mobile Footer Component
   ========================================================================== */
.main-footer {
    background: #07090e;
    color: #ffffff;
    border-top: 1px solid rgba(245, 158, 11, 0.2);
    padding: 40px 0 calc(85px + env(safe-area-inset-bottom, 0px));
}

.footer-brand {
    text-align: center;
    margin-bottom: 28px;
}

.footer-brand .footer-logo img {
    height: 38px;
    margin: 0 auto 14px;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.3));
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-social .social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.9rem;
}

.footer-section-block {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-section-block h4 {
    font-size: 0.95rem;
    color: var(--primary-light);
    margin-bottom: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
}

.footer-menu a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-menu a:hover {
    color: var(--primary-light);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-certifications {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.cert-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 8px 4px;
    text-align: center;
}

.cert-badge i {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 4px;
    display: block;
}

.cert-badge .cert-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 18px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.responsible-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.responsible-tag .tag-18 {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
}

/* ==========================================================================
   Mobile Fixed Bottom CTA Bar (Always Visible)
   ========================================================================== */
.mobile-bottom-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--app-width);
    z-index: 9998;
    background: rgba(10, 13, 20, 0.98);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(245, 158, 11, 0.35);
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.8);
}

.mobile-bottom-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mobile-bottom-bar .btn-mobile-login {
    background: #151a28;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-bottom-bar .btn-mobile-register {
    background: var(--primary-gradient);
    color: #0a0803;
    border: none;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}