/* ==========================================================================
   EASY RIDE NEPAL YANGO - STYLING SYSTEM
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & RESET
   -------------------------------------------------------------------------- */
:root {
    /* Rich background palette — subtle warm-cool layering (Light Theme) */
    --bg-primary: #f0f2f6;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e4e7ed;
    --bg-accent: #fdf2f2;
    --border-color: rgba(0, 0, 0, 0.07);
    --border-strong: rgba(0, 0, 0, 0.12);

    /* Typography */
    --text-primary: #12151a;
    --text-secondary: #4a5260;
    --text-muted: #8c96a3;

    /* Brand accents */
    --accent-red: #e30613;
    --accent-orange: #f35c22;
    --accent-yellow: #f9ab00;
    --accent-green: #1a7f37;
    --accent-blue: #0969da;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #ff1a24 0%, #e30613 100%);
    --grad-points: linear-gradient(135deg, #f9ab00 0%, #f35c22 100%);
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 100%);
    --grad-green: linear-gradient(135deg, #2da44e 0%, #1a7f37 100%);
    --grad-sidebar: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
    --grad-bg: linear-gradient(145deg, #f0f2f6 0%, #e8ebf2 100%);

    /* Shadows — layered for depth */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-main: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 8px 24px rgba(227, 6, 19, 0.20), 0 2px 6px rgba(227, 6, 19, 0.12);
    --shadow-points: 0 8px 24px rgba(249, 171, 0, 0.20), 0 2px 6px rgba(249, 171, 0, 0.12);

    /* Misc */
    --font-heading: 'Outfit', 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 18px;
    --border-radius-sm: 12px;
    --sidebar-width: 268px;
}

html[data-theme="dark"] {
    /* Rich background palette — subtle warm-cool layering (Dark Theme) */
    --bg-primary: #0c0e12;
    --bg-secondary: #12151f;
    --bg-tertiary: #1b1e2e;
    --bg-accent: rgba(227, 30, 36, 0.1);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);

    /* Typography */
    --text-primary: #f3f4f7;
    --text-secondary: #c5c9db;
    --text-muted: #7e84a3;

    /* Brand accents */
    --accent-red: #ff2d37;
    --accent-orange: #ff7b39;
    --accent-yellow: #ffc107;
    --accent-green: #34d058;
    --accent-blue: #3b82f6;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #ff4d55 0%, #d80512 100%);
    --grad-points: linear-gradient(135deg, #ffc107 0%, #ff7b39 100%);
    --grad-glass: linear-gradient(135deg, rgba(18, 21, 31, 0.85) 0%, rgba(12, 14, 21, 0.95) 100%);
    --grad-green: linear-gradient(135deg, #34d058 0%, #28a745 100%);
    --grad-sidebar: linear-gradient(180deg, #12151f 0%, #0c0e12 100%);
    --grad-bg: linear-gradient(145deg, #07090e 0%, #10121a 100%);

    /* Shadows — layered for depth and updated for dark mode */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-main: 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 8px 24px rgba(255, 45, 55, 0.15), 0 2px 6px rgba(255, 45, 55, 0.08);
    --shadow-points: 0 8px 24px rgba(255, 193, 7, 0.15), 0 2px 6px rgba(255, 193, 7, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: var(--grad-bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* --------------------------------------------------------------------------
   2. APP LAYOUT
   -------------------------------------------------------------------------- */
.app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background: var(--grad-sidebar);
    border-right: 1px solid var(--border-color);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.sidebar-header {
    padding: 22px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.03) 0%, rgba(243, 92, 34, 0.02) 100%);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.sidebar-logo i {
    color: var(--accent-red);
    font-size: 24px;
}

.sidebar-logo span {
    color: var(--accent-yellow);
}

/* --------------------------------------------------------------------------
   BRAND LOGO STYLING (MATCHING THE UPLOADED LOGO)
   -------------------------------------------------------------------------- */
.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.brand-logo-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid var(--accent-red);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    background: #ffffff;
}

.brand-yango-part {
    height: 50%;
    background: var(--grad-primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.8px;
    border-bottom: 1px solid #ffffff;
    padding-top: 2px;
}

.brand-easyride-part {
    height: 50%;
    background: #ffffff;
    color: var(--accent-red);
    font-family: var(--font-heading);
    font-size: 6px;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    padding-bottom: 2px;
}

.brand-easyride-part i {
    font-size: 10px;
    margin-bottom: 1px;
}

.brand-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-logo-text h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
}

.brand-logo-text h3 span {
    color: var(--accent-red);
}

.brand-logo-text p {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.sidebar-menu {
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    overflow-y: auto;
}

.sidebar-menu::-webkit-scrollbar {
    width: 4px;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    color: var(--text-secondary);
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.menu-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    transition: var(--transition);
}

.menu-item:hover {
    background-color: rgba(227, 30, 36, 0.05);
    color: var(--accent-red);
}

.menu-item:hover i {
    transform: translateX(3px);
}

.menu-item.active {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
    font-weight: 600;
}

.menu-item.active i {
    transform: scale(1.15);
}

.sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.sidebar-contact-info i {
    font-size: 22px;
    color: var(--accent-red);
    flex-shrink: 0;
}

.contact-label {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
    transition: var(--transition-fast);
}

/* Main Content Wrapper */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-primary);
    min-width: 0;
}

/* Top Navigation Bar */
.top-nav {
    height: 68px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--accent-red);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    position: sticky;
    top: 0;
    z-index: 90;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

html[data-theme="dark"] .top-nav {
    background: rgba(18, 21, 31, 0.90);
    border-bottom: 2px solid var(--accent-red);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    outline: none;
}

.theme-toggle-btn:hover {
    color: var(--accent-red);
    background: rgba(227, 30, 36, 0.05);
    border-color: rgba(227, 30, 36, 0.2);
    transform: rotate(15deg) scale(1.05);
}

.theme-toggle-btn i {
    transition: transform 0.4s ease;
}

.theme-toggle-btn:active i {
    transform: scale(0.8) rotate(-45deg);
}

html[data-theme="dark"] .theme-toggle-btn:hover {
    color: var(--accent-yellow);
    background: rgba(255, 193, 7, 0.05);
    border-color: rgba(255, 193, 7, 0.2);
}

.top-nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-nav-left h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
}

.mobile-brand {
    display: none;
}

.top-nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.live-badge {
    background-color: rgba(0, 240, 118, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(0, 240, 118, 0.2);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

.nav-app-btn {
    background: var(--grad-primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
    text-decoration: none;
}

.nav-app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 42, 68, 0.35);
}

.nav-dashboard-btn {
    background: var(--grad-points);
    color: #fff;
    padding: 8px 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-points);
    transition: var(--transition);
    text-decoration: none;
}

.nav-dashboard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(249, 171, 0, 0.35);
}

.dashboard-glow-btn {
    background: var(--grad-points);
    color: #fff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-points);
    transition: var(--transition);
    text-decoration: none;
}

.dashboard-glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(249, 171, 0, 0.45);
}

.mobile-menu-toggle {
    display: none;
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 8px;
    margin-right: 8px;
    transition: var(--transition);
}

.mobile-menu-close {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    color: var(--accent-red);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
}

/* Page Containers */
.page-view {
    padding: 36px 40px 60px 40px;
    display: none;
    animation: fadeIn 0.4s ease;
    min-width: 0;
    width: 100%;
}

.page-view.active {
    display: block;
}

/* --------------------------------------------------------------------------
   3. ANIMATIONS & REUSABLE COMPONENTS
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

.glow-btn {
    background: var(--grad-primary);
    color: #fff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-glow);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.glow-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(227, 30, 36, 0.35);
}

.glow-btn-points {
    background: var(--grad-points);
    color: #fff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-points);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.glow-btn-points:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(249, 171, 0, 0.35);
}

.sec-btn {
    background: var(--grad-glass);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background 0.3s ease;
}

.sec-btn:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(0, 0, 0, 0.02);
    border-color: var(--text-secondary);
}

html[data-theme="dark"] .sec-btn:hover {
    background: rgba(255, 255, 255, 0.04);
}

/* Glassmorphism Card base */
.glass-card {
    background: var(--grad-glass);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* --------------------------------------------------------------------------
   4. HOME PAGE VIEW
   -------------------------------------------------------------------------- */
.home-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-areas:
        "title art"
        "actions art";
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.hero-title-section {
    grid-area: title;
}

.hero-title-section h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.hero-title-section h1 span {
    background: var(--grad-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-actions-section {
    grid-area: actions;
}

.hero-desc-bottom {
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 24px;
    max-width: 540px;
}

.hero-badges {
    display: flex;
    gap: 16px;
}

.hero-art-section {
    grid-area: art;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Slider Section */
.hero-slider-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), var(--shadow-points);
    border: 1px solid rgba(249, 171, 0, 0.25);
    z-index: 2;
    background: #141823;
    backdrop-filter: blur(10px);
    aspect-ratio: 8 / 5;
}

.hero-slider {
    display: flex;
    width: 500%;
    /* 5 slides * 100% */
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    width: 20%;
    /* 100% / 5 slides */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 24, 35, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    z-index: 10;
    opacity: 0;
}

.hero-slider-container:hover .slider-control {
    opacity: 1;
}

.slider-control.prev {
    left: 16px;
}

.slider-control.next {
    right: 16px;
}

.slider-control:hover {
    background: var(--accent-yellow);
    color: #141823;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 15px rgba(249, 171, 0, 0.4);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(20, 24, 35, 0.5);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--accent-yellow);
    width: 20px;
    border-radius: 4px;
}

.hero-circle-back {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 42, 68, 0.2) 0%, rgba(255, 183, 3, 0.0) 70%);
    filter: blur(20px);
    z-index: 1;
}

/* Leaderboard Tier Badges */
.tier-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}

.badge-bronze {
    background: #854d0e;
    color: #fef08a;
}

.badge-silver {
    background: #e2e8f0;
    color: #475569;
}

.badge-gold {
    background: rgba(249, 171, 0, 0.1);
    color: #b7791f;
    border: 1px solid rgba(249, 171, 0, 0.3);
}

.badge-platinum {
    background: linear-gradient(135deg, #0969da, #10b981);
    color: #ffffff;
}

/* Home Section Header */
.section-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    position: relative;
    padding-left: 14px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--grad-primary);
    border-radius: 4px;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 14.5px;
    padding-left: 14px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.about-card {
    text-align: left;
}

.about-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: var(--shadow-glow);
}

.about-icon-wrapper i {
    color: #fff;
    font-size: 22px;
}

.about-card {
    text-align: left;
    padding: 28px;
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.feature-card {
    text-align: left;
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 42, 68, 0.1);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 42, 68, 0.2);
}

.feature-card:nth-child(2) .feature-icon-wrapper {
    background: rgba(255, 183, 3, 0.1);
    color: var(--accent-yellow);
    border-color: rgba(255, 183, 3, 0.2);
}

.feature-card:nth-child(3) .feature-icon-wrapper {
    background: rgba(0, 240, 118, 0.1);
    color: var(--accent-green);
    border-color: rgba(0, 240, 118, 0.2);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Interactive Calculator Container */
.calculator-section {
    margin-bottom: 60px;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 14px;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.range-slider {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-tertiary);
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-red);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 42, 68, 0.5);
    transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider-val {
    width: 50px;
    text-align: right;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--accent-yellow);
}

.calculator-outputs {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.calc-output-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.calc-output-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.calc-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.calc-value {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
}

.calc-value.points-total {
    font-size: 28px;
    color: var(--accent-yellow);
    text-shadow: var(--shadow-points);
}

.calc-value.earnings-total {
    font-size: 28px;
    color: var(--accent-green);
}

/* --------------------------------------------------------------------------
   5. DASHBOARD VIEW (RIDER INTERFACE)
   -------------------------------------------------------------------------- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.dashboard-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Profile / Status Banner */
.rider-hero-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-main);
}

.rider-hero-card::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 200px;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 42, 68, 0.05) 0%, rgba(255, 183, 3, 0.0) 70%);
    z-index: 1;
}

.rider-hero-left {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
}

.rider-avatar-large {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--grad-primary);
    border: 3px solid var(--accent-red);
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

.rider-meta h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 4px;
}

.rider-meta p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 8px;
}

.tier-pill {
    background: var(--grad-points);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.rider-hero-right {
    z-index: 2;
}

/* Quick Metrics Row */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.metric-card {
    padding: 20px;
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 12px;
}

.metric-header i {
    font-size: 16px;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.metric-desc {
    font-size: 11px;
    color: var(--text-muted);
}

/* Custom Colors for Metrics */
.metric-card.rating i,
.metric-card.rating .metric-value {
    color: var(--accent-yellow);
}

.metric-card.trips i,
.metric-card.trips .metric-value {
    color: var(--accent-blue);
}

.metric-card.points i,
.metric-card.points .metric-value {
    color: var(--accent-yellow);
}

.metric-card.earnings i,
.metric-card.earnings .metric-value {
    color: var(--accent-green);
}

/* Ride Logger */
.ride-logger-card {
    flex: 1;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header-flex h3 {
    font-family: var(--font-heading);
    font-size: 18px;
}

.ride-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 8px;
}

.ride-item {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.ride-item:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="dark"] .ride-item {
    background: rgba(255, 255, 255, 0.02);
}

html[data-theme="dark"] .ride-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-strong);
}

.ride-item-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ride-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 168, 255, 0.1);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ride-info-main h4 {
    font-size: 14px;
    font-weight: 600;
}

.ride-info-main p {
    font-size: 11px;
    color: var(--text-muted);
}

.ride-item-center {
    text-align: center;
}

.ride-rating-display {
    display: flex;
    gap: 2px;
    color: var(--accent-yellow);
    font-size: 12px;
    margin-bottom: 4px;
}

.ride-notes {
    font-size: 11px;
    color: var(--text-secondary);
    font-style: italic;
}

.ride-item-right {
    text-align: right;
}

.ride-points-earned {
    color: var(--accent-yellow);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
}

.ride-fare-earned {
    color: var(--accent-green);
    font-size: 12px;
    font-weight: 500;
}

/* Empty Ride Logger State */
.empty-rides-state {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
}

.empty-rides-state i {
    font-size: 40px;
    margin-bottom: 12px;
}

/* Redemptions / Store Catalog on Right Side */
.dashboard-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.rewards-card-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reward-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}

.reward-sidebar-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
}

.reward-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.reward-item-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reward-thumbnail-mock {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.reward-details-text h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.reward-details-text p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

.reward-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reward-cost-badge {
    background: rgba(255, 183, 3, 0.1);
    border: 1px solid rgba(255, 183, 3, 0.2);
    color: var(--accent-yellow);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.claim-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.claim-btn.ready {
    background: var(--accent-red);
    color: #fff;
}

.claim-btn.ready:hover {
    background: #ff475e;
}

.claim-btn.locked {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   6. NEWS & UPDATES PAGE VIEW
   -------------------------------------------------------------------------- */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.news-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 30px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--grad-primary);
    border-color: transparent;
    color: #fff;
}

.search-box-container {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-box-container i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 10px 16px 10px 40px;
    border-radius: 30px;
    color: var(--text-primary);
    font-size: 13px;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--accent-red);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.news-card-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-category-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(18, 22, 32, 0.85);
    color: var(--accent-yellow);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-date {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.news-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-card p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 20px;
    flex: 1;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    font-size: 12px;
}

.news-read-more {
    color: var(--accent-red);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.news-read-more:hover i {
    transform: translateX(4px);
}

.news-read-more i {
    transition: var(--transition);
}

/* --------------------------------------------------------------------------
   7. VIDEOS PAGE VIEW (LEARNING HUB)
   -------------------------------------------------------------------------- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.video-card {
    padding: 0;
    overflow: hidden;
}

.video-thumbnail-container {
    height: 220px;
    background: linear-gradient(135deg, #1b202e, #11141d);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail-container::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 42, 68, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.video-thumbnail-container i.main-icon {
    font-size: 54px;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 12px;
    z-index: 2;
    transition: var(--transition);
}

.video-thumbnail-container:hover i.main-icon {
    color: rgba(255, 42, 68, 0.25);
    transform: scale(1.1);
}

.video-play-overlay {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding-left: 4px;
    box-shadow: var(--shadow-glow);
    z-index: 3;
    transition: var(--transition);
}

.video-thumbnail-container:hover .video-play-overlay {
    transform: scale(1.1);
    background: #ff475e;
}

.video-duration-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
    z-index: 3;
}

.video-card-body {
    padding: 24px;
}

.video-card-body h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.video-card-body p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   8. RULES & REGULATIONS PAGE VIEW
   -------------------------------------------------------------------------- */
.rules-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--grad-glass);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.accordion-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

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

.accordion-badge {
    background: rgba(255, 42, 68, 0.1);
    color: var(--accent-red);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.accordion-item:nth-child(even) .accordion-badge {
    background: rgba(255, 183, 3, 0.1);
    color: var(--accent-yellow);
}

.accordion-header-left h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
}

.accordion-toggle-icon {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.accordion-item.active .accordion-toggle-icon {
    transform: rotate(180deg);
    color: var(--accent-red);
}

.accordion-item.active .accordion-header {
    border-bottom: 1px solid var(--border-color);
}

.accordion-body {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 13px;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.accordion-item.active .accordion-body {
    padding: 24px;
    max-height: 1000px;
}

.accordion-body ul {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 20px;
}

.accordion-body ul li {
    list-style-type: disc;
}

.accordion-body ul li strong {
    color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   9. MODALS & POPUPS
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
}

.modal-close {
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Modal Form Styles */
.form-row-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.modal-input,
.modal-select {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text-primary);
    margin-top: 6px;
    transition: var(--transition);
}

.modal-input:focus,
.modal-select:focus {
    border-color: var(--accent-red);
}

/* EOD Receipt Layout */
.receipt-wrapper {
    background: #fafaf7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 24px;
    font-family: monospace;
    color: #333333;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

html[data-theme="dark"] .receipt-wrapper {
    background: #1b1e2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e4e6eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.receipt-wrapper::before,
.receipt-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 8px;
}

.receipt-wrapper::before {
    top: 0;
    background: radial-gradient(circle, transparent 30%, var(--bg-secondary) 30%) 0 0/16px 16px;
}

.receipt-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
}

.receipt-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 4px;
}

.receipt-logo span {
    color: var(--accent-yellow);
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.receipt-row.total {
    border-top: 1px dashed var(--border-color);
    padding-top: 12px;
    margin-top: 12px;
    color: var(--text-primary);
    font-weight: bold;
    font-size: 16px;
}

.receipt-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-color);
    font-size: 11px;
}

/* Success Modal Voucher Layout */
.voucher-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.1), rgba(255, 42, 68, 0.05));
    border: 1px dashed var(--accent-yellow);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 16px;
}

.voucher-box i {
    font-size: 40px;
    color: var(--accent-yellow);
    margin-bottom: 14px;
}

.voucher-code {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin: 10px 0;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: inline-block;
}

html[data-theme="dark"] .voucher-code {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

/* --------------------------------------------------------------------------
   10. RESPONSIVE DESIGN (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .metrics-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-hero {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "art"
            "actions";
        text-align: center;
        gap: 20px;
    }

    .hero-desc-bottom {
        margin: 20px auto 0 auto;
    }

    .hero-actions-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 0;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        z-index: 1000;
        border-right: 1px solid var(--border-color);
        box-shadow: var(--shadow-main);
        flex-direction: column;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar.open {
        transform: translateX(280px);
    }

    .sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-menu-close {
        display: flex;
    }

    .sidebar-footer {
        display: block;
    }

    .sidebar-menu {
        flex-direction: column;
        padding: 24px 16px;
        width: 100%;
        gap: 8px;
    }

    .menu-item {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-radius: 12px;
        font-size: 14px;
        width: 100%;
    }

    .menu-item i {
        font-size: 18px;
    }

    .menu-item.active {
        background: var(--bg-secondary);
        color: var(--accent-red);
        box-shadow: var(--shadow-main);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        min-width: 0;
        width: 100%;
        overflow-x: hidden;
    }

    .top-nav {
        padding: 0 16px;
    }

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

    .mobile-page-title {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 16px;
        color: var(--text-primary);
    }

    .page-title-header {
        display: none;
    }

    .top-nav-right {
        gap: 8px;
    }

    .nav-app-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: none;
        min-width: 40px;
    }

    .nav-app-btn span {
        display: none !important;
    }

    .nav-app-btn i {
        margin: 0 !important;
        font-size: 16px;
    }

    .live-badge {
        display: none;
    }

    @media (max-width: 480px) {

        .nav-app-btn,
        .nav-dashboard-btn {
            display: none;
        }

        .lang-selector-container {
            margin-right: 0;
        }
    }

    .page-view {
        padding: 20px;
    }

    .home-hero {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "art"
            "actions";
        text-align: center;
        gap: 20px;
    }

    .hero-title-section h1 {
        font-size: 32px;
    }

    .hero-desc-bottom {
        margin: 20px auto 0 auto;
    }

    .hero-badges {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-badges .glow-btn,
    .hero-badges .sec-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

    .news-filters {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 8px !important;
        margin-bottom: 16px !important;
        -webkit-overflow-scrolling: touch;
        gap: 8px !important;
        justify-content: flex-start !important;
    }

    .news-filters::-webkit-scrollbar {
        display: none !important;
    }

    .filter-btn {
        flex-shrink: 0 !important;
    }

    .leaderboard-card-wrapper {
        padding: 12px 6px !important;
        margin-bottom: 30px !important;
        border-radius: 12px !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: auto !important;
    }

    .leaderboard-card-wrapper table tr th {
        padding: 8px 6px !important;
        font-size: 10px !important;
    }

    .leaderboard-card-wrapper table tr td {
        padding: 8px 6px !important;
        font-size: 12px !important;
    }

    .leaderboard-card-wrapper table tr td .tier-badge {
        font-size: 8px !important;
        padding: 2px 5px !important;
    }

    .section-title {
        font-size: 22px !important;
        margin-bottom: 6px !important;
    }

    .section-subtitle {
        font-size: 13px !important;
        margin-bottom: 20px !important;
    }

    .accordion-header {
        padding: 12px 16px !important;
    }

    .accordion-header h3 {
        font-size: 14px !important;
    }

    .accordion-body {
        padding: 0 16px 14px 16px !important;
        font-size: 13px !important;
    }

    .glass-card {
        border-radius: 12px !important;
        padding: 16px !important;
        border-color: rgba(0, 0, 0, 0.08) !important;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   CTA - APP DOWNLOAD SECTION
   -------------------------------------------------------------------------- */
.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 60px;
    padding: 36px 40px;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.08) 0%, rgba(249, 171, 0, 0.08) 100%);
    border: 1px solid rgba(227, 30, 36, 0.15);
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.cta-icon {
    font-size: 48px;
    color: var(--accent-red);
    flex-shrink: 0;
}

.cta-text h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-text p {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 500px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   LANGUAGE SELECTOR
   -------------------------------------------------------------------------- */
.lang-selector-container {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 3px;
    border-radius: 30px;
    margin-right: 12px;
}

.lang-btn {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background: var(--accent-red);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(227, 30, 36, 0.2);
}

/* App container transition for smooth splash entrance */
.app-container {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.app-container.loaded {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   OPENING SPLASH SCREEN ANIMATION
   ========================================================================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--accent-red) 0%, #a30e12 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    /* Higher than everything else */
    transition: opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1), transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.splash-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.splash-logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3.5px solid #ffffff;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
    animation: splashZoomIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, logoPulse 2s ease-in-out infinite alternate 1s;
    z-index: 2;
}

.splash-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(249, 171, 0, 0.15) 70%, transparent 100%);
    filter: blur(15px);
    z-index: 1;
    animation: glowPulse 2s ease-in-out infinite alternate;
}

.splash-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 2.5px;
    color: #ffffff;
    margin-top: 10px;
    opacity: 0;
    animation: splashFadeInUp 0.6s ease-out 0.3s forwards;
}

.splash-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0;
    animation: splashFadeInUp 0.6s ease-out 0.5s forwards;
}

.splash-loader-bar {
    width: 180px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 12px;
    opacity: 0;
    animation: splashFadeIn 0.5s ease-out 0.7s forwards;
}

.splash-loader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffeb3b 0%, #f9ab00 100%);
    border-radius: 10px;
    animation: loaderFill 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Animations */
@keyframes splashZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.4) rotate(-30deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes logoPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 30px rgba(227, 30, 36, 0.20);
    }

    100% {
        transform: scale(1.04);
        box-shadow: 0 8px 40px rgba(227, 30, 36, 0.35);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes splashFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes splashFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes loaderFill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* Exit transition */
.splash-screen.fade-out {
    opacity: 0;
    transform: scale(1.06);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   11. CONTACT US PAGE VIEW
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.officer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 24px;
    border-top: 4px solid var(--accent-red);
}

.officer-card.hari-card {
    border-top-color: var(--accent-red);
}

.officer-card.gunaraj-card {
    border-top-color: var(--accent-yellow);
}

.officer-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1) 0%, rgba(249, 171, 0, 0.1) 100%);
    box-shadow: 0 4px 12px var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.officer-card.gunaraj-card .officer-avatar {
    color: var(--accent-yellow);
}

.officer-meta h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.officer-title {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-link i {
    color: var(--accent-red);
}

.officer-card.gunaraj-card .contact-link i {
    color: var(--accent-yellow);
}

.contact-link:hover {
    transform: translateY(-2px);
    border-color: var(--accent-red);
    background: rgba(227, 30, 36, 0.02);
}

.officer-card.gunaraj-card .contact-link:hover {
    border-color: var(--accent-yellow);
    background: rgba(249, 171, 0, 0.02);
}

.company-card {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 251, 240, 0.95)) !important;
    border: 1px solid rgba(249, 171, 0, 0.15);
}

html[data-theme="dark"] .company-card {
    background: linear-gradient(135deg, rgba(18, 21, 31, 0.95), rgba(30, 24, 15, 0.95)) !important;
}

.company-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.company-tagline {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.company-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.detail-item i {
    font-size: 32px;
    color: var(--accent-red);
    margin-top: 3px;
    flex-shrink: 0;
}

.detail-item:nth-child(2) i {
    color: var(--accent-blue);
}

.detail-item:nth-child(3) i {
    color: var(--accent-yellow);
}

.detail-label {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.detail-value a {
    transition: var(--transition);
}

.detail-value a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .company-card {
        grid-column: span 1;
    }

    .company-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* --------------------------------------------------------------------------
   12. INTERACTION ANIMATIONS (PREMIUM TRANSITIONS)
   -------------------------------------------------------------------------- */
@keyframes riseUp {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered load for cards inside the active view */
.page-view.active .glass-card,
.page-view.active .leaderboard-card-wrapper,
.page-view.active .cta-section {
    animation: riseUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Stagger delays to construct a cascade effect */
.page-view.active .about-grid .glass-card:nth-child(1),
.page-view.active .features-grid .glass-card:nth-child(1),
.page-view.active .contact-grid .hari-card {
    animation-delay: 0.05s;
}

.page-view.active .about-grid .glass-card:nth-child(2),
.page-view.active .features-grid .glass-card:nth-child(2),
.page-view.active .contact-grid .gunaraj-card {
    animation-delay: 0.12s;
}

.page-view.active .about-grid .glass-card:nth-child(3),
.page-view.active .features-grid .glass-card:nth-child(3),
.page-view.active .contact-grid .company-card {
    animation-delay: 0.19s;
}

/* Leaderboard Staggered entrance */
.page-view.active #leaderboard-tbody tr {
    animation: riseUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-view.active #leaderboard-tbody tr:nth-child(1) {
    animation-delay: 0.10s;
}

.page-view.active #leaderboard-tbody tr:nth-child(2) {
    animation-delay: 0.14s;
}

.page-view.active #leaderboard-tbody tr:nth-child(3) {
    animation-delay: 0.18s;
}

.page-view.active #leaderboard-tbody tr:nth-child(4) {
    animation-delay: 0.22s;
}

.page-view.active #leaderboard-tbody tr:nth-child(5) {
    animation-delay: 0.26s;
}

.page-view.active #leaderboard-tbody tr:nth-child(n+6) {
    animation-delay: 0.3s;
}

/* --------------------------------------------------------------------------
   13. TEL LINKS & MAP CARD
   -------------------------------------------------------------------------- */
.tel-link {
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.tel-link:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

/* Map card — spans full width like .company-card */
.map-card {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.map-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.map-iframe-wrapper {
    width: 100%;
    height: 320px;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 4px;
}

.map-iframe-wrapper iframe {
    display: block;
}

.map-btn {
    align-self: flex-start;
}

}

/* --------------------------------------------------------------------------
   14. RIDER GALLERY VIEW
   -------------------------------------------------------------------------- */
.gallery-header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.gallery-filters {
    display: flex;
    gap: 12px;
    background: rgba(20, 24, 35, 0.4);
    padding: 6px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.gallery-filters .filter-btn {
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(20, 24, 35, 0.85) 0%, rgba(30, 35, 50, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(249, 171, 0, 0.3);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-image-wrapper img {
    transform: scale(1.08);
}

.gallery-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(227, 30, 36, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-yellow);
    color: #141823;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-zoom-icon {
    transform: scale(1);
}

.gallery-card-info {
    padding: 20px;
}

.gallery-card-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.gallery-card-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.gallery-card-info p {
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.4;
}

/* Lightbox Enhancements */
.lightbox-body {
    position: relative;
    max-width: 100%;
}

.lightbox-nav-btn {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(20, 24, 35, 0.8) !important;
}

.lightbox-nav-btn:hover {
    background: var(--accent-yellow) !important;
    color: #141823 !important;
    border-color: var(--accent-yellow) !important;
    box-shadow: 0 0 15px rgba(249, 171, 0, 0.4);
}

/* Media Queries for Gallery View */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-filters {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 16px;
        padding: 10px;
    }

    .lightbox-nav-btn.prev {
        left: -15px;
    }

    .lightbox-nav-btn.next {
        right: -15px;
    }
}