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

:root {
    /* Brand Theme - Modern Fintech & High-End Casino UI */
    --primary: #c6f634; /* Electric Neon Lime / Chartreuse */
    --primary-hover: #b2e825;
    --primary-glow: rgba(198, 246, 52, 0.35);
    --primary-subtle: rgba(198, 246, 52, 0.12);
    
    /* Dark Palette (Petrol Slate Dark) */
    --dark-bg: #0b1a20;
    --dark-hero: #0e222a;
    --dark-surface: #132b35;
    --dark-surface-hover: #193845;
    --dark-border: rgba(255, 255, 255, 0.12);
    --dark-text-main: #f8fafc;
    --dark-text-muted: #94a3b8;
    
    /* Light Palette (Crisp Modern High-Contrast Sections) */
    --light-bg: #f7f9f7;
    --light-surface: #ffffff;
    --light-border: #e2e8e3;
    --light-text-main: #0c1e26;
    --light-text-muted: #64748b;
    
    /* Mobile App Shell Width */
    --app-max-width: 480px;
    
    /* Radii & Shadows */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    --shadow-soft: 0 8px 24px rgba(11, 26, 32, 0.06);
    --shadow-card: 0 10px 30px rgba(11, 26, 32, 0.08);
    --shadow-glow: 0 0 20px var(--primary-glow);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Outer Window Backdrop (Desktop shows centered mobile app frame) */
html {
    background: #04090c;
    background-image: radial-gradient(circle at 50% 10%, rgba(198, 246, 52, 0.05) 0%, transparent 60%),
                      radial-gradient(circle at 50% 80%, rgba(17, 41, 51, 0.3) 0%, transparent 70%);
    min-height: 100vh;
}

/* Mobile-First Shell on ALL devices including Laptop */
body {
    max-width: var(--app-max-width);
    margin: 0 auto;
    min-height: 100vh;
    background-color: var(--dark-bg);
    color: var(--dark-text-main);
    line-height: 1.5;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
    padding-bottom: 74px; /* Space for sticky bottom navigation */
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

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

/* Mobile Base Container */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Header & Navigation Bar (Always Mobile Style) */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: rgba(11, 26, 32, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: var(--app-max-width);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo-brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, #84cc16 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b1a20;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.nav-brand-text {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-brand-text span {
    color: var(--primary);
}

/* Nav Menu: Always Mobile Drawer dropdown */
.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0b1a20;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    gap: 14px;
    border-bottom: 1px solid var(--dark-border);
    list-style: none;
    margin: 0;
    z-index: 1001;
}

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

.nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 10px;
}

.nav-links li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.nav-links li a {
    font-size: 14px;
    font-weight: 600;
    color: #cbd5e1;
    display: block;
    transition: color 0.2s ease;
}

.nav-links li a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Hamburger Menu (Always visible) */
.hamburger {
    display: flex !important;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--primary);
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* Compact Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 12.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-login {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.btn-register {
    background: var(--primary);
    color: #0b1a20;
    border: 1px solid var(--primary);
    font-weight: 800;
    box-shadow: 0 2px 10px var(--primary-glow);
}

.btn-register:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Circular Play Button */
.btn-play-circle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 4px 8px;
}

.play-icon-bubble {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-play-circle:hover .play-icon-bubble {
    background: var(--primary);
    color: #0b1a20;
}

/* Badges / Pills */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.pill-badge-lime {
    background-color: rgba(198, 246, 52, 0.12);
    color: var(--primary);
    border: 1px solid rgba(198, 246, 52, 0.25);
}

.pill-badge-light {
    background-color: #ebf7d4;
    color: #1a4214;
    border: 1px solid #d4eb9c;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 6px var(--primary);
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Mobile Sticky Bottom Navigation (Always on all devices) */
.mobile-bottom-nav {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--app-max-width);
    background: rgba(11, 26, 32, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 12px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 600;
    padding: 5px 2px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-item span.icon {
    font-size: 18px;
    margin-bottom: 2px;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--primary);
}

.mobile-nav-btn-register {
    background: var(--primary);
    color: #0b1a20 !important;
    font-weight: 800;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 10px var(--primary-glow);
}

/* Mobile Footer */
footer {
    background-color: #071217;
    color: #94a3b8;
    padding: 40px 16px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 13.5px;
    margin-top: 12px;
    line-height: 1.6;
}

.footer-grid h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-grid ul li a {
    color: #94a3b8;
    font-size: 13.5px;
}

.footer-grid ul li a:hover {
    color: var(--primary);
}

.footer-badge-18 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
    font-weight: 700;
    font-size: 12px;
    margin-top: 14px;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12.5px;
    color: #64748b;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.copyright a {
    color: #94a3b8;
}
