/* ==========================================================================
   C2-PopKart Official Portal — Pure Vanilla CSS3 (Zero Framework Dependencies)
   Tactical Racing HUD + Glassmorphic C2-Game Ecosystem Design
   ========================================================================== */

:root {
    --bg-primary: #070b14;
    --bg-secondary: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.78);
    --bg-elevated: rgba(30, 41, 59, 0.65);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --accent-cyan: #00e5ff;
    --accent-blue: #38bdf8;
    --accent-orange: #f97316;
    --accent-gold: #fbbf24;
    --accent-green: #10b981;
    --accent-purple: #a855f7;
    --border-color: rgba(56, 189, 248, 0.22);
    --border-glow: rgba(0, 229, 255, 0.45);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.55);
}

[data-theme="light"] {
    --bg-primary: #f1f5f9;
    --bg-secondary: #e2e8f0;
    --bg-card: rgba(255, 255, 255, 0.88);
    --bg-elevated: rgba(241, 245, 249, 0.9);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --accent-cyan: #0284c7;
    --accent-blue: #0369a1;
    --border-color: rgba(2, 132, 199, 0.25);
    --shadow-card: 0 10px 25px rgba(15, 23, 42, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 15%, rgba(0, 229, 255, 0.09) 0%, transparent 35%),
        radial-gradient(circle at 85% 25%, rgba(249, 115, 22, 0.08) 0%, transparent 35%),
        url('/assets/img/drift-bg.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

h1, h2, h3, h4, .brand-title, .nav-link, .stat-value {
    font-family: var(--font-heading);
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header & Navbar ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 11, 20, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--accent-cyan);
    box-shadow: 0 4px 25px rgba(0, 229, 255, 0.18);
}

[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.92);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 16px;
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-logo {
    height: 46px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

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

.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .brand-title {
    background: linear-gradient(90deg, #0f172a, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent-gold);
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}

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

.header-lang-switch {
    display: inline-flex;
    align-items: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3px;
    gap: 4px;
}

.header-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.header-lang-btn.active {
    background: rgba(0, 229, 255, 0.2);
    color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
}

.header-lang-btn img {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
}

.portal-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-elevated);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.portal-back-btn:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}

.race-start-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--accent-orange), #ea580c);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(249, 115, 22, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.race-start-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 26px rgba(249, 115, 22, 0.85);
}

/* ── Hero Section ── */
.hero-section {
    position: relative;
    padding: 56px 0 40px;
}

.hero-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(7, 11, 20, 0.94) 0%, rgba(15, 23, 42, 0.82) 55%, rgba(7, 11, 20, 0.55) 100%),
        url('/assets/img/hero-banner.jpg') center/cover no-repeat;
    border: 1px solid var(--border-glow);
    box-shadow: var(--shadow-card), 0 0 35px rgba(0, 229, 255, 0.16);
    padding: 48px 44px;
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 32px;
    align-items: center;
}

.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.14);
    border: 1px solid rgba(0, 229, 255, 0.45);
    color: var(--accent-cyan);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulseGlow 2s infinite;
}

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

.hero-title {
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-title span {
    color: var(--accent-cyan);
}

.hero-desc {
    color: #e2e8f0;
    font-size: 1.02rem;
    max-width: 600px;
    margin-bottom: 26px;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-cyan), #0284c7);
    color: #041019;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(0, 229, 255, 0.7);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Telemetry Mini-Bar inside Hero */
.hero-telemetry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.telemetry-pill {
    background: rgba(7, 11, 20, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 10px;
    padding: 10px 12px;
}

.telemetry-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
}

.telemetry-val {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}

.telemetry-val.online {
    color: var(--accent-green);
}

.telemetry-val.cyan {
    color: var(--accent-cyan);
}

.telemetry-val.gold {
    color: var(--accent-gold);
}

/* Hero Right Characters Showcase */
.hero-characters {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 310px;
}

.char-stage-bg {
    position: absolute;
    width: 100%;
    max-width: 440px;
    opacity: 0.85;
    filter: drop-shadow(0 10px 25px rgba(0, 229, 255, 0.3));
}

.char-main-dao {
    position: relative;
    z-index: 3;
    height: 250px;
    width: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.75));
    animation: floatKart 3.6s ease-in-out infinite;
}

.char-side-bazzi {
    position: absolute;
    right: 5px;
    bottom: 10px;
    z-index: 2;
    height: 195px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.7));
    animation: floatKart 4.2s ease-in-out infinite reverse;
}

.char-side-dizni {
    position: absolute;
    left: 5px;
    bottom: 15px;
    z-index: 2;
    height: 185px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.7));
    animation: floatKart 3.9s ease-in-out infinite;
}

@keyframes floatKart {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-9px); }
}

/* ── Section Common Headers ── */
.section-block {
    padding: 40px 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.section-eyebrow {
    color: var(--accent-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.section-title {
    font-size: 1.9rem;
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 540px;
    font-size: 0.94rem;
}

/* ── Game Modes Grid (3 Columns) ── */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mode-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-cyan);
    border-radius: 16px;
    padding: 26px;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mode-card.mode-item-card {
    border-top-color: var(--accent-orange);
}

.mode-card.mode-ta-card {
    border-top-color: var(--accent-gold);
}

.mode-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
    box-shadow: 0 14px 36px rgba(0, 229, 255, 0.18);
}

.mode-banner-wrap {
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    background: rgba(7, 11, 20, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mode-banner-wrap img {
    max-height: 130px;
    width: auto;
    object-fit: contain;
}

.mode-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(0, 229, 255, 0.15);
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.mode-item-card .mode-tag {
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent-orange);
}

.mode-ta-card .mode-tag {
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-gold);
}

.mode-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.mode-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.mode-specs {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.mode-specs li strong {
    color: var(--text-primary);
}

/* ── Unified Tabbed Rankings & Track Records ── */
.rankings-shell {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.tabs-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 18px;
    margin-bottom: 24px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-cyan);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.22), rgba(56, 189, 248, 0.08));
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

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

.racer-card, .track-card, .team-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.racer-card:hover, .track-card:hover, .team-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-cyan);
}

.rank-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.medal-pill {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.82rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.license-pill {
    font-size: 0.74rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(0, 229, 255, 0.15);
    color: var(--accent-cyan);
}

.racer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.racer-flag {
    width: 28px;
    height: 20px;
    border-radius: 3px;
    object-fit: cover;
}

.racer-name {
    font-size: 1.25rem;
    font-weight: 800;
}

.racer-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-secondary);
}

.racer-meta-row {
    display: flex;
    justify-content: space-between;
}

.winrate-bar {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-top: 6px;
}

.winrate-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
}

/* Track Cards */
.track-thumb-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 148px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.track-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-time-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(7, 11, 20, 0.88);
    color: var(--accent-gold);
    border: 1px solid rgba(251, 191, 36, 0.5);
    font-family: monospace;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 3px 8px;
    border-radius: 6px;
}

.track-title {
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.track-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* ── Server Architecture & Connector Showcase ── */
.showcase-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.feature-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
}

.feature-item h4 {
    color: var(--accent-cyan);
    margin-bottom: 6px;
    font-size: 0.98rem;
}

.feature-item p {
    font-size: 0.84rem;
    color: var(--text-secondary);
}

.connector-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(7, 11, 20, 0.96)),
        url('/assets/img/race-bg.png') center/cover;
    border: 1px solid var(--border-glow);
}

.port-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.85rem;
}

.port-table th, .port-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.port-table th {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* ── Footer ── */
.site-footer {
    margin-top: 48px;
    padding: 28px 0;
    border-top: 1px solid var(--border-color);
    background: rgba(7, 11, 20, 0.9);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.86rem;
}

/* ── Floating SYS_CONTROL HUB (Matches C2-Game Ecosystem) ── */
.sys-control-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--accent-cyan);
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
    z-index: 2000;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
    transition: transform 0.2s ease;
}

.sys-control-trigger:hover {
    transform: rotate(35deg) scale(1.08);
}

.sys-control-panel {
    position: fixed;
    bottom: 86px;
    right: 24px;
    width: 310px;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid var(--accent-cyan);
    border-radius: 14px;
    padding: 18px;
    z-index: 2000;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.65);
    display: none;
    color: #f8fafc;
}

.sys-control-panel.active {
    display: block;
}

.sys-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

.sys-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
}

.sys-section-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin: 10px 0 8px;
    font-weight: 700;
}

.sys-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.sys-btn {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(30, 41, 59, 0.7);
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sys-btn.active, .sys-btn:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.18);
    color: #fff;
}

/* ── Modal Overlay ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 11, 20, 0.82);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
}

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

.modal-card {
    background: #0f172a;
    border: 1px solid var(--accent-cyan);
    border-radius: 16px;
    max-width: 540px;
    width: 100%;
    padding: 28px;
    color: #f8fafc;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

/* ── Responsive Adjustments ── */
@media (max-width: 992px) {
    .hero-card, .showcase-grid {
        grid-template-columns: 1fr;
    }
    .modes-grid, .cards-grid-3 {
        grid-template-columns: 1fr;
    }
    .hero-telemetry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-nav {
        display: none;
    }
}
