/* ===============
   CSS VARIABLES - CASINO ORANGE & OBSIDIAN (MOBILE-ONLY THEME)
   =============== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,500;0,600;0,700;0,800;0,900;1,700;1,800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
    /* Primary Accent - Fiery Electric Orange from Reference */
    --primary-color: #ff5722;
    --primary-hover: #ff7043;
    --primary-dark: #e64a19;
    --primary-glow: rgba(255, 87, 34, 0.45);
    
    /* Secondary & Golden Amber Accents */
    --accent-gold: #ffb703;
    --accent-amber: #ffa000;
    --accent-red: #d90429;
    
    /* Backgrounds - Atmospheric Midnight Obsidian */
    --bg-color: #08080a;
    --bg-elevated: #0f0f14;
    --bg-card: #14141a;
    --bg-card-hover: #1a1a23;
    --bg-overlay: rgba(8, 8, 10, 0.95);
    
    /* Text Hierarchy */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    --border-accent: rgba(255, 87, 34, 0.4);
    
    /* Shadows & Glows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 14px 36px rgba(0, 0, 0, 0.85);
    --shadow-orange: 0 6px 20px rgba(255, 87, 34, 0.45);
    --shadow-orange-lg: 0 10px 30px rgba(255, 87, 34, 0.6);
    
    /* Radii - Reference uses smooth rounded pill buttons and rounded cards */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-pill: 9999px;
    
    /* Transitions */
    --transition-speed: 0.3s;
    
    /* Typography - Bold Modern Casino */
    --font-heading: 'Bebas Neue', 'Montserrat', sans-serif;
    --font-display: 'Bebas Neue', sans-serif;
    --font-subheading: 'Montserrat', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===============
   RESET & MOBILE-FOCUSED BASE
   =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: #030305;
}

html,
body {
    min-height: 100vh;
    font-family: var(--font-body);
    background-color: #030305;
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}

/* Atmospheric warm smokey glow across backdrop */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 0%, rgba(255, 87, 34, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 20% 50%, rgba(255, 140, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 87, 34, 0.08) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* ===============
   MOBILE APP WRAPPER (FORCES MOBILE LAYOUT ON LAPTOP & DESKTOP)
   =============== */
.mobile-wrapper {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background: var(--bg-color);
    position: relative;
    z-index: 1;
    margin: 0 auto;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 87, 34, 0.12);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

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

ul {
    list-style: none;
}

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

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

/* Section Header styling from Reference Image (Mobile Proportions) */
.section-kicker {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    text-align: center;
    margin-bottom: 22px;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 87, 34, 0.2);
}

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

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 44px 0 18px;
    position: relative;
    text-align: center;
}

.section-header .section-kicker {
    margin-bottom: 4px;
}

.section-header .section-title {
    margin-bottom: 4px;
}

.section-header .view-all {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.section-header .view-all:hover {
    color: var(--primary-hover);
    transform: translateX(3px);
}

/* ===============
   HEADER - COMPACT MOBILE FIXED TOP BAR
   =============== */
.header {
    background: rgba(8, 8, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 62px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
    padding: 0 16px;
}

.header .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(255, 87, 34, 0.4));
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: scale(1.04);
}

/* Navigation is ALWAYS Mobile Dropdown Drawer */
.header nav {
    position: static;
}

.nav-list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 62px;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 10, 0.98);
    backdrop-filter: blur(25px);
    padding: 0;
    border-bottom: 1px solid rgba(255, 87, 34, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    z-index: 999;
}

.nav-list.active {
    max-height: 400px;
    padding: 14px 16px;
}

.nav-list a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13.5px;
    padding: 11px 16px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-list a:last-child {
    border-bottom: none;
}

.nav-list a:hover,
.nav-list a.active {
    color: #ffffff;
    background: rgba(255, 87, 34, 0.12);
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

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

/* Compact Mobile Pill Buttons */
.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff !important;
    padding: 7px 15px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff7043 0%, #ff5722 50%, #e64a19 100%);
    color: #ffffff !important;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.4);
    transition: all 0.2s ease;
}

.btn-register:hover {
    filter: brightness(1.1);
}

.mobile-menu-toggle {
    display: flex !important;
    background: rgba(255, 87, 34, 0.12);
    border: 1px solid rgba(255, 87, 34, 0.35);
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-pill);
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* ===============
   ADS BLOCK (MOBILE OPTIMIZED)
   =============== */
.ad-banner-container {
    margin: 36px auto;
    text-align: center;
    padding: 0 16px;
}

.ad-banner-container a {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 87, 34, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.ad-banner-container img {
    width: 100%;
    height: auto;
    min-height: 70px;
    max-height: 120px;
    /* object-fit: cover; */
    display: block;
}

/* ===============
   GUARANTEES BAR (3 ITEMS STACKED FROM REFERENCE IMAGE)
   =============== */
.guarantees-bar {
    margin: 48px auto 24px;
    padding: 30px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guarantees-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.guarantee-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-pill);
    background: radial-gradient(circle at 35% 30%, rgba(255, 112, 67, 0.35) 0%, rgba(255, 87, 34, 0.12) 60%, rgba(18, 10, 8, 0.95) 100%);
    border: 1.5px solid rgba(255, 112, 67, 0.75);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.7),
        inset 0 1.5px 3px rgba(255, 171, 145, 0.6),
        inset 0 -2px 4px rgba(0, 0, 0, 0.8),
        0 0 16px rgba(255, 87, 34, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff9e80;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.guarantee-item:hover .guarantee-icon {
    transform: translateY(-2px) scale(1.08);
    border-color: #ffccbc;
    box-shadow: 
        0 8px 24px rgba(255, 87, 34, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.8),
        0 0 26px rgba(255, 87, 34, 0.85);
}

.guarantee-icon svg {
    width: 22px;
    height: 22px;
    stroke: #ffab91;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 8px rgba(255, 87, 34, 0.8));
    transition: all 0.3s ease;
}

.guarantee-item:hover .guarantee-icon svg {
    stroke: #ffffff;
    filter: drop-shadow(0 0 10px rgba(255, 112, 67, 1));
}

.guarantee-content h4 {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.guarantee-content p {
    color: var(--text-secondary);
    font-size: 0.84rem;
    line-height: 1.5;
}

/* ===============
   FOOTER (MOBILE STACKED FROM REFERENCE IMAGE)
   =============== */
.footer {
    background: #050507;
    padding: 44px 0 28px;
    margin-top: 40px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 36px;
    padding: 0 16px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 14px;
    margin-bottom: 14px;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary-color);
    border-radius: var(--radius-pill);
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.footer-bottom {
    padding: 24px 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-badge-18 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 87, 34, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(255, 87, 34, 0.3);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
}