/* ═════════════════════════════════════════════════════════════════════
   PRO 11 — 60 DAYS WINTER ARC CHALLENGE
   ULTRA-LUXURY CYBER-ATHLETIC DESIGN SYSTEM
   ═════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

:root {
    /* Brand — PRO 11 Electric Fiery Red-Orange */
    --primary:          #FF4500;
    --primary-hover:    #FF5722;
    --primary-dark:     #E63500;
    --primary-deep:     #B72700;
    --primary-light:    rgba(255, 69, 0, 0.12);
    --primary-glow:     rgba(255, 69, 0, 0.35);
    --primary-intense:  rgba(255, 69, 0, 0.65);
    --primary-gradient: linear-gradient(135deg, #FF5722 0%, #E63500 50%, #C42D00 100%);
    --primary-gradient-subtle: linear-gradient(135deg, rgba(255, 69, 0, 0.15) 0%, rgba(230, 53, 0, 0.04) 100%);

    /* Accents */
    --accent-amber:     #F59E0B;
    --accent-gold:      #FBBF24;
    --accent-cyan:      #06B6D4;
    --accent-emerald:   #10B981;
    --danger:           #EF4444;

    /* Dark Mode Surfaces — Cyber Stealth & Glassmorphism */
    --bg-app:           #07080B;
    --bg-main:          #090B0F;
    --bg-card:          rgba(16, 20, 28, 0.72);
    --bg-card-solid:    #11141C;
    --bg-card-hover:    rgba(22, 28, 40, 0.85);
    --bg-card-inner:    rgba(10, 12, 17, 0.6);
    --bg-stat:          rgba(18, 23, 33, 0.8);
    --overlay-bg:       rgba(5, 7, 10, 0.88);

    /* Sidebar */
    --sidebar-bg:       rgba(10, 12, 16, 0.96);
    --sidebar-border:   rgba(255, 255, 255, 0.07);
    --sidebar-text:     #94A3B8;
    --sidebar-hover:    rgba(255, 255, 255, 0.05);
    --sidebar-active-bg: linear-gradient(90deg, rgba(255, 69, 0, 0.18) 0%, rgba(255, 69, 0, 0.03) 100%);
    --sidebar-active-text: #FF5722;

    /* Borders & Glassmorphism */
    --border:           rgba(255, 255, 255, 0.08);
    --border-card:      rgba(255, 255, 255, 0.09);
    --border-hover:     rgba(255, 69, 0, 0.45);
    --border-focus:     #FF4500;
    --glass-blur:       blur(16px);

    /* Typography Colors */
    --text-main:        #FFFFFF;
    --text-sub:         #E2E8F0;
    --text-muted:       #94A3B8;
    --text-faint:       #64748B;

    /* Font Families */
    --font-body:        'Plus Jakarta Sans', system-ui, sans-serif;
    --font-heading:     'Outfit', system-ui, sans-serif;
    --font-stat:        'Bebas Neue', sans-serif;
    --font-mono:        'Space Grotesk', monospace;

    /* Shadows & Elevations */
    --shadow-card:      0 10px 30px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    --shadow-hover:     0 20px 40px -10px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 69, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    --shadow-glow:      0 0 30px var(--primary-glow);
    --shadow-sm:        0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-md:        0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg:        0 16px 48px rgba(0, 0, 0, 0.65);

    /* Layout & Radii */
    --radius-sm:        8px;
    --radius-md:        12px;
    --radius-lg:        18px;
    --radius-xl:        24px;
    --sidebar-w:        260px;
    --transition:       all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 15px;
    background: var(--bg-app);
    color-scheme: dark;
}

body {
    font-family: var(--font-body);
    background: var(--bg-app);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

/* ─── Global Scrollbars ─── */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: rgba(8, 10, 14, 0.6);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ─── Utilities ─── */
.w-full       { width: 100%; }
.text-center  { text-align: center; }
.text-muted   { color: var(--text-muted); }
.text-main    { color: var(--primary) !important; }
.text-danger  { color: var(--danger) !important; }
.text-warning { color: var(--accent-amber) !important; }
.mb-2  { margin-bottom: 8px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mt-4  { margin-top: 16px; }
.gap-2 { gap: 8px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-end     { display: flex; justify-content: flex-end; align-items: center; }
.justify-center{ display: flex; justify-content: center; align-items: center; }
.flex-align   { display: flex; align-items: center; gap: 8px; }

/* ═════════════════════════════════════════════════════════════════════
   OVERLAYS & MODALS
   ═════════════════════════════════════════════════════════════════════ */
.overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow-y: auto;
    padding: 24px 16px;
    box-sizing: border-box;
}
.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

#login-overlay.active ~ .mobile-header,
.overlay.active ~ .mobile-header {
    display: none !important;
}

.login-card, .modal-card {
    background: linear-gradient(135deg, rgba(24, 28, 38, 0.95) 0%, rgba(14, 17, 24, 0.98) 100%);
    padding: 44px;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-card), 0 0 40px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-card);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    backdrop-filter: blur(20px);
}
.modal-card {
    max-width: 540px;
}
.modal-card-lg {
    max-width: 720px;
    padding: 36px;
    max-height: 90vh;
    overflow-y: auto;
}
.overlay.active .login-card,
.overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-stat);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
}
.btn-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

/* Login card branding */
.login-card .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 26px;
}
.login-card .brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.4);
}
.login-card .brand-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #fff 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.login-card h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

/* ─── Form Inputs ─── */
.input-group {
    margin-bottom: 18px;
    text-align: left;
}
.input-group label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 7px;
}
.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card-inner);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--primary);
    background: rgba(22, 27, 38, 0.9);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.input-group input::placeholder,
.input-group textarea::placeholder {
    color: var(--text-faint);
}

/* ─── Goal Pills ─── */
.goal-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.goal-pill {
    cursor: pointer;
}
.goal-pill input[type="checkbox"] {
    display: none;
}
.goal-pill span {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-stat);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    user-select: none;
}
.goal-pill:hover span {
    border-color: var(--primary);
    color: var(--text-main);
    transform: translateY(-1px);
}
.goal-pill input:checked + span {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 69, 0, 0.4);
    font-weight: 700;
}

/* ─── PRO 11 Special Task Tickable Card ─── */
.special-task-check {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--bg-card-inner);
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}
.special-task-check:hover {
    border-color: rgba(255, 69, 0, 0.45);
    background: rgba(255, 69, 0, 0.06);
}
.special-task-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.special-task-box {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    color: transparent;
    font-size: 14px;
}
.special-task-check input:checked + .special-task-box {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 14px rgba(255, 69, 0, 0.5);
}
.special-task-check:has(input:checked) {
    border-color: rgba(255, 69, 0, 0.6);
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.14) 0%, rgba(16, 20, 28, 0.85) 100%);
    box-shadow: 0 0 18px rgba(255, 69, 0, 0.12);
}
.special-task-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.special-task-title {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
}
.special-task-sub {
    font-size: 12px;
    color: var(--text-muted);
}
.special-task-remarks-wrap {
    animation: fadeUp 0.22s ease both;
}

/* ─── Daily Motivational Quote Card & Login Popup ─── */
.daily-quote-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.12) 0%, rgba(18, 22, 32, 0.92) 55%, rgba(12, 15, 22, 0.96) 100%);
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-xl);
    padding: 20px 26px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-card), 0 0 24px rgba(255, 69, 0, 0.08);
}
.dq-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.dq-card-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(255, 69, 0, 0.16);
    border: 1px solid rgba(255, 69, 0, 0.4);
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.dq-card-pill i {
    font-size: 13px;
}
.dq-card-phase {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.dq-card-quote {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    letter-spacing: -0.01em;
    margin: 0;
}
.dq-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.dq-card-tagline {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.07em;
}
.dq-card-brand {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-faint);
    letter-spacing: 0.08em;
}

.daily-quote-modal-card {
    max-width: 480px;
    padding: 36px 32px 30px;
    border: 1.5px solid rgba(255, 69, 0, 0.42);
    background: radial-gradient(circle at top center, rgba(255, 69, 0, 0.18) 0%, rgba(15, 19, 28, 0.98) 65%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 36px rgba(255, 69, 0, 0.22);
}
.dq-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
}
.dq-modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.25) 0%, rgba(255, 69, 0, 0.08) 100%);
    border: 1.5px solid rgba(255, 69, 0, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
    box-shadow: 0 0 24px rgba(255, 69, 0, 0.3);
}
.dq-modal-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.dq-modal-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 18px;
}
.dq-modal-quote {
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    margin: 0 0 18px;
    letter-spacing: -0.015em;
}
.dq-modal-footer-line {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-gold);
    margin-bottom: 22px;
}
.dq-modal-btn {
    min-width: 190px;
}

@media (max-width: 768px) {
    .daily-quote-card {
        padding: 16px;
        border-radius: 16px;
        margin-bottom: 16px;
        gap: 10px;
    }
    .dq-card-quote {
        font-size: 16.5px;
    }
    .dq-card-phase {
        font-size: 9.5px;
    }
    .dq-card-tagline, .dq-card-brand {
        font-size: 9px;
    }
    .daily-quote-modal-card {
        padding: 28px 20px 24px;
    }
    .dq-modal-quote {
        font-size: 19px;
    }
}

/* ─── Buttons ─── */
.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.02em;
    box-shadow: 0 4px 18px rgba(255, 69, 0, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(255, 69, 0, 0.5);
    filter: brightness(1.08);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    padding: 10px 18px;
    border: 1.5px solid var(--border);
    color: var(--text-sub);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}
.btn-danger-outline {
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: var(--danger) !important;
}
.btn-danger-outline:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: var(--danger) !important;
}

/* ═════════════════════════════════════════════════════════════════════
   APP SHELL & SIDEBAR NAVIGATION
   ═════════════════════════════════════════════════════════════════════ */
.app-container {
    display: flex;
    height: 100vh;
    background: var(--bg-app);
}
.mobile-header {
    display: none;
}

.sidebar {
    width: var(--sidebar-w);
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    padding: 0;
    z-index: 10;
    flex-shrink: 0;
    border-right: 1px solid var(--sidebar-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px 22px;
    border-bottom: 1px solid var(--sidebar-border);
    margin-bottom: 16px;
}
.brand-logo-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 69, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.3);
    flex-shrink: 0;
}
.brand-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.brand-title-group {
    display: flex;
    flex-direction: column;
}
.brand-name {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #fff;
    line-height: 1.1;
}
.brand-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px;
    flex-grow: 1;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    border: 1px solid transparent;
}
.nav-item i {
    font-size: 20px;
    transition: var(--transition);
    flex-shrink: 0;
}
.nav-item:hover {
    background: var(--sidebar-hover);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.05);
}
.nav-item:hover i {
    transform: scale(1.1);
    color: var(--primary);
}
.nav-item.active {
    background: var(--sidebar-active-bg);
    color: #fff;
    border: 1px solid rgba(255, 69, 0, 0.25);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.15);
}
.nav-item.active i {
    color: var(--primary);
}
.nav-active-pip {
    margin-left: auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}
.nav-item.text-danger {
    color: #F87171 !important;
}
.nav-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #EF4444 !important;
}
.mt-auto {
    margin-top: auto;
}

/* Sidebar User Info */
.user-info {
    padding: 16px 18px;
    border-top: 1px solid var(--sidebar-border);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    background: rgba(15, 18, 26, 0.6);
}
.user-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 69, 0, 0.5);
    box-shadow: 0 0 12px rgba(255, 69, 0, 0.3);
}
.status-indicator {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10B981;
    border: 2px solid var(--sidebar-bg);
    box-shadow: 0 0 8px #10B981;
}
.user-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.user-name {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-role {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.btn-sidebar-settings {
    background: transparent;
    border: none;
    color: var(--sidebar-text);
    font-size: 18px;
    margin-left: auto;
    padding: 6px;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
}
.btn-sidebar-settings:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* ═════════════════════════════════════════════════════════════════════
   MAIN DASHBOARD CONTENT
   ═════════════════════════════════════════════════════════════════════ */
.main-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 32px 40px;
    scroll-behavior: smooth;
    background: radial-gradient(circle at top right, rgba(255, 69, 0, 0.06) 0%, transparent 60%),
                radial-gradient(circle at bottom left, rgba(230, 53, 0, 0.03) 0%, transparent 50%),
                var(--bg-main);
}
.tab-content {
    display: none;
    animation: fadeUp 0.38s ease both;
}
.tab-content.active {
    display: block;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Top Header ─── */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.header-welcome {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.header-pretitle {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pulse-beacon {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
    animation: beaconPulse 1.8s infinite;
}
@keyframes beaconPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}
/* ─── Winter Arc Header Titles ─── */
.arc-title-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.arc-main-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.1;
    margin: 0;
}
.arc-sub-title {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}
.date-badge {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-sub);
    background: var(--bg-card);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ─── Back to Website Navigation Buttons ─── */
.btn-back-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 69, 0, 0.12);
    border: 1px solid rgba(255, 69, 0, 0.35);
    border-radius: 50px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-back-pill i {
    color: var(--primary);
    font-size: 15px;
    transition: transform 0.2s ease;
}
.btn-back-pill:hover, .btn-back-pill:active {
    background: var(--primary-gradient);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(255, 69, 0, 0.4);
    color: #fff;
    transform: translateY(-1px);
}
.btn-back-pill:hover i, .btn-back-pill:active i {
    color: #fff;
}
.btn-back-website-header {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    flex-shrink: 0;
    transition: var(--transition);
}
.btn-back-website-header:hover, .btn-back-website-header:active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(0.95);
    color: #fff;
}
.nav-item.nav-back-website {
    color: var(--primary) !important;
    font-weight: 700;
}
.nav-item.nav-back-website:hover {
    background: rgba(255, 69, 0, 0.14) !important;
    color: #fff !important;
}
.nav-item.nav-back-website i {
    color: var(--primary);
}

/* ═════════════════════════════════════════════════════════════════════
   CHALLENGER DOSSIER HERO BANNER
   ═════════════════════════════════════════════════════════════════════ */
.challenger-hero-card {
    background: linear-gradient(135deg, rgba(22, 27, 38, 0.85) 0%, rgba(12, 15, 22, 0.95) 100%);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 24px 30px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: var(--transition);
}
.challenger-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
}
.challenger-hero-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

.hero-left {
    display: flex;
    align-items: center;
    gap: 22px;
}
.hero-avatar-wrap {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(135deg, #FF5722, #B72700);
    box-shadow: 0 0 24px rgba(255, 69, 0, 0.35);
    flex-shrink: 0;
}
.hero-avatar {
    width: 100%;
    height: 100%;
    border-radius: 17px;
    object-fit: cover;
    background: #111;
}
.hero-avatar-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--bg-app);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 0 10px var(--primary);
}

.hero-identity {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hero-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.hero-tier-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(255, 69, 0, 0.12);
    border: 1px solid rgba(255, 69, 0, 0.3);
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.06em;
}
.hero-phase-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--accent-gold);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.hero-name {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.1;
}
.hero-meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-meta-chip {
    font-size: 12.5px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.hero-meta-chip i {
    color: var(--primary);
}

/* Hero Right: Mission Progress Gauge */
.hero-right {
    min-width: 260px;
    flex-shrink: 0;
}
.hero-arc-gauge {
    background: rgba(10, 12, 17, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.gauge-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.gauge-pct {
    font-family: var(--font-stat);
    font-size: 20px;
    color: var(--primary);
    letter-spacing: 0.05em;
}
.gauge-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.gauge-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 20px;
    box-shadow: 0 0 14px rgba(255, 69, 0, 0.6);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gauge-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--text-faint);
    font-weight: 600;
}
.btn-hero-edit {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-sub);
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-hero-edit:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ═════════════════════════════════════════════════════════════════════
   PRE-LAUNCH KICKOFF BANNER (STARTS NOV 23)
   ═════════════════════════════════════════════════════════════════════ */
.prelaunch-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(255, 69, 0, 0.08) 50%, rgba(16, 20, 28, 0.9) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--radius-xl);
    padding: 22px 28px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 158, 11, 0.1);
}
.prelaunch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #F59E0B 50%, transparent 100%);
}
.prelaunch-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}
.prelaunch-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 26px;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}
.prelaunch-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.prelaunch-pretitle {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}
.prelaunch-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}
.text-accent-gold {
    color: #FBBF24 !important;
}
.prelaunch-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
    max-width: 680px;
}
.countdown-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 12, 17, 0.85);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 14px 22px;
    border-radius: var(--radius-md);
    min-width: 140px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}
.countdown-badge span:first-child {
    font-family: var(--font-stat);
    font-size: 28px;
    color: #FBBF24;
    letter-spacing: 0.05em;
    line-height: 1;
}
.countdown-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-faint);
    margin-top: 4px;
}

/* ═════════════════════════════════════════════════════════════════════
   DASHBOARD GRID & CARDS
   ═════════════════════════════════════════════════════════════════════ */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-card);
    transition: var(--transition);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    position: relative;
}
.card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

.card-header-styled {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.card-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.card-icon-chip {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.card-icon-orange {
    background: rgba(255, 69, 0, 0.15);
    color: var(--primary);
    border: 1px solid rgba(255, 69, 0, 0.3);
}
.card-icon-gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.card-icon-red {
    background: rgba(230, 53, 0, 0.15);
    color: var(--primary);
    border: 1px solid rgba(230, 53, 0, 0.3);
}

.card-title-group h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.card-subtitle {
    font-size: 12px;
    color: var(--text-muted);
}

/* ─── Goal Widget ─── */
.goal-widget {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(24, 28, 38, 0.85) 0%, rgba(14, 17, 24, 0.95) 100%);
    border-left: 4px solid var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.goal-widget-content {
    display: flex;
    align-items: center;
    gap: 18px;
}
.goal-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary-gradient-subtle);
    border: 1px solid rgba(255, 69, 0, 0.35);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 0 16px rgba(255, 69, 0, 0.25);
    flex-shrink: 0;
}
.goal-pretitle {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.12em;
    margin-bottom: 2px;
}
.goal-heading {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}
.goal-heading.text-main {
    color: var(--primary) !important;
}
.goal-sub {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 2px;
}
.btn-goal-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid var(--border);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.btn-goal-action:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
    transform: translateY(-2px);
}

/* ─── Current Stats Grid ─── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.stat-box {
    background: var(--bg-card-inner);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-box:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}
.stat-box-streak {
    border-color: rgba(255, 69, 0, 0.25);
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.08) 0%, rgba(10, 12, 17, 0.7) 100%);
}
.stat-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.stat-label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}
.stat-mini-icon {
    font-size: 16px;
    color: var(--text-faint);
}
.stat-mini-icon.fire-icon {
    color: var(--primary);
    filter: drop-shadow(0 0 6px rgba(255, 69, 0, 0.5));
}
.stat-main {
    margin-top: 4px;
}
.stat-value {
    font-family: var(--font-stat);
    font-size: 32px;
    color: #fff;
    letter-spacing: 0.04em;
    line-height: 1;
}
.streak-value {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
}
.stat-footer {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 4px;
    min-height: 18px;
}
.stat-trend.positive {
    color: #10B981;
    font-weight: 600;
}
.stat-trend.negative {
    color: var(--primary);
    font-weight: 600;
}
.stat-badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    font-size: 11px;
    font-family: var(--font-mono);
}
.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    animation: beaconPulse 1.4s infinite;
}

.btn-quick-metric {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ─── Gamification & Badges ─── */
.tier-pill {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.1) 100%);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}
.badges-showcase {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    text-align: center;
    transition: var(--transition);
}
.badge-item:hover {
    transform: translateY(-2px);
}

/* ═════════════════════════════════════════════════════════════════════
   60-DAY TRAINING ROADMAP CALENDAR
   ═════════════════════════════════════════════════════════════════════ */
.days-tracker {
    grid-column: 1 / -1;
}
.tracker-header-styled {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
}
.tracker-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tracker-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.roadmap-legend {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11.5px;
    color: var(--text-muted);
}
.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.legend-dot.completed {
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}
.legend-dot.today {
    background: transparent;
    border: 2px solid var(--primary);
}
.legend-dot.milestone {
    background: var(--accent-gold);
    box-shadow: 0 0 8px var(--accent-gold);
}

.roadmap-progress-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}
.roadmap-progress-bar {
    flex-grow: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
}
.roadmap-count {
    font-family: var(--font-stat);
    font-size: 18px;
    color: var(--text-main);
    letter-spacing: 0.04em;
    min-width: 90px;
}
.btn-refresh-styled {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-card-inner);
    border: 1px solid var(--border);
    color: var(--text-sub);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 17px;
    transition: var(--transition);
}
.btn-refresh-styled:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: rotate(180deg);
}

/* ─── 60-Day Grid ─── */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    gap: 10px;
}
.day-box {
    aspect-ratio: 1;
    background: rgba(18, 22, 31, 0.7);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: var(--font-stat);
    font-size: 17px;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
    user-select: none;
}
.day-box:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(26, 32, 45, 0.9);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 12px rgba(255, 69, 0, 0.25);
    z-index: 2;
}

/* Completed Day */
.day-box.completed {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 69, 0, 0.4);
    font-weight: 700;
}
.day-box.completed::after {
    content: '✓';
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 900;
    position: absolute;
    bottom: 2px;
    color: rgba(255, 255, 255, 0.9);
}

/* Today's Day Active */
.day-box.today-active {
    border: 2px solid var(--primary);
    box-shadow: 0 0 16px rgba(255, 69, 0, 0.6);
    color: #fff;
    animation: tileGlow 2s infinite;
}
@keyframes tileGlow {
    0%, 100% { box-shadow: 0 0 12px rgba(255, 69, 0, 0.4); }
    50% { box-shadow: 0 0 22px rgba(255, 69, 0, 0.85); }
}

/* Milestone Day (15, 30, 45, 60) */
.day-box.milestone {
    border-color: rgba(245, 158, 11, 0.4);
}
.day-box.milestone::before {
    content: '★';
    font-size: 8px;
    position: absolute;
    top: 2px;
    right: 3px;
    color: var(--accent-gold);
}

/* Kickoff Day 1 */
.day-box.kickoff-day {
    border-color: rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(18, 22, 31, 0.8) 100%);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.25);
}
.day-box.kickoff-day .day-sub-date {
    color: #FBBF24;
    font-weight: 800;
}
.day-sub-date {
    font-family: var(--font-mono);
    font-size: 7.5px;
    font-weight: 700;
    color: var(--text-faint);
    line-height: 1;
    margin-top: 1px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    pointer-events: none;
}
.day-num-label {
    line-height: 1;
    pointer-events: none;
}

/* ═════════════════════════════════════════════════════════════════════
   LEADERBOARD & ADMIN TABLES
   ═════════════════════════════════════════════════════════════════════ */
.table-responsive {
    overflow-x: auto;
}
.leaderboard-table, .admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}
.leaderboard-table th, .admin-table th {
    text-align: left;
    padding: 12px 18px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-faint);
}
.leaderboard-table td, .admin-table td {
    padding: 14px 18px;
    background: var(--bg-card-inner);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
    font-size: 13.5px;
    transition: var(--transition);
}
.leaderboard-table tr td:first-child,
.admin-table tr td:first-child {
    border-left: 1px solid var(--border);
    border-top-left-radius: var(--radius-sm);
    border-bottom-left-radius: var(--radius-sm);
}
.leaderboard-table tr td:last-child,
.admin-table tr td:last-child {
    border-right: 1px solid var(--border);
    border-top-right-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
}
.leaderboard-table tr:hover td,
.admin-table tr:hover td {
    background: rgba(25, 31, 44, 0.9);
    border-color: rgba(255, 69, 0, 0.35);
}

.sm-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 69, 0, 0.3);
}

.rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-family: var(--font-stat);
    font-size: 16px;
    font-weight: 700;
}
.rank.gold {
    background: linear-gradient(135deg, #F59E0B, #B45309);
    color: #fff;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}
.rank.silver {
    background: linear-gradient(135deg, #94A3B8, #475569);
    color: #fff;
}
.rank.bronze {
    background: linear-gradient(135deg, #D97706, #78350F);
    color: #fff;
}
.rank.default {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

/* ═════════════════════════════════════════════════════════════════════
   ADMIN OVERVIEW & KPI CARDS
   ═════════════════════════════════════════════════════════════════════ */
.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.admin-kpi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}
.admin-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}
.kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.kpi-blue   { background: rgba(59, 130, 246, 0.15); color: #3B82F6; border: 1px solid rgba(59, 130, 246, 0.3); }
.kpi-green  { background: rgba(16, 185, 129, 0.15); color: #10B981; border: 1px solid rgba(16, 185, 129, 0.3); }
.kpi-amber  { background: rgba(245, 158, 11, 0.15); color: #F59E0B; border: 1px solid rgba(245, 158, 11, 0.3); }
.kpi-purple { background: rgba(168, 85, 247, 0.15); color: #A855F7; border: 1px solid rgba(168, 85, 247, 0.3); }
.kpi-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.kpi-value {
    font-family: var(--font-stat);
    font-size: 26px;
    color: #fff;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

/* ═════════════════════════════════════════════════════════════════════
   PHOTOS GRID
   ═════════════════════════════════════════════════════════════════════ */
.photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.photo-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.photo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.photo-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.06em;
}
.before-badge {
    background: rgba(59, 130, 246, 0.15);
    color: #60A5FA;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.after-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.photo-upload-zone {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 2px dashed rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    background: rgba(10, 12, 17, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.photo-upload-zone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-faint);
    text-align: center;
}
.upload-placeholder i {
    font-size: 32px;
    color: var(--primary);
}

/* ═════════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═════════════════════════════════════════════════════════════════════ */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}
.toast {
    background: rgba(18, 24, 38, 0.95);
    border: 1px solid var(--border-hover);
    color: #fff;
    padding: 16px 22px;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(16px);
}
.toast.show {
    opacity: 1;
    transform: translateX(0);
}
.toast-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
}
.toast-body {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* ═════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   ═════════════════════════════════════════════════════════════════════ */

/* Global Mobile Scroll & Touch Smoothness */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 1200px) {
    .calendar-grid {
        grid-template-columns: repeat(10, 1fr);
    }
    .admin-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .challenger-hero-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-right {
        width: 100%;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .calendar-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (max-width: 768px) {
    /* ── Smooth Native Mobile Document Scroll (Eliminates All Scroll Lock) ── */
    html {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    body {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-y: auto !important;
        touch-action: pan-y !important;
        position: relative !important;
    }
    .app-container {
        flex-direction: column !important;
        height: auto !important;
        min-height: 100vh !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow: visible !important;
        position: relative !important;
    }

    /* ── Mobile Sticky Header ── */
    .mobile-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 16px !important;
        padding-top: calc(10px + env(safe-area-inset-top, 0px)) !important;
        background: rgba(9, 11, 16, 0.96) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        color: #fff !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 90 !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }
    .mobile-brand-group {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }
    .mobile-header .brand-logo {
        width: 28px;
        height: 28px;
        object-fit: contain;
        flex-shrink: 0;
    }
    .brand-title-wrap {
        display: flex;
        flex-direction: column;
        line-height: 1.15;
        min-width: 0;
        overflow: hidden;
    }
    .mobile-header .brand-name {
        font-family: var(--font-heading);
        font-weight: 800;
        font-size: 15px;
        letter-spacing: 0.02em;
        background: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        white-space: nowrap;
    }
    .brand-subtext {
        font-family: var(--font-mono);
        font-size: 8.5px;
        font-weight: 700;
        color: var(--primary);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        white-space: nowrap;
    }
    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }
    .mobile-header .btn-icon {
        width: 36px;
        height: 36px;
        font-size: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-main);
        touch-action: manipulation;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        transition: transform 0.15s ease, color 0.15s ease;
    }
    .mobile-header .btn-icon:active {
        transform: scale(0.9);
        color: var(--primary);
    }

    /* ── Main Viewport Padding & Native Unrestricted Scroll ── */
    .main-content {
        padding: 14px 14px calc(100px + env(safe-area-inset-bottom, 0px)) !important;
        height: auto !important;
        flex: 1 0 auto !important;
        overflow: visible !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-y: auto !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    /* ── Top Header (Winter Arc + The Pre-New Year's Resolution) ── */
    .top-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 12px;
        margin-bottom: 16px;
        flex-wrap: wrap;
    }
    .header-welcome {
        flex: 1;
        min-width: 170px;
        gap: 3px;
    }
    .header-pretitle {
        font-size: 9.5px;
        letter-spacing: 0.08em;
    }
    .arc-title-group {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .arc-main-title {
        font-size: 24px;
        line-height: 1.1;
    }
    .arc-sub-title {
        font-size: 10px;
        letter-spacing: 0.07em;
    }
    .header-actions {
        flex-shrink: 0;
    }
    .date-badge {
        font-size: 11px;
        padding: 5px 12px;
        border-radius: 20px;
        white-space: nowrap;
        background: rgba(18, 24, 34, 0.85);
        border-color: rgba(255, 255, 255, 0.1);
        margin-bottom: 2px;
    }

    /* ── Challenger Dossier Hero Banner (Sleek Mobile Proportion) ── */
    .challenger-hero-card {
        padding: 15px;
        border-radius: 18px;
        margin-bottom: 16px;
        gap: 14px;
        flex-direction: column;
        align-items: stretch;
    }
    .hero-left {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    .hero-avatar-wrap {
        width: 56px;
        height: 56px;
        border-radius: 15px;
        padding: 2.5px;
        flex-shrink: 0;
    }
    .hero-avatar {
        border-radius: 13px;
    }
    .hero-avatar-badge {
        width: 19px;
        height: 19px;
        font-size: 10px;
        bottom: -2px;
        right: -2px;
        border-width: 2px;
    }
    .hero-identity {
        display: flex;
        flex-direction: column;
        gap: 3px;
        min-width: 0;
        flex: 1;
    }
    .hero-badge-row {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
    }
    .hero-tier-tag, .hero-phase-tag {
        font-size: 8.5px;
        padding: 2px 7px;
        letter-spacing: 0.04em;
    }
    .hero-name {
        font-size: 20px;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .hero-meta-row {
        gap: 8px;
    }
    .hero-meta-chip {
        font-size: 11px;
        gap: 4px;
    }
    .hero-right {
        width: 100%;
        min-width: 0;
    }
    .hero-arc-gauge {
        padding: 12px 14px;
        border-radius: 14px;
        gap: 8px;
    }
    .gauge-label {
        font-size: 10px;
    }
    .gauge-pct {
        font-size: 17px;
    }
    .gauge-track {
        height: 8px;
    }
    .gauge-sub {
        font-size: 10px;
    }
    .btn-hero-edit {
        font-size: 11px;
        padding: 4px 10px;
        border-radius: 6px;
    }

    /* ── Pre-Launch Kickoff Banner (Sleek Mobile Proportion) ── */
    .prelaunch-card {
        padding: 16px;
        border-radius: 18px;
        margin-bottom: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .prelaunch-left {
        gap: 12px;
        align-items: flex-start;
    }
    .prelaunch-icon-badge {
        width: 44px;
        height: 44px;
        font-size: 22px;
        border-radius: 12px;
    }
    .prelaunch-pretitle {
        font-size: 9.5px;
    }
    .prelaunch-title {
        font-size: 17px;
    }
    .prelaunch-desc {
        font-size: 12px;
        line-height: 1.4;
    }
    .countdown-badge {
        width: 100%;
        padding: 10px 14px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .countdown-badge span:first-child {
        font-size: 22px;
    }
    .countdown-label {
        margin-top: 0;
        font-size: 10px;
    }

    /* ── Primary Arc Objective (Goal Widget - Zero Horizontal Clipping) ── */
    .goal-widget {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
        border-radius: 16px;
    }
    .goal-widget-content {
        display: flex;
        align-items: center;
        gap: 14px;
    }
    .goal-icon-badge {
        width: 44px;
        height: 44px;
        font-size: 22px;
        border-radius: 12px;
        flex-shrink: 0;
    }
    .goal-pretitle {
        font-size: 9.5px;
        letter-spacing: 0.1em;
    }
    .goal-heading {
        font-size: 18px;
        line-height: 1.2;
    }
    .goal-sub {
        font-size: 11.5px;
    }
    .goal-widget .btn-goal-action {
        width: 100%;
        justify-content: center;
        padding: 11px 16px;
        font-size: 13.5px;
        border-radius: 12px;
        background: rgba(255, 69, 0, 0.14);
        border: 1.5px solid rgba(255, 69, 0, 0.4);
        color: #fff;
        touch-action: manipulation;
        box-sizing: border-box;
    }
    .goal-widget .btn-goal-action:active {
        transform: scale(0.98);
        background: var(--primary-gradient);
    }

    /* ── Current Stats Grid (Side-by-side + Full-width Arc Streak) ── */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .stat-box {
        padding: 12px 14px;
        border-radius: 12px;
        gap: 3px;
    }
    .stat-label {
        font-size: 9px;
    }
    .stat-mini-icon {
        font-size: 14px;
    }
    .stat-value {
        font-size: 24px;
    }
    .stat-footer {
        font-size: 10.5px;
        min-height: 14px;
    }
    .stat-box-streak {
        grid-column: 1 / -1;
        background: linear-gradient(135deg, rgba(255, 69, 0, 0.16) 0%, rgba(14, 18, 26, 0.95) 100%);
        border: 1px solid rgba(255, 69, 0, 0.4);
        box-shadow: 0 0 20px rgba(255, 69, 0, 0.15);
    }
    .stat-box-streak .streak-value {
        font-size: 28px;
    }

    /* ── Badges & Gamification ── */
    .gamification-widget {
        padding: 16px;
        border-radius: 16px;
    }
    .tier-pill {
        font-size: 10px;
        padding: 4px 10px;
    }
    .badges-showcase {
        gap: 10px;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .badge-item {
        min-width: 72px;
        scroll-snap-align: start;
    }

    /* ── 60-Day Arc Roadmap & Calendar Grid ── */
    .days-tracker {
        padding: 16px;
        border-radius: 16px;
    }
    .tracker-header-styled {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 16px;
    }
    .tracker-controls {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .roadmap-legend {
        display: flex;
        justify-content: flex-start;
        gap: 14px;
        font-size: 11px;
    }
    .roadmap-progress-wrap {
        width: 100%;
        min-width: 0;
    }
    .btn-refresh-styled {
        display: none; /* Mobile header already provides refresh */
    }
    .calendar-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 6px;
    }
    .day-box {
        min-height: 46px;
        font-size: 15px;
        border-radius: 8px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .day-box:active {
        transform: scale(0.92);
    }

    /* ── Dashboard Cards Common Spacing ── */
    .card {
        padding: 16px;
        border-radius: 16px;
        margin-bottom: 14px;
    }
    .card-header-styled {
        margin-bottom: 14px;
        gap: 10px;
    }
    .card-title-group h3 {
        font-size: 15px;
    }
    .card-subtitle {
        font-size: 11px;
    }

    /* ── Fixed Bottom Navigation Bar ── */
    .sidebar {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 6px 6px calc(8px + env(safe-area-inset-bottom, 0px));
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 100;
        background: rgba(9, 11, 15, 0.94);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.6);
    }
    .sidebar .logo, .sidebar .user-info {
        display: none;
    }
    .nav-menu {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        padding: 0;
        gap: 2px;
    }
    .nav-item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2px;
        padding: 6px 8px;
        font-size: 10px;
        font-weight: 600;
        border-radius: 10px;
        color: var(--text-muted);
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        transition: transform 0.15s ease, color 0.15s ease, background 0.15s ease;
        flex: 1;
        max-width: 82px;
    }
    .nav-item:active {
        transform: scale(0.9);
    }
    .nav-item i {
        font-size: 20px;
        transition: transform 0.2s ease;
    }
    .nav-item.active {
        color: var(--primary) !important;
        background: rgba(255, 69, 0, 0.08);
    }
    .nav-item.active i {
        transform: translateY(-1px);
        filter: drop-shadow(0 0 8px rgba(255, 69, 0, 0.6));
    }
    .nav-item.text-danger {
        color: #F87171 !important;
    }
    .nav-active-pip {
        display: none;
    }

    /* ── Mobile Modals & Touch-Optimized Sheets ── */
    .overlay {
        padding: 10px;
        align-items: flex-end; /* Slides up naturally from bottom on mobile */
        -webkit-overflow-scrolling: touch;
    }
    .modal-card, .login-card {
        padding: 22px 18px;
        border-radius: 22px 22px 14px 14px;
        width: 100%;
        max-width: 100%;
        max-height: 88vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
    }
    .modal-card-lg {
        padding: 20px 16px;
        max-height: 90vh;
    }
    .modal-header {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
    .modal-header h2 {
        font-size: 19px;
    }
    .input-group {
        margin-bottom: 14px;
    }
    .input-group label {
        font-size: 11px;
        margin-bottom: 5px;
    }
    .input-group input,
    .input-group select,
    .input-group textarea {
        font-size: 16px; /* Prevents unwanted iOS auto-zoom on input tap */
        padding: 11px 14px;
    }
    .goal-options {
        gap: 8px;
    }
    .goal-pill span {
        padding: 7px 13px;
        font-size: 12px;
    }

    /* ── Leaderboard, Photos, Admin Responsive Adjustments ── */
    .table-responsive {
        border-radius: 12px;
    }
    .leaderboard-table th, .admin-table th {
        padding: 10px 8px;
        font-size: 10px;
    }
    .leaderboard-table td, .admin-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
    .sm-avatar {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }
    .rank {
        width: 24px;
        height: 24px;
        font-size: 13px;
    }
    .photos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .photo-upload-zone {
        aspect-ratio: 4 / 3;
    }
    .admin-kpi-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 16px;
    }
    .admin-kpi-card {
        padding: 12px 14px;
        gap: 10px;
        border-radius: 14px;
    }
    .kpi-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
        border-radius: 10px;
    }
    .kpi-value {
        font-size: 22px;
    }
    .kpi-label {
        font-size: 9px;
    }
}

/* Extra Compact Phones (iPhone SE, smaller Androids <= 380px) */
@media (max-width: 380px) {
    .calendar-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 5px;
    }
    .day-box {
        min-height: 44px;
        font-size: 14px;
    }
    .arc-main-title {
        font-size: 21px;
    }
    .arc-sub-title {
        font-size: 9px;
    }
    .hero-name {
        font-size: 18px;
    }
    .hero-avatar-wrap {
        width: 50px;
        height: 50px;
    }
}
