/* ==========================================================================
   COMMON.CSS — Mobile-First / Mobile-Only Casino Theme
   Even on Laptop/Desktop, displays as a sleek, centered Mobile Web App (max-width: 480px)
   Fonts: Outfit (Headings) + Plus Jakarta Sans (Body) + Rajdhani (Stats)
   Palette: Cyber Electric Orange (#FF6600), Charcoal Obsidian (#0B0E14), Clean White
   ========================================================================== */

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

:root {
    /* Brand Accent Colors */
    --orange:               #FF6600;
    --orange-hover:         #FF7A1A;
    --orange-glow:          rgba(255, 102, 0, 0.45);
    --orange-subtle:        rgba(255, 102, 0, 0.12);
    --orange-border:        rgba(255, 102, 0, 0.35);
    --gold-accent:          #FFAE00;

    /* Theme Palette */
    --bg-desktop-outer:     #05070B;
    --bg-base:              #0B0E14;
    --bg-surface:           #111622;
    --bg-card:              #161D2B;
    --bg-card-hover:        #1C2537;
    --bg-elevated:          #222D42;

    /* Borders */
    --border-light:         rgba(255, 255, 255, 0.08);
    --border-medium:        rgba(255, 255, 255, 0.15);

    /* Text Colors */
    --text-white:           #FFFFFF;
    --text-primary:         #F1F5F9;
    --text-secondary:       #94A3B8;
    --text-muted:           #64748B;
    --text-dark:            #0F172A;

    /* Status Colors */
    --color-success:        #10B981;
    --color-danger:         #EF4444;

    /* Typography */
    --font-heading:         'Outfit', sans-serif;
    --font-body:            'Plus Jakarta Sans', sans-serif;
    --font-accent:          'Rajdhani', sans-serif;

    /* Transitions & Shadows */
    --transition-fast:      0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm:            0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md:            0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-orange:        0 8px 25px rgba(255, 102, 0, 0.35);

    /* Radii */
    --radius-xs:            6px;
    --radius-sm:            10px;
    --radius-md:            14px;
    --radius-lg:            20px;
    --radius-pill:          9999px;

    /* Mobile Container Width */
    --app-max-width:        480px;
}

/* ── Reset & Baseline ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
    background-color: var(--bg-desktop-outer);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-desktop-outer);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

html.no-scroll, body.no-scroll {
    overflow: hidden;
}

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

ul {
    list-style: none;
}

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

/* ── Ambient Background Lighting on Large Monitors ── */
.ambient-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at 50% 20%, rgba(255, 102, 0, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(255, 102, 0, 0.04) 0%, transparent 50%),
                #05070B;
    overflow: hidden;
    pointer-events: none;
}

/* ── THE MOBILE APP WRAPPER (Centers and forces mobile width even on Laptop/Desktop) ── */
.mobile-app-wrapper {
    width: 100%;
    max-width: var(--app-max-width);
    min-height: 100vh;
    background-color: var(--bg-base);
    position: relative;
    z-index: 1;
    margin: 0 auto;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 102, 0, 0.15);
    border-left: 1px solid rgba(255, 102, 0, 0.25);
    border-right: 1px solid rgba(255, 102, 0, 0.25);
    display: flex;
    flex-direction: column;
    padding-bottom: 75px; /* space for bottom nav bar */
}

/* ── Container inside the mobile app ── */
.container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: var(--radius-pill);
}

/* ==========================================================================
   HEADER SECTION — Mobile App Header (Clean White Bar matching Reference Image)
   ========================================================================== */

.site-header-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #FFFFFF;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.12);
    border-bottom: 2px solid var(--orange);
}

/* 1. Compact Top Announcement Bar (Reference Image Style) */
.mobile-top-announcement {
    background: #0D121B;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #10B981;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pulse-dot-green {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    animation: live-pulse 1.6s infinite;
}

@keyframes live-pulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.top-claim-pill {
    background: var(--orange);
    color: var(--text-white);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* 2. Main Mobile Bar */
.mobile-main-bar {
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
}

.brand-logo a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo img {
    height: 36px;
    width: auto;
}

.brand-text-fallback {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.1;
    text-transform: uppercase;
}

.brand-title .orange-word {
    color: var(--orange);
}

.brand-subtitle {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

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

.btn-header-login {
    background: transparent;
    color: #1E293B;
    border: 1.5px solid #CBD5E1;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.btn-header-register {
    background: linear-gradient(135deg, var(--orange), #FF8533);
    color: var(--text-white) !important;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(255, 102, 0, 0.35);
}

.mobile-toggle-btn {
    background: #F1F5F9;
    border: none;
    border-radius: var(--radius-sm);
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4.5px;
}

.mobile-toggle-btn span {
    display: block;
    width: 18px;
    height: 2.2px;
    background: #0F172A;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-toggle-btn.active span:nth-child(1) {
    transform: translateY(6.7px) rotate(45deg);
    background: var(--orange);
}

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

.mobile-toggle-btn.active span:nth-child(3) {
    transform: translateY(-6.7px) rotate(-45deg);
    background: var(--orange);
}

/* 3. Center Modal Navigation Menu */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.nav-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    width: calc(100% - 32px);
    max-width: 420px;
    max-height: 86vh;
    background: #0B0E14;
    border: 2px solid var(--orange);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    z-index: 1999;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 102, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.nav-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.85rem;
    margin-bottom: 1.15rem;
    border-bottom: 1px solid var(--border-light);
}

.nav-menu-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.nav-menu-close-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #FFFFFF;
}

.nav-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--orange-subtle);
    border-color: var(--orange);
    color: var(--orange);
    transform: translateX(3px);
}

.mobile-drawer-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border-light);
}

.mobile-drawer-auth a {
    width: 100%;
    padding: 12px 0;
    text-align: center;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.88rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ==========================================================================
   BUTTONS & BADGES (Mobile Sized)
   ========================================================================== */

.btn-orange-capsule {
    background: linear-gradient(135deg, var(--orange), #FF8533);
    color: var(--text-white);
    padding: 11px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-orange);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-orange-capsule:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.5);
    color: var(--text-white);
}

.btn-outline-capsule {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    padding: 11px 22px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-outline-capsule:hover {
    background: rgba(255, 102, 0, 0.15);
    border-color: var(--orange);
    color: var(--orange);
}

/* ==========================================================================
   SECTION TITLES & HEADINGS (Mobile-Optimized)
   ========================================================================== */

.section-tag-prefix {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.section-tag-prefix::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2.5px;
    background: var(--orange);
    border-radius: var(--radius-pill);
}

.section-title-bold {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--text-white);
    letter-spacing: -0.3px;
    margin-bottom: 0.5rem;
}

.section-title-bold .text-orange {
    color: var(--orange);
}

.section-desc-lead {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   AD CONTAINER (Mobile Width)
   ========================================================================== */

.ad-wrapper {
    margin: 1.5rem auto;
    padding: 0 1rem;
}

.ad-container {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1.5px solid var(--orange-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    background: #000;
}

/* ==========================================================================
   FOOTER SECTION (Mobile Compact)
   ========================================================================== */

.site-footer {
    background: #090C12;
    border-top: 3px solid var(--orange);
    padding: 2.5rem 1rem 1.5rem;
    margin-top: 3.5rem;
}

.footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-brand .footer-logo-img {
    height: 38px;
    width: auto;
    margin: 0 auto 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

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

.footer-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.footer-accordion-col {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

.footer-accordion-col h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-accordion-col h4 i {
    color: var(--orange);
}

.footer-accordion-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

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

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

.footer-bottom-bar {
    border-top: 1px solid var(--border-light);
    padding-top: 1.25rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-bottom-links a {
    color: var(--text-secondary);
}

/* ==========================================================================
   MOBILE FIXED DOCK & BOTTOM ACTION BAR (Native Mobile App Style)
   Locked to max-width: 480px, centered on desktop
   ========================================================================== */

.mobile-app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--app-max-width);
    background: #0B0E14;
    border-top: 2px solid var(--orange);
    padding: 6px 8px;
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    z-index: 1005;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.8);
}

.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-secondary);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex: 1;
    padding: 4px 0;
    transition: var(--transition-fast);
}

.dock-item i {
    font-size: 1.15rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.dock-item.active,
.dock-item:hover {
    color: var(--orange);
}

.dock-item.active i,
.dock-item:hover i {
    color: var(--orange);
    transform: translateY(-2px);
}

.dock-center-action {
    background: linear-gradient(135deg, var(--orange), #FF8533);
    color: var(--text-white) !important;
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.45);
    transform: translateY(-10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dock-center-action i {
    color: #FFFFFF !important;
    font-size: 1.2rem;
}

/* ==========================================================================
   UTILITY HELPERS
   ========================================================================== */

.text-orange { color: var(--orange) !important; }
.text-white  { color: #ffffff !important; }
.text-muted  { color: var(--text-secondary) !important; }
.text-green  { color: var(--color-success) !important; }
.text-center { text-align: center !important; }
.fw-bold     { font-weight: 700 !important; }
.d-flex      { display: flex !important; }
.gap-2       { gap: 0.5rem !important; }
.gap-3       { gap: 1rem !important; }
.mt-2        { margin-top: 0.5rem !important; }
.mt-3        { margin-top: 1rem !important; }
.mb-2        { margin-bottom: 0.5rem !important; }
.mb-3        { margin-bottom: 1rem !important; }
.mb-4        { margin-bottom: 1.5rem !important; }
