/* ==========================================================================
   BIN MANSIR ELECTRIC BIKES - Official Modern Stylesheet
   Engineered for High-Performance Clean Mobility in Nigeria
   Modeled with Next-Gen Aesthetics, Zero-Flicker Dark Mode & Responsive Layouts
   ========================================================================== */

:root {
    --primary: #0a1128;
    --primary-light: #162447;
    --primary-dark: #050914;
    --electric: #10b981;
    --electric-hover: #059669;
    --electric-light: #d1fae5;
    --electric-glow: rgba(16, 185, 129, 0.25);
    --cyan: #06b6d4;
    --cyan-hover: #0891b2;
    --amber: #f59e0b;
    --amber-light: #fef3c7;
    --crimson: #ef4444;
    --crimson-light: #fee2e2;

    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-surface: #ffffff;
    --bg-input: #ffffff;
    --bg-alt: #f1f5f9;
    --border: #e2e8f0;
    --border-dark: #cbd5e1;
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-inverse: #ffffff;

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 18px rgba(10,17,40,0.07);
    --shadow-lg: 0 14px 34px rgba(10,17,40,0.12);
    --shadow-glow: 0 0 25px rgba(16,185,129,0.3);

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    --bg-main: #060b18;
    --bg-card: #0d1527;
    --bg-surface: #0d172e;
    --bg-input: #0d172e;
    --bg-alt: #131e36;
    --border: #1e2c4a;
    --border-dark: #2d3f66;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-inverse: #0f172a;

    --primary-light: #1c2b4e;
    --electric-light: #064e3b;
    --amber-light: #451a03;
    --crimson-light: #450a0a;

    --shadow-md: 0 6px 18px rgba(0,0,0,0.45);
    --shadow-lg: 0 14px 34px rgba(0,0,0,0.6);
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

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

/* Layout Containers */
.site-container {
    width: 100%;
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ==========================================================================
   Header & Navigation (Executive Polish)
   ========================================================================== */

/* Top Announcement Strip */
.top-bar {
    background-color: var(--primary);
    color: #cbd5e1;
    font-size: 12.5px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.4;
    transition: var(--transition);
}
.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.top-badge {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}
.top-bar-item i {
    color: var(--electric);
}
.top-phone-link:hover, .top-track-link:hover, .top-admin-link:hover {
    color: #ffffff;
}
.top-whatsapp-link {
    color: #4ade80 !important;
    font-weight: 600;
}
.top-whatsapp-link i {
    color: #4ade80 !important;
}
.top-whatsapp-link:hover {
    color: #86efac !important;
}
.top-separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 11px;
}
.badge-petrol-alert {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

/* Main Executive Header */
.site-header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
[data-theme="dark"] .site-header {
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: 14px;
    flex-wrap: nowrap;
}

/* Brand Identity */
.brand-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}
.brand-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.header-brand-logo {
    height: 48px;
    max-height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}
.brand-identity:hover .header-brand-logo {
    transform: scale(1.04);
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand-title {
    font-size: 19px;
    font-weight: 850;
    letter-spacing: -0.3px;
    color: var(--text-primary);
    line-height: 1.1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.brand-tagline {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
    color: var(--electric);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Desktop Navigation Menu */
.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}
.nav-list > li {
    position: relative;
    flex-shrink: 0;
}
.nav-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 11px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    line-height: 1.2;
    transition: var(--transition);
    text-decoration: none;
}
.nav-list > li > a:hover {
    color: var(--electric);
    background-color: rgba(16, 185, 129, 0.08);
}
.nav-list > li.active > a {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--electric) 0%, #059669 100%);
    box-shadow: 0 3px 10px var(--electric-glow);
}
.nav-list > li > a i.bi-chevron-down {
    font-size: 10.5px;
    margin-left: 2px;
    transition: transform 0.25s ease;
}
.nav-list > li.has-dropdown:hover > a i.bi-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 275px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.16), 0 0 1px 1px rgba(0, 0, 0, 0.04);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
    z-index: 1050;
    list-style: none;
    margin: 0;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li {
    margin: 0;
}
.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.dropdown-menu li a i {
    font-size: 15px;
    color: var(--electric);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.dropdown-menu li a:hover {
    color: var(--electric);
    background-color: var(--bg-alt);
    transform: translateX(3px);
}
.dropdown-menu li a:hover i {
    transform: scale(1.15);
}

/* Dark Mode Navigation & Dropdown Polish */
[data-theme="dark"] .nav-list > li > a {
    color: #cbd5e1;
}
[data-theme="dark"] .nav-list > li > a:hover {
    color: #34d399;
    background-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .nav-list > li.active > a {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--electric) 0%, #059669 100%);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}
[data-theme="dark"] .dropdown-menu {
    background-color: #0f172a;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.55), 0 0 1px 1px rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .dropdown-menu li a {
    color: #cbd5e1;
}
[data-theme="dark"] .dropdown-menu li a:hover {
    color: #34d399;
    background-color: rgba(255, 255, 255, 0.06);
}

/* Header Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Theme Switcher Button */
.theme-btn {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}
.theme-btn:hover {
    background: var(--border);
    color: var(--electric);
    transform: rotate(15deg);
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}
.mobile-toggle:hover {
    color: var(--electric);
    border-color: var(--electric);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    line-height: 1;
}
.btn-electric {
    background-color: var(--electric);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--electric-glow);
}
.btn-electric:hover {
    background-color: var(--electric-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: #ffffff;
}
.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}
.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    color: #ffffff;
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--border-dark);
    color: var(--text-primary);
}
.btn-outline:hover {
    background: var(--bg-alt);
    border-color: var(--electric);
    color: var(--electric);
}
.btn-outline-electric {
    background: transparent;
    border: 2px solid var(--electric);
    color: var(--electric);
}
.btn-outline-electric:hover {
    background: var(--electric);
    color: #ffffff;
}
.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background-color: #1ebc59;
    color: #ffffff;
    transform: translateY(-2px);
}
.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}
.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 4px;
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}
.container-narrow {
    max-width: 960px;
}

/* Sections */
.section {
    padding: 80px 0;
}
.section-alt {
    background-color: var(--bg-alt);
}
.section-dark {
    background-color: var(--primary);
    color: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px auto;
}
.section-tag {
    display: inline-block;
    color: var(--electric);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.section-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.section-desc {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}
.section-dark .section-desc {
    color: #94a3b8;
}

/* Hero Section */
.hero {
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(16,185,129,0.12) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(6,182,212,0.1) 0%, transparent 40%),
                var(--bg-main);
    padding: 90px 0 100px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
}
.hero-pill span.dot {
    width: 8px;
    height: 8px;
    background-color: var(--electric);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--electric);
}
.hero-title {
    font-size: 46px;
    font-weight: 850;
    line-height: 1.18;
    letter-spacing: -1.2px;
    margin-bottom: 20px;
}
.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--electric) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 17.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 580px;
}
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.hero-metric h4 {
    font-size: 26px;
    font-weight: 800;
    color: var(--electric);
    line-height: 1;
    margin-bottom: 6px;
}
.hero-metric p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.3;
}
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-card-featured {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    width: 100%;
}
.hero-badge-float {
    position: absolute;
    top: -15px;
    right: 25px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(16,185,129,0.4);
}

/* Fuel Savings Calculator Card */
.calculator-box {
    background: linear-gradient(135deg, #0a1128 0%, #162447 100%);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 45px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}
.calculator-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
.calc-slider-group {
    margin-bottom: 24px;
}
.calc-slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #e2e8f0;
}
.calc-slider-header span.val-display {
    color: var(--electric);
    font-size: 17px;
}
.calc-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #2d3f66;
    outline: none;
    -webkit-appearance: none;
}
.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--electric);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(16,185,129,0.8);
}
.calc-result-panel {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
}
.calc-big-saving {
    font-size: 38px;
    font-weight: 850;
    color: #10b981;
    line-height: 1.1;
    margin: 8px 0 4px 0;
}
.calc-metric-sub {
    font-size: 13.5px;
    color: #cbd5e1;
    margin-bottom: 20px;
}
.calc-annual-strip {
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: var(--radius-md);
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #d1fae5;
    margin-bottom: 22px;
}

/* Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.bike-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.bike-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--electric);
}
.bike-card-img-wrap {
    position: relative;
    background-color: var(--bg-alt);
    height: 240px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bike-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.bike-card:hover .bike-card-img-wrap img {
    transform: scale(1.05);
}
.bike-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.bike-card-stock {
    position: absolute;
    top: 14px;
    right: 14px;
}
.bike-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.bike-card-category {
    font-size: 12px;
    font-weight: 700;
    color: var(--electric);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.bike-card-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.bike-card-title a:hover {
    color: var(--electric);
}
.bike-card-desc {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Bike Specs Mini Grid */
.bike-specs-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background-color: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    text-align: center;
}
.bike-spec-item i {
    font-size: 14px;
    color: var(--electric);
    display: block;
    margin-bottom: 2px;
}
.bike-spec-item span.spec-val {
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    line-height: 1.2;
}
.bike-spec-item span.spec-lbl {
    font-size: 10.5px;
    color: var(--text-muted);
}

.bike-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.bike-price-block {
    display: flex;
    flex-direction: column;
}
.bike-price-main {
    font-size: 20px;
    font-weight: 850;
    color: var(--text-primary);
    line-height: 1;
}
.bike-price-promo {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.category-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}
.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--electric);
    box-shadow: var(--shadow-md);
}
.category-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background-color: var(--electric-light);
    color: var(--electric);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}
.category-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}
.category-desc {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 16px;
}
.category-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--electric);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Feature Banners & Strips */
.features-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: -45px;
    position: relative;
    z-index: 10;
}
.feature-strip-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.feature-strip-item:hover {
    transform: translateY(-3px);
    border-color: var(--electric);
}
.feature-strip-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: rgba(16, 185, 129, 0.1);
    color: var(--electric);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.feature-strip-text h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 2px;
}
.feature-strip-text p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Fleet Commercial Banner */
.fleet-cta-banner {
    background: linear-gradient(135deg, #0a1128 0%, #111d40 100%);
    border-radius: var(--radius-xl);
    padding: 55px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}
.fleet-cta-banner h2 {
    font-size: 32px;
    font-weight: 850;
    line-height: 1.25;
    margin-bottom: 14px;
}
.fleet-cta-banner p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Testimonial Cards */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testi-stars {
    color: #f59e0b;
    margin-bottom: 14px;
    font-size: 15px;
}
.testi-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 22px;
    font-style: italic;
}
.testi-user {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}
.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--electric);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}
.testi-info h5 {
    font-size: 14.5px;
    font-weight: 800;
    margin-bottom: 2px;
}
.testi-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* News Cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.news-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--electric);
}
.news-img-wrap {
    height: 200px;
    background-color: var(--bg-alt);
    overflow: hidden;
}
.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-card:hover .news-img-wrap img {
    transform: scale(1.05);
}
.news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.news-meta span.cat {
    color: var(--electric);
    font-weight: 700;
    text-transform: uppercase;
}
.news-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 10px;
}
.news-title a:hover {
    color: var(--electric);
}
.news-excerpt {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 18px;
}

/* Forms */
.form-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.form-grid-1 {
    grid-template-columns: 1fr;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}
.form-group.col-full {
    grid-column: 1 / -1;
}
.form-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-secondary);
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14.5px;
    font-family: inherit;
    background-color: var(--bg-main);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--electric);
    box-shadow: 0 0 0 3px var(--electric-glow);
    background-color: var(--bg-card);
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: var(--radius-full);
    line-height: 1.2;
}
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-info    { background: #e0f2fe; color: #075985; }
.badge-primary { background: #e0e7ff; color: #3730a3; }
.badge-secondary{ background: var(--bg-alt); color: var(--text-muted); }

/* Alert boxes */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger  { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-info    { background: #e0f2fe; color: #075985; border: 1px solid #bae6fd; }

/* Product Detail Page Layout */
.bike-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 45px;
    align-items: start;
}
.bike-gallery-main {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.bike-gallery-main img {
    max-height: 440px;
    margin: 0 auto;
    object-fit: contain;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}
.specs-table th, .specs-table td {
    padding: 12px 18px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.specs-table th {
    background-color: var(--bg-alt);
    font-weight: 700;
    color: var(--text-secondary);
    width: 38%;
}

/* Footer */
.site-footer {
    background-color: var(--primary);
    color: #cbd5e1;
    padding: 70px 0 25px 0;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--electric);
    border-radius: var(--radius-full);
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}
.footer-links a:hover {
    color: var(--electric);
    transform: translateX(4px);
    display: inline-block;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 12px;
}
.footer-contact-item i {
    color: var(--electric);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.social-icon-btn:hover {
    background: var(--electric);
    color: #ffffff;
    transform: translateY(-2px);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: 12px;
}

/* Floating WhatsApp Quick Action Button */
.float-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #ffffff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 998;
    transition: var(--transition);
}
.float-whatsapp:hover {
    transform: scale(1.1);
    color: #ffffff;
}

/* Responsive Breakpoints */
@media (max-width: 1350px) {
    .header-cta-desktop {
        display: none !important;
    }
    .nav-list > li > a {
        padding: 6px 9px;
        font-size: 12.5px;
        gap: 3px;
    }
    .nav-flex {
        gap: 10px;
    }
}

/* Mobile Header Raffle CTA Button (Replaces Buy on WhatsApp in mobile header) */
.header-cta-mobile-raffle {
    display: none;
    align-items: center;
    gap: 6px;
    font-weight: 850;
    font-size: 13px;
    padding: 7px 15px;
    border-radius: 50px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.45);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.header-cta-mobile-raffle:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.6);
    color: #ffffff !important;
}

@media (max-width: 1060px) {
    .desktop-nav { display: none !important; }
    .nav-links { display: none !important; }
    .mobile-toggle { display: inline-flex !important; }
    .header-cta-desktop { display: none !important; }
    .header-cta-mobile-raffle { display: inline-flex !important; }
}

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .calc-grid { grid-template-columns: 1fr; }
    .features-strip { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .bike-detail-grid { grid-template-columns: 1fr; }
    .fleet-cta-banner { grid-template-columns: 1fr; padding: 35px 25px; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 32px; }
    .section-title { font-size: 26px; }
    .hero-metrics { grid-template-columns: 1fr; gap: 15px; }
    .features-strip { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .top-bar { display: none; }
    .form-grid { grid-template-columns: 1fr; }
}

/* Mobile Nav Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 86%;
    max-width: 340px;
    height: 100vh;
    background-color: var(--bg-card);
    z-index: 1100;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
}
.mobile-drawer.open {
    right: 0;
}
.mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}
.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.close-drawer-btn {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
}
.close-drawer-btn:hover {
    color: #ef4444;
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}
.mobile-drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 25px 0;
    padding: 0;
}
.mobile-drawer-link {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
}
.mobile-drawer-link i {
    font-size: 16px;
    color: var(--electric);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.mobile-drawer-link:hover {
    color: var(--electric);
    background-color: var(--bg-alt);
    transform: translateX(4px);
}
.mobile-drawer-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--electric) 0%, #059669 100%);
    box-shadow: 0 3px 10px var(--electric-glow);
}
.mobile-drawer-link.active i {
    color: #ffffff;
}
.mobile-drawer-actions {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

/* ==========================================================================
   Hot Raffle / Lucky Draw Indicators & Spotlight Component
   ========================================================================== */
.top-raffle-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff !important;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
    animation: hotPulse 2s infinite ease-in-out;
    transition: transform 0.2s ease;
}
.top-raffle-indicator:hover {
    transform: scale(1.03);
    color: #fef08a !important;
}
.hot-badge-flame {
    color: #fef08a;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.hot-badge-flame i {
    font-size: 13px;
    animation: flameFlicker 1.5s infinite alternate;
}
.hot-badge-title {
    color: #ffffff;
    font-weight: 600;
}
.hot-badge-action {
    background: rgba(255, 255, 255, 0.2);
    padding: 1px 7px;
    border-radius: 20px;
    font-size: 10.5px;
    color: #ffffff;
}

.nav-raffle-link {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}
.nav-hot-pill {
    background: #ef4444;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    animation: hotPulse 1.8s infinite;
}

/* ==========================================================================
   Hero Live Raffle Ticker Badge - Dual Mode (Light & Dark) High Contrast
   ========================================================================== */
.hero-raffle-ticker-wrapper {
    margin-bottom: 16px;
}
.hero-raffle-ticker {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    background: #ffffff;
    border: 2px solid #d97706;
    padding: 7px 18px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.18), 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 100%;
}
.hero-raffle-ticker:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.28);
    border-color: #b45309;
    background: #fffdf5;
}
.hero-raffle-ticker .ticker-pulse-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #dc2626;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.85);
    flex-shrink: 0;
    animation: livePulseDot 1.8s infinite;
}
.hero-raffle-ticker .ticker-badge {
    font-size: 12px;
    font-weight: 900;
    color: #b45309;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}
.hero-raffle-ticker .ticker-text {
    font-size: 13.5px;
    font-weight: 750;
    color: #0f172a;
    line-height: 1.3;
}
.hero-raffle-ticker .ticker-price {
    color: #047857;
    font-weight: 900;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    margin: 0 3px;
    display: inline-block;
}
.hero-raffle-ticker .ticker-slots {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
    flex-shrink: 0;
}

/* Dark Mode Overrides for Hero Raffle Ticker */
[data-theme="dark"] .hero-raffle-ticker {
    background: linear-gradient(135deg, rgba(26, 38, 66, 0.95) 0%, rgba(6, 46, 36, 0.9) 100%);
    border: 1.8px solid #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.35), 0 4px 14px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .hero-raffle-ticker:hover {
    box-shadow: 0 0 28px rgba(245, 158, 11, 0.55), 0 6px 20px rgba(0, 0, 0, 0.6);
    border-color: #fbbf24;
    background: linear-gradient(135deg, rgba(34, 49, 84, 0.98) 0%, rgba(10, 64, 50, 0.95) 100%);
}
[data-theme="dark"] .hero-raffle-ticker .ticker-badge {
    color: #fde047;
}
[data-theme="dark"] .hero-raffle-ticker .ticker-text {
    color: #ffffff;
}
[data-theme="dark"] .hero-raffle-ticker .ticker-price {
    color: #34d399;
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid rgba(16, 185, 129, 0.45);
}
[data-theme="dark"] .hero-raffle-ticker .ticker-slots {
    background: #f59e0b;
    color: #451a03 !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

@keyframes livePulseDot {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.65; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 640px) {
    .hero-raffle-ticker {
        padding: 8px 12px;
        gap: 6px;
        border-radius: 14px;
    }
    .hero-raffle-ticker .ticker-text {
        font-size: 12.5px;
    }
    .hero-raffle-ticker .ticker-badge {
        font-size: 11px;
    }
    .hero-raffle-ticker .ticker-slots {
        font-size: 10px;
        padding: 2px 7px;
    }
}

@keyframes hotPulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes flameFlicker {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.15) rotate(-3deg); filter: brightness(1.2); }
    100% { transform: scale(1.05) rotate(3deg); filter: brightness(1.1); }
}

/* Home Page Raffle Spotlight Section */
.raffle-spotlight-section {
    padding: 50px 0 35px;
    background: linear-gradient(180deg, var(--bg-alt) 0%, rgba(6,78,59,0.12) 100%);
    border-bottom: 1px solid var(--border);
}
.raffle-spotlight-card {
    background: linear-gradient(135deg, #022c22 0%, #064e3b 45%, #091328 100%);
    border-radius: 24px;
    padding: 38px 44px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 65px -12px rgba(16, 185, 129, 0.45), 0 0 30px rgba(16, 185, 129, 0.15);
    border: 2.5px solid #10b981;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 36px;
    align-items: center;
}
.raffle-spotlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
    pointer-events: none;
}
.spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.spotlight-badge i {
    color: #ef4444;
    animation: flameFlicker 1.5s infinite;
}
.spotlight-title {
    font-size: 26px;
    font-weight: 850;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 10px;
}
.spotlight-desc {
    color: #cbd5e1;
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 20px;
    max-width: 580px;
}
.spotlight-meta-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.spotlight-meta-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 16px;
    border-radius: 12px;
}
.spotlight-meta-label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}
.spotlight-meta-val {
    font-size: 17px;
    font-weight: 850;
    color: #ffffff;
}

@media (max-width: 868px) {
    .raffle-spotlight-card {
        grid-template-columns: 1fr !important;
        padding: 24px 20px !important;
        gap: 24px !important;
    }
}

/* ============================================================
   OFFICIAL CERTIFIED LUCKY DRAW PASS & TICKET STYLES
   ============================================================ */
.print-cert-inner {
    border: 2.5px solid #064e3b;
    border-radius: 14px;
    padding: 22px 24px;
    background: #ffffff;
    box-sizing: border-box;
    position: relative;
    color: #0f172a;
    width: 100%;
}
.print-cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-bottom: 12px;
    flex-wrap: wrap;
}
.print-cert-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.print-cert-logo {
    width: 58px !important;
    height: auto !important;
    max-width: 58px !important;
    max-height: 58px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    display: block !important;
}
.print-org-name {
    font-size: 19px;
    font-weight: 900;
    color: #064e3b;
    margin: 0 0 2px 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.print-org-sub {
    font-size: 9.5px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
    line-height: 1.3;
}
.print-org-badge {
    display: inline-block;
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}
.print-cert-meta {
    text-align: right;
    border-left: 1.5px solid #e2e8f0;
    padding-left: 16px;
    flex-shrink: 0;
}
.print-meta-label {
    font-size: 8.5px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}
.print-meta-serial {
    font-family: monospace;
    font-size: 13.5px;
    font-weight: 900;
    color: #0f172a;
}
.print-meta-date {
    font-size: 9.5px;
    color: #64748b;
    margin-top: 2px;
}
.print-auth-status {
    font-size: 9.5px;
    font-weight: 800;
    color: #16a34a;
    margin-top: 2px;
}
.print-divider-double {
    border-top: 2px solid #064e3b;
    border-bottom: 1px solid #10b981;
    height: 3px;
    margin: 10px 0 14px 0;
}
.print-divider-line {
    border-top: 1px dashed #cbd5e1;
    margin: 14px 0;
}
.print-ticket-core-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 18px;
    align-items: stretch;
}
.print-section-heading {
    font-size: 11px;
    font-weight: 850;
    color: #064e3b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    border-bottom: 1.5px solid #064e3b;
    padding-bottom: 3px;
}
.print-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10.5px;
}
.print-data-table td {
    padding: 4px 6px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}
.print-td-label {
    font-weight: 700;
    color: #64748b;
    width: 38%;
}
.print-td-value {
    color: #0f172a;
}
.print-ticket-badge-box {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.print-badge-top {
    margin-bottom: 6px;
}
.print-badge-title {
    font-size: 9px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
}
.print-ticket-huge-code {
    font-family: monospace;
    font-size: 18px;
    font-weight: 900;
    color: #065f46;
    letter-spacing: 1.5px;
    margin: 2px 0 8px 0;
    background: #ffffff;
    border: 1px dashed #10b981;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}
.print-lucky-num-box {
    background: #eff6ff;
    border: 1.5px solid #3b82f6;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 8px;
}
.print-lucky-sub {
    font-size: 9px;
    font-weight: 800;
    color: #1e40af;
    text-transform: uppercase;
    display: block;
}
.print-lucky-huge {
    font-family: monospace;
    font-size: 26px;
    font-weight: 900;
    color: #1d4ed8;
    line-height: 1.1;
}
.print-lucky-status {
    font-size: 9px;
    font-weight: 800;
    color: #15803d;
    margin-top: 2px;
}
.print-security-strip {
    padding-top: 6px;
    border-top: 1px dashed #cbd5e1;
}
.print-barcode-lines {
    color: #0f172a;
    margin-bottom: 2px;
}
.print-hash-code {
    font-family: monospace;
    font-size: 8px;
    color: #64748b;
    font-weight: 700;
}
.print-genuine-tag {
    font-size: 8px;
    font-weight: 800;
    color: #b45309;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.print-policies-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}
.print-policy-col {
    background: #fafafa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
}
.print-policy-title {
    font-size: 9.5px;
    font-weight: 850;
    color: #0f172a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 3px;
}
.print-policy-num {
    background: #064e3b;
    color: #ffffff;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 900;
}
.print-policy-list {
    margin: 0;
    padding-left: 12px;
    font-size: 8.5px;
    line-height: 1.35;
    color: #334155;
}
.print-policy-list li {
    margin-bottom: 4px;
}
.print-cert-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 9px;
    color: #475569;
    padding-top: 4px;
}
.print-footer-seal {
    display: flex;
    align-items: center;
    gap: 8px;
}
.print-seal-emblem {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #064e3b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}
.print-footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: right;
}
.print-footer-notice {
    width: 100%;
    text-align: center;
    font-size: 8px;
    color: #94a3b8;
    font-style: italic;
    margin-top: 3px;
}

@media (max-width: 768px) {
    .print-cert-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .print-cert-meta {
        border-left: none;
        border-top: 1px solid #e2e8f0;
        padding-left: 0;
        padding-top: 8px;
        text-align: left;
        width: 100%;
    }
    .print-ticket-core-grid {
        grid-template-columns: 1fr;
    }
    .print-policies-section {
        grid-template-columns: 1fr;
    }
    .print-cert-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .print-footer-contacts {
        text-align: left;
    }
}

/* ============================================================
   UNIVERSAL MODAL DIALOGS (CERTIFICATE & POLICY VIEWERS)
   ============================================================ */
.airplane-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.airplane-modal-backdrop.modal-active {
    opacity: 1;
    pointer-events: auto;
}
.airplane-modal-dialog {
    background: #ffffff;
    width: 100%;
    max-width: 880px;
    max-height: 92vh;
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.airplane-modal-backdrop.modal-active .airplane-modal-dialog {
    transform: scale(1) translateY(0);
}
@media (max-width: 768px) {
    .airplane-modal-backdrop {
        padding: 8px !important;
    }
    .airplane-modal-dialog {
        border-radius: 14px !important;
        max-height: 96vh !important;
    }
}

/* Modal Inner Flex Structure & Scroll Constraints */
.modal-flex-view {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 100% !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}

.airplane-modal-header {
    flex-shrink: 0 !important;
    padding: 22px 26px 14px 26px;
    border-bottom: 1px solid var(--border, #e2e8f0);
    background: var(--bg-card, #ffffff);
    position: relative;
    z-index: 10;
}

.airplane-modal-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    padding: 20px 24px;
    background: var(--bg-main, #f8fafc);
}

.airplane-modal-body::-webkit-scrollbar {
    width: 8px;
}
.airplane-modal-body::-webkit-scrollbar-track {
    background: var(--bg-alt, #f1f5f9);
    border-radius: 10px;
}
.airplane-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
    border: 2px solid var(--bg-alt, #f1f5f9);
}
.airplane-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.airplane-modal-footer {
    flex-shrink: 0 !important;
    padding: 16px 26px;
    background: var(--bg-card, #ffffff);
    border-top: 1px solid var(--border, #e2e8f0);
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
    z-index: 20 !important;
    position: relative !important;
}

.airplane-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 50;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-alt, #f1f5f9);
    border: 1px solid var(--border, #e2e8f0);
    color: var(--text-muted, #475569);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s ease;
}
.airplane-modal-close:hover {
    background: var(--border, #e2e8f0);
    color: var(--text-primary, #0f172a);
    transform: rotate(90deg);
}

#airplaneSeatModal .airplane-modal-dialog {
    max-width: 820px;
    height: 90vh !important;
    max-height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: var(--bg-card, #ffffff);
}

/* Multi-Ticket Token Allocation Tray & Pills */
.ticket-slots-tray {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 2px 10px 2px;
    margin-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.ticket-slots-tray::-webkit-scrollbar {
    height: 5px;
}
.ticket-slots-tray::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.ticket-slot-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--bg-alt, #f1f5f9);
    border: 2px solid var(--border, #cbd5e1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-secondary, #334155);
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
}
.ticket-slot-pill:hover {
    border-color: #94a3b8;
    background: var(--border, #e2e8f0);
}
.ticket-slot-pill.active {
    background: #eff6ff !important;
    border-color: #2563eb !important;
    color: #1d4ed8 !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    transform: translateY(-1px);
}
.ticket-slot-pill.is-locked {
    background: #fffbeb !important;
    border-color: #f59e0b !important;
    color: #92400e !important;
    cursor: default;
}
.ticket-slot-pill.is-filled {
    background: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
}
.slot-token-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 24px;
    padding: 0 6px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 12px;
    font-weight: 900;
    background: #cbd5e1;
    color: #334155;
    transition: all 0.2s ease;
}
.ticket-slot-pill.active .slot-token-badge {
    background: #2563eb;
    color: #ffffff;
}
.ticket-slot-pill.is-filled .slot-token-badge {
    background: #10b981;
    color: #ffffff;
}
.ticket-slot-pill.is-locked .slot-token-badge {
    background: #f59e0b;
    color: #78350f;
}

/* Dark Mode Overrides for Modal */
[data-theme="dark"] #airplaneSeatModal .airplane-modal-dialog {
    background: #0f172a !important;
    border: 1px solid #1e293b;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
}
[data-theme="dark"] .airplane-modal-header {
    background: #0f172a !important;
    border-bottom: 1px solid #1e293b !important;
}
[data-theme="dark"] .airplane-modal-header h3 {
    color: #f8fafc !important;
}
[data-theme="dark"] .airplane-modal-body {
    background: #090e1a !important;
}
[data-theme="dark"] .lucky-draw-board {
    background: #0f172a !important;
    border-color: #1e293b !important;
}
[data-theme="dark"] .airplane-modal-footer {
    background: #0f172a !important;
    border-top: 1px solid #1e293b !important;
}
[data-theme="dark"] .ticket-slot-pill {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}
[data-theme="dark"] .ticket-slot-pill:hover {
    background: #27354f;
    border-color: #475569;
}
[data-theme="dark"] .ticket-slot-pill.active {
    background: rgba(37, 99, 235, 0.25) !important;
    border-color: #3b82f6 !important;
    color: #93c5fd !important;
}
[data-theme="dark"] .ticket-slot-pill.is-filled {
    background: rgba(16, 185, 129, 0.2) !important;
    border-color: #10b981 !important;
    color: #6ee7b7 !important;
}
[data-theme="dark"] .ticket-slot-pill.is-locked {
    background: rgba(245, 158, 11, 0.2) !important;
    border-color: #f59e0b !important;
    color: #fde68a !important;
}
[data-theme="dark"] .airplane-modal-close {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}
[data-theme="dark"] .airplane-modal-close:hover {
    background: #334155;
    color: #ffffff;
}

@media (max-width: 768px) {
    #airplaneSeatModal .airplane-modal-dialog {
        height: 94vh !important;
        max-height: 94vh !important;
        width: 100% !important;
    }
    .airplane-modal-header {
        padding: 14px 16px 10px 16px !important;
    }
    .airplane-modal-body {
        padding: 12px 14px !important;
    }
    .airplane-modal-footer {
        padding: 12px 16px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
}

/* ============================================================
   BMEB INTERACTIVE EXECUTIVE PAGE LOADER
   ============================================================ */
.bmeb-global-loader-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 20, 18, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.bmeb-global-loader-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}
.bmeb-loader-card {
    background: #0f172a;
    border: 1.5px solid rgba(16, 185, 129, 0.4);
    border-radius: 26px;
    padding: 38px 36px 30px 36px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.85), 0 0 40px rgba(16, 185, 129, 0.25);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.bmeb-global-loader-backdrop.active .bmeb-loader-card {
    transform: scale(1) translateY(0);
}
.bmeb-loader-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 140px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(25px);
}
.bmeb-orbital-spinner {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bmeb-spinner-ring-outer {
    position: absolute;
    inset: 0;
    border: 3.5px solid transparent;
    border-top-color: #10b981;
    border-right-color: #34d399;
    border-radius: 50%;
    animation: bmebSpinClockwise 1.1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6));
}
.bmeb-spinner-ring-inner {
    position: absolute;
    inset: 10px;
    border: 3px solid transparent;
    border-bottom-color: #06b6d4;
    border-left-color: #38bdf8;
    border-radius: 50%;
    animation: bmebSpinCounter 0.85s linear infinite;
    filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.5));
}
.bmeb-spinner-center {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #064e3b;
    border: 2px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
    z-index: 2;
    transition: transform 0.25s ease, background 0.25s ease;
}
.bmeb-loader-title {
    font-size: 20px;
    font-weight: 850;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}
.bmeb-loader-subtitle {
    font-size: 13.5px;
    color: #94a3b8;
    margin: 0 0 22px 0;
    line-height: 1.5;
    min-height: 20px;
}
.bmeb-loader-progress-track {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}
.bmeb-loader-progress-fill {
    height: 100%;
    width: 45%;
    border-radius: 10px;
    background: linear-gradient(90deg, #10b981, #06b6d4, #10b981);
    background-size: 200% 100%;
    animation: bmebProgressMove 1.4s ease-in-out infinite;
}
.bmeb-loader-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@keyframes bmebSpinClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes bmebSpinCounter {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}
@keyframes bmebProgressMove {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(110%); }
    100% { transform: translateX(250%); }
}

/* Button Loading State (Tactile Feedback) */
.btn.btn-bmeb-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.85;
}
.btn.btn-bmeb-loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: bmebSpinClockwise 0.75s linear infinite;
    vertical-align: middle;
}

/* ============================================================
   RAFFLE DETAIL GRID & LUCKY SEAT TOKENS
   ============================================================ */
.raffle-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 900px) {
    .raffle-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}
/* ============================================================
   TACTILE 3D LUXURY LUCKY TOKEN CHIP SYSTEM
   ============================================================ */
.lucky-tokens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
    gap: 12px;
    justify-items: center;
    padding: 6px 2px;
}

.lucky-token-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 2.5px solid #10b981;
    background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f0fdf4 55%, #dcfce7 100%);
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.08),
        inset 0 2px 3px rgba(255, 255, 255, 0.95),
        inset 0 -2px 4px rgba(6, 95, 70, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    padding: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.token-inner-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px dashed rgba(16, 185, 129, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    transition: border-color 0.2s ease;
}

.token-number-text {
    font-size: 16.5px;
    font-weight: 900;
    line-height: 1;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
    font-variant-numeric: tabular-nums;
    color: #065f46;
    letter-spacing: -0.3px;
    transition: color 0.2s ease;
}

.token-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.token-micro-icon {
    font-size: 10px;
    color: #10b981;
    transition: color 0.2s ease;
}

/* Hover Available Token */
.lucky-token-btn:hover:not(:disabled) {
    transform: translateY(-4px) scale(1.08);
    border-color: #059669;
    box-shadow: 
        0 10px 22px rgba(16, 185, 129, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 1),
        inset 0 -2px 4px rgba(5, 150, 105, 0.25);
    background: radial-gradient(circle at 35% 30%, #ffffff 0%, #ecfdf5 45%, #bbf7d0 100%);
}
.lucky-token-btn:hover:not(:disabled) .token-inner-ring {
    border-color: #059669;
}
.lucky-token-btn:hover:not(:disabled) .token-number-text {
    color: #047857;
}

/* Active Press Effect */
.lucky-token-btn:active:not(:disabled) {
    transform: translateY(1px) scale(0.96);
    box-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.12),
        inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Selected Token State */
.lucky-token-btn.token-selected {
    border-color: #93c5fd !important;
    background: radial-gradient(circle at 35% 30%, #60a5fa 0%, #2563eb 60%, #1d4ed8 100%) !important;
    box-shadow: 
        0 0 0 4px rgba(37, 99, 235, 0.32),
        0 10px 24px rgba(37, 99, 235, 0.45),
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px rgba(0, 0, 0, 0.35) !important;
    transform: translateY(-3px) scale(1.08);
    animation: tokenSelectedPulse 1.6s infinite ease-in-out alternate;
}
.lucky-token-btn.token-selected .token-inner-ring {
    border-color: rgba(255, 255, 255, 0.6) !important;
}
.lucky-token-btn.token-selected .token-number-text {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.lucky-token-btn.token-selected .token-micro-icon {
    color: #ffffff !important;
}

/* Contestant's Locked Confirmed Number (24K Gold Coin) */
.lucky-token-btn.token-my-number {
    border-color: #b45309 !important;
    background: radial-gradient(circle at 35% 30%, #fffbeb 0%, #fde68a 35%, #f59e0b 75%, #d97706 100%) !important;
    box-shadow: 
        0 0 0 3px rgba(245, 158, 11, 0.45),
        0 8px 22px rgba(217, 119, 6, 0.38),
        inset 0 2px 3px rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(180, 83, 9, 0.35) !important;
    cursor: default;
    opacity: 1 !important;
}
.lucky-token-btn.token-my-number .token-inner-ring {
    border-color: rgba(180, 83, 9, 0.5) !important;
}
.lucky-token-btn.token-my-number .token-number-text {
    color: #78350f !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.lucky-token-btn.token-my-number .token-micro-icon {
    color: #78350f !important;
}

/* Claimed / Occupied by another contestant (FIFO Locked Token) */
.lucky-token-btn:disabled,
.lucky-token-btn.token-occupied {
    border-color: #e2e8f0 !important;
    background: radial-gradient(circle at 40% 35%, #f8fafc 0%, #f1f5f9 60%, #e2e8f0 100%) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    cursor: not-allowed !important;
    opacity: 0.62 !important;
    transform: none !important;
}
.lucky-token-btn:disabled .token-inner-ring,
.lucky-token-btn.token-occupied .token-inner-ring {
    border-color: #cbd5e1 !important;
}
.lucky-token-btn:disabled .token-number-text,
.lucky-token-btn.token-occupied .token-number-text {
    color: #94a3b8 !important;
}
.lucky-token-btn:disabled .token-micro-icon,
.lucky-token-btn.token-occupied .token-micro-icon {
    color: #94a3b8 !important;
}

/* Pulse animation for selected token */
@keyframes tokenSelectedPulse {
    0% {
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3), 0 8px 20px rgba(37, 99, 235, 0.4);
    }
    100% {
        box-shadow: 0 0 0 7px rgba(37, 99, 235, 0.15), 0 12px 28px rgba(37, 99, 235, 0.55);
    }
}

.token-pass-tag {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #1d4ed8;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 850;
    padding: 1px 5px;
    border-radius: 8px;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    white-space: nowrap;
    display: none;
    z-index: 5;
    pointer-events: none;
}
.lucky-token-btn.token-selected .token-pass-tag {
    display: block;
}


/* Legend Mini Token Dots */
.mini-token-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.mini-token-dot.token-dot-available {
    background: radial-gradient(circle at 35% 30%, #ffffff 0%, #10b981 100%);
    border: 1.5px solid #059669;
}
.mini-token-dot.token-dot-selected {
    background: radial-gradient(circle at 35% 30%, #60a5fa 0%, #2563eb 100%);
    border: 1.5px solid #1d4ed8;
}
.mini-token-dot.token-dot-mine {
    background: radial-gradient(circle at 35% 30%, #fffbeb 0%, #f59e0b 100%);
    border: 1.5px solid #d97706;
}
.mini-token-dot.token-dot-taken {
    background: radial-gradient(circle at 35% 30%, #f8fafc 0%, #cbd5e1 100%);
    border: 1.5px solid #94a3b8;
}

@media (max-width: 640px) {
    .lucky-tokens-grid {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)) !important;
        gap: 8px !important;
    }
    .lucky-token-btn {
        width: 50px !important;
        height: 50px !important;
        border-width: 2px !important;
    }
    .token-inner-ring {
        width: 38px !important;
        height: 38px !important;
    }
    .token-number-text {
        font-size: 13.5px !important;
    }
    .token-micro-icon {
        font-size: 8.5px !important;
    }
}

/* ============================================================
   CATCHY TWO-SIDED RAFFLE PURCHASE FORM CARD
   ============================================================ */
.raffle-purchase-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.raffle-purchase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 22px;
    margin-bottom: 26px;
    border-bottom: 1.5px solid var(--border);
}
.purchase-header-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: var(--electric);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.raffle-two-sided-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: start;
}
.side-panel-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}
.step-pill {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}
.form-group-catchy {
    margin-bottom: 16px;
}
.form-label-catchy {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 750;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.form-control-catchy {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--bg-surface, #ffffff);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.form-control-catchy::placeholder {
    color: var(--text-muted);
    opacity: 0.85;
}
.form-control-catchy:focus {
    border-color: var(--electric);
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}
.form-control-catchy option {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

/* Keyholder 3-Days-Before-Draw Dispatch Notice Banner */
.keyholder-dispatch-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.3);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.05);
}
.dispatch-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
}
.dispatch-banner-content {
    flex: 1 1 auto;
}
.dispatch-banner-title {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
    color: #065f46;
    margin-bottom: 2px;
}
.dispatch-banner-text {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0;
}
.dispatch-banner-text strong {
    color: var(--text-primary);
}

/* Keyholder Voucher Box */
.voucher-keyholder-box {
    background: var(--bg-card);
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.06);
}

/* Dark Mode Overrides for Form Controls & Keyholder Elements */
[data-theme="dark"] .form-control-catchy {
    background: #0d172e;
    border-color: #1e2c4a;
    color: #f8fafc;
}
[data-theme="dark"] .form-control-catchy:focus {
    background: #0f1c38;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}
[data-theme="dark"] select.form-control-catchy option {
    background-color: #0d1527;
    color: #f8fafc;
}
[data-theme="dark"] .keyholder-dispatch-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] .dispatch-banner-title {
    color: #34d399;
}
[data-theme="dark"] .voucher-keyholder-box {
    background: #0d1527;
    border-color: rgba(16, 185, 129, 0.3);
}

.catchy-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}
.catchy-payment-method-box {
    background: var(--bg-alt);
    border: 2px solid #10b981;
    border-radius: 14px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.08);
}
.payment-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
}

/* Side 2: Voucher Summary Card */
.raffle-voucher-card {
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.voucher-prize-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1.5px dashed var(--border);
}
.voucher-prize-img {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
    flex-shrink: 0;
    background: #ffffff;
}
.voucher-tag {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--electric);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}
.voucher-prize-name {
    font-size: 16px;
    font-weight: 850;
    color: var(--text-primary);
    margin: 2px 0 2px 0;
    line-height: 1.25;
}
/* ============================================================
   TICKET QUANTITY MODEL BOX (1 TO 10 QUANTITY SELECTOR)
   ============================================================ */
.voucher-quantity-model-box {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.quantity-preset-chips {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.btn-qty-chip {
    flex: 1 1 0;
    min-width: 48px;
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 6px 4px;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}
.btn-qty-chip:hover {
    border-color: var(--electric);
    background: rgba(16, 185, 129, 0.08);
}
.btn-qty-chip.active {
    background: var(--electric);
    color: #ffffff;
    border-color: var(--electric);
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
}
.quantity-stepper-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 6px 12px;
}
.qty-step-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.qty-step-btn:hover:not(:disabled) {
    background: var(--electric);
    color: #ffffff;
    border-color: var(--electric);
}
.qty-step-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.qty-number-input {
    width: 65px;
    text-align: center;
    font-size: 22px;
    font-weight: 900;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: monospace;
    outline: none;
}
.qty-number-input::-webkit-inner-spin-button,
.qty-number-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-number-input[type=number] {
    -moz-appearance: textfield;
}

[data-theme="dark"] .voucher-quantity-model-box {
    background: #0d1527;
    border-color: #1e2c4a;
}
[data-theme="dark"] .btn-qty-chip {
    background: #09101f;
    border-color: #1e2c4a;
    color: #f8fafc;
}
[data-theme="dark"] .btn-qty-chip.active {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}
[data-theme="dark"] .quantity-stepper-wrapper {
    background: #09101f;
    border-color: #1e2c4a;
}
[data-theme="dark"] .qty-step-btn {
    background: #0f1c38;
    border-color: #1e2c4a;
    color: #f8fafc;
}

/* Multi-Ticket Pass List in Success Card */
.multi-ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.ticket-pass-item-card {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ticket-pass-item-card.is-active-target {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.35);
}

.voucher-calc-table {
    margin-bottom: 16px;
}
.calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    margin-bottom: 8px;
}
.calc-label {
    color: var(--text-secondary);
}
.calc-val {
    font-weight: 700;
    color: var(--text-primary);
}
.calc-divider {
    border-top: 1.5px dashed var(--border);
    margin: 12px 0;
}
.calc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
}
.total-amount-highlight {
    font-size: 26px;
    font-weight: 900;
    color: var(--electric);
    font-family: monospace;
}
.voucher-step-notice {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 12px;
    color: var(--text-primary);
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
}
.voucher-policy-checkbox-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
}
.voucher-checkout-btn {
    width: 100%;
    font-size: 15.5px;
    padding: 14px 18px;
    font-weight: 850;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
    margin-bottom: 12px;
}
.voucher-trust-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
}

@media (max-width: 992px) {
    .raffle-two-sided-layout {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
    }
}
@media (max-width: 640px) {
    .catchy-row-2col {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .raffle-purchase-card {
        padding: 22px 18px !important;
    }
}

/* ============================================================
   GLOBAL PRINT RULES (STRICT SINGLE-PAGE CERTIFICATE PURITY)
   ============================================================ */
@media print {
    @page {
        size: A4 portrait;
        margin: 6mm 8mm 6mm 8mm;
    }
    html, body {
        background: #ffffff !important;
        color: #0f172a !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .non-printable,
    .top-bar,
    .site-header,
    header,
    nav,
    footer,
    .site-footer,
    .float-whatsapp,
    .whatsapp-btn,
    .theme-toggle,
    .airplane-modal-backdrop,
    #certPreviewModal,
    #embeddedPolicyModal,
    #trackCertViewer,
    #bmebGlobalLoader,
    .bmeb-global-loader-backdrop,
    .btn,
    button {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    .printable-ticket-certificate,
    #printableTicketPassContainer,
    #officialPrintableTicketDocument {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        page-break-inside: avoid !important;
        page-break-after: avoid !important;
    }
    .printable-ticket-certificate *,
    #printableTicketPassContainer *,
    #officialPrintableTicketDocument * {
        visibility: visible !important;
    }
    .print-cert-inner {
        padding: 14px 18px !important;
        border: 2px solid #064e3b !important;
        border-radius: 10px !important;
        page-break-inside: avoid !important;
        page-break-after: avoid !important;
    }
    .print-ticket-particulars {
        padding: 10px 14px !important;
    }
    .print-td-label, .print-td-value {
        padding: 2.5px 0 !important;
        font-size: 11px !important;
    }
    .print-ticket-badge-box {
        padding: 10px 14px !important;
    }
    .print-lucky-num-box {
        padding: 6px 8px !important;
        margin-bottom: 6px !important;
    }
    .print-lucky-huge {
        font-size: 24px !important;
    }
    .print-policy-col {
        padding: 6px 8px !important;
    }
    .print-policy-list {
        font-size: 8px !important;
        line-height: 1.3 !important;
    }
    .print-policy-list li {
        margin-bottom: 2px !important;
    }
}
