/* ==========================================================================
   ROBOTICS CHAMPIONSHIP 2026 - STYLE4.CSS (DARK RED SCROLLING DESIGN SYSTEM)
   ========================================================================== */

:root {
    --bg-dark: #050508;
    --neon-red: hsl(0, 100%, 50%);
    --neon-red-glow: hsla(0, 100%, 50%, 0.45);
    --neon-orange: hsl(20, 100%, 50%);
    --neon-orange-glow: hsla(20, 100%, 50%, 0.45);
    --text-white: #ffffff;
    --text-muted: #8c9cb8;
    --border-cyber: rgba(225, 6, 0, 0.2);
    --glass-bg: rgba(5, 5, 10, 0.75);
    --glass-blur: blur(14px);
    
    --ff-cyber: 'Orbitron', system-ui, sans-serif;
    --ff-sans: 'Inter', system-ui, sans-serif;
    
    --transition-speed: 0.35s;
    --ease-cyber: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--ff-sans);
    line-height: 1.6;
    scroll-behavior: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--neon-red);
    border-radius: 3px;
    box-shadow: 0 0 12px var(--neon-red-glow);
}

/* HIGH-TECH HUD BACKGROUND OVERLAYS */
.digital-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 50% 50%, transparent 40%, rgba(5, 5, 8, 0.95) 100%),
        linear-gradient(rgba(225, 6, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(225, 6, 0, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    opacity: 0.8;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(225, 6, 0, 0.06);
    opacity: 0.4;
    z-index: 1000;
    pointer-events: none;
    animation: scanlineMove 10s linear infinite;
}

@keyframes scanlineMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* App smooth scroll container */
#app-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* PRELOADER ASSEMBLY SEQUENCE */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #030305;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.8s var(--ease-cyber), visibility 0.8s;
}
.preloader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
/* --- BOXING TACHOMETER / LED PRELOADER (unique to index4) --- */
.hud-tachometer-wrapper {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.tacho-gauge {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(225, 6, 0, 0.12) 0%, rgba(5, 5, 8, 0.9) 70%);
    border: 2px solid rgba(225, 6, 0, 0.3);
    box-shadow: 0 0 40px rgba(225, 6, 0, 0.2), inset 0 0 30px rgba(225, 6, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tacho-leds {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    width: 120px;
}

.tacho-leds span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(225, 6, 0, 0.2);
    border: 1px solid rgba(225, 6, 0, 0.5);
    animation: ledPulse 0.4s ease-in-out infinite alternate;
}

.tacho-leds span:nth-child(1)  { animation-delay: 0.00s; }
.tacho-leds span:nth-child(2)  { animation-delay: 0.04s; }
.tacho-leds span:nth-child(3)  { animation-delay: 0.08s; }
.tacho-leds span:nth-child(4)  { animation-delay: 0.12s; }
.tacho-leds span:nth-child(5)  { animation-delay: 0.16s; }
.tacho-leds span:nth-child(6)  { animation-delay: 0.20s; }
.tacho-leds span:nth-child(7)  { animation-delay: 0.24s; }
.tacho-leds span:nth-child(8)  { animation-delay: 0.28s; }
.tacho-leds span:nth-child(9)  { animation-delay: 0.32s; }
.tacho-leds span:nth-child(10) { animation-delay: 0.36s; }

.tacho-leds span.lit {
    background: var(--neon-red);
    box-shadow: 0 0 8px var(--neon-red), 0 0 16px var(--neon-red-glow);
}

.tacho-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tacho-bell-icon {
    font-size: 32px;
    color: var(--neon-red);
    filter: drop-shadow(0 0 10px var(--neon-red)) drop-shadow(0 0 20px var(--neon-red-glow));
    animation: fistPunch 1.2s ease-in-out infinite alternate;
}

.hud-loader-text {
    font-family: var(--ff-cyber);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--neon-red);
    text-shadow: 0 0 8px var(--neon-red-glow);
    margin-top: 4px;
}

@keyframes ledPulse {
    0% { background: rgba(225, 6, 0, 0.15); box-shadow: none; }
    100% { background: var(--neon-red); box-shadow: 0 0 8px var(--neon-red), 0 0 16px rgba(225,6,0,0.5); }
}
@keyframes fistPunch {
    0% { transform: translateY(4px) scale(0.9); filter: drop-shadow(0 0 6px var(--neon-red)); }
    100% { transform: translateY(-4px) scale(1.15); filter: drop-shadow(0 0 18px var(--neon-red)) drop-shadow(0 0 30px var(--neon-red-glow)); }
}
@keyframes rotateCW  { 100% { transform: rotate(360deg); } }
@keyframes rotateCCW { 100% { transform: rotate(-360deg); } }
.loader-data {
    text-align: center;
    max-width: 400px;
    width: 90%;
}
.system-status {
    font-family: var(--ff-cyber);
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--neon-red);
    margin-bottom: 15px;
    text-shadow: 0 0 8px var(--neon-red-glow);
}
.boot-terminal {
    height: 60px;
    overflow: hidden;
    font-family: monospace;
    font-size: 11px;
    color: var(--text-muted);
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    margin-bottom: 20px;
}
.progress-bar-wrapper {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}
.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-red), var(--neon-orange));
    box-shadow: 0 0 8px var(--neon-red-glow);
    transition: width 0.1s ease;
}
.loader-percentage {
    font-family: var(--ff-cyber);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--neon-red);
}

@keyframes rotateCW { 100% { transform: rotate(360deg); } }
@keyframes rotateCCW { 100% { transform: rotate(-360deg); } }
@keyframes eyePulse {
    0% { transform: scale(0.9); box-shadow: 0 0 15px var(--neon-red); }
    100% { transform: scale(1.2); box-shadow: 0 0 35px var(--neon-red), 0 0 10px #fff; }
}
@keyframes scanLaser {
    0% { top: 10%; }
    100% { top: 90%; }
}

/* GLASS UI PANELS */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-cyber);
    border-radius: 6px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}
.glass-panel:hover {
    border-color: rgba(225, 6, 0, 0.4);
    box-shadow: 0 8px 32px 0 var(--neon-red-glow);
}
.cyber-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--neon-red);
    box-shadow: 0 0 8px var(--neon-red);
}

/* Sci-fi buttons */
.btn-sci-fi {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border-cyber);
    padding: 14px 28px;
    color: var(--text-white);
    font-family: var(--ff-cyber);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    z-index: 5;
    transition: background var(--transition-speed), color var(--transition-speed);
    clip-path: polygon(0 0, 90% 0, 100% 30%, 100% 100%, 10% 100%, 0 70%);
}
.btn-sci-fi::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.15), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}
.btn-sci-fi:hover::before {
    left: 100%;
}
.glow-btn {
    border-color: var(--neon-red);
    box-shadow: 0 0 15px var(--neon-red-glow);
}
.glow-btn-orange {
    border-color: var(--neon-orange);
    box-shadow: 0 0 15px var(--neon-orange-glow);
}
.btn-sci-fi-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 28px;
    color: var(--text-muted);
    font-family: var(--ff-cyber);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s, border-color 0.3s;
    clip-path: polygon(0 0, 90% 0, 100% 30%, 100% 100%, 10% 100%, 0 70%);
}
.btn-sci-fi-secondary:hover {
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Sound engine controls */
.audio-control {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    background: rgba(5, 5, 5, 0.85);
    border: 1px solid var(--neon-red);
    box-shadow: 0 0 12px var(--neon-red-glow);
    padding: 10px 18px;
    border-radius: 30px;
    z-index: 999;
    cursor: pointer;
    transition: transform 0.3s;
}
.audio-control:hover {
    transform: scale(1.05);
}
.audio-waves {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
    margin-right: 10px;
}
.audio-waves span {
    width: 2px;
    background-color: var(--neon-red);
    animation: waveMotion 1s ease-in-out infinite alternate;
}
.audio-waves span:nth-child(1) { height: 4px; animation-delay: 0.1s; }
.audio-waves span:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.audio-waves span:nth-child(3) { height: 8px; animation-delay: 0.2s; }
.audio-waves span:nth-child(4) { height: 16px; animation-delay: 0.4s; }
.audio-text {
    font-family: var(--ff-cyber);
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--neon-red);
}
.audio-control.muted .audio-waves span {
    animation: none;
    height: 2px;
    background-color: var(--text-muted);
}
.audio-control.muted {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}
.audio-control.muted .audio-text {
    color: var(--text-muted);
}

@keyframes waveMotion {
    0% { transform: scaleY(0.2); }
    100% { transform: scaleY(1); }
}

/* HEADER COMMAND HUD */
.header-hud {
    position: fixed;
    top: 25px;
    left: 5%;
    width: 90%;
    height: 70px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border-radius: 35px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--neon-red-glow));
    border-radius: 4px;
}
.brand-name {
    font-family: var(--ff-cyber);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 2px;
}
.accent-text {
    color: var(--neon-red);
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-link {
    font-family: var(--ff-cyber);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.nav-num {
    color: var(--neon-orange);
}
.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

/* SECTIONS STRUCTURE */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 8%;
    overflow: hidden;
}
.hero-hud-left {
    position: absolute;
    left: 4%;
    top: 150px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}
.hud-stat-box {
    border-left: 2px solid var(--neon-red);
    padding-left: 15px;
}
.hud-label {
    font-family: var(--ff-cyber);
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 5px;
}
.hud-value {
    font-size: 12px;
    font-weight: 600;
}
.numeric-glowing {
    font-family: var(--ff-cyber);
    color: var(--neon-red);
    text-shadow: 0 0 8px var(--neon-red-glow);
}
.hero-hud-right {
    position: absolute;
    right: 4%;
    top: 150px;
    z-index: 10;
}
.hud-circle-stat {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hud-circle-stat svg {
    position: absolute;
    width: 100%;
    height: 100%;
}
.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 4;
}
.circle-fg {
    fill: none;
    stroke: var(--neon-orange);
    stroke-width: 4;
    stroke-dasharray: 250;
    stroke-dashoffset: 80;
    transform-origin: center;
    transform: rotate(-90deg);
}
.anim-dash {
    animation: dashOffset 4s ease-in-out infinite alternate;
}
@keyframes dashOffset {
    0% { stroke-dashoffset: 220; }
    100% { stroke-dashoffset: 50; }
}
.hud-circle-label {
    font-family: var(--ff-cyber);
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--neon-orange);
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 10;
}
.subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.cyber-tag {
    font-family: var(--ff-cyber);
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--neon-red);
    border: 1px solid var(--neon-red);
    padding: 3px 10px;
}
.cyber-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--neon-red), transparent);
}
.hero-title {
    font-family: var(--ff-cyber);
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 25px;
}
.accent-glow {
    background: linear-gradient(135deg, var(--neon-red), var(--neon-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(225, 6, 0, 0.3));
}
.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 500px;
}
.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Scroll Indication */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}
.mouse-icon {
    width: 20px;
    height: 35px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    position: relative;
}
.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--neon-red);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 1.6s ease-in-out infinite;
}
@keyframes wheelScroll {
    0% { transform: translate(-50%, 0); opacity: 0; }
    40% { opacity: 1; }
    100% { transform: translate(-50%, 12px); opacity: 0; }
}
.scroll-text {
    font-family: var(--ff-cyber);
    font-size: 8px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* SECTION CONTAINER GENERAL */
.section-container {
    padding: 120px 8%;
    position: relative;
    z-index: 10;
}
.section-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}
.section-info {
    max-width: 600px;
    padding: 50px;
    position: relative;
}
.section-subtitle {
    font-family: var(--ff-cyber);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--neon-orange);
    display: block;
    margin-bottom: 20px;
}
.section-title {
    font-family: var(--ff-cyber);
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 25px;
}
.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}
.feature-bullets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.bullet-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.bullet-ico {
    color: var(--neon-red);
    font-size: 20px;
    margin-top: 3px;
}
.bullet-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.bullet-text strong {
    color: var(--text-white);
}

.section-header-hud {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}
.hud-num {
    font-family: var(--ff-cyber);
    font-size: 20px;
    font-weight: 900;
    color: var(--neon-red);
}
.hud-section-title {
    font-family: var(--ff-cyber);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 1px;
}
.hud-hr {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-cyber) 0%, transparent 100%);
}

/* CHALLENGES CARDS */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.category-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.category-card:hover {
    transform: scale(1.03) translateY(-5px);
}
.card-glow-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}
.category-card:hover .card-glow-bg {
    opacity: 1;
}
.red-glow { background: radial-gradient(circle at 10% 10%, rgba(225, 6, 0, 0.08) 0%, transparent 50%); }
.orange-glow { background: radial-gradient(circle at 10% 10%, rgba(255, 107, 53, 0.08) 0%, transparent 50%); }

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-cyber);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--neon-red);
}
.card-title {
    font-family: var(--ff-cyber);
    font-size: 1.5rem;
    font-weight: 800;
}
.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}
.card-specs {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    font-size: 11px;
    font-family: var(--ff-cyber);
    color: var(--neon-orange);
}

/* TIMELINE VERTICAL SCROLL MODULE */
.timeline-wrapper {
    position: relative;
    padding-left: 30px;
}
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 4px;
    width: 2px;
    background: linear-gradient(180deg, var(--neon-red) 0%, var(--neon-orange) 50%, transparent 100%);
    box-shadow: 0 0 8px var(--neon-red-glow);
}
.timeline-nodes {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.timeline-node {
    padding: 30px;
    position: relative;
    border-left: 2px solid var(--neon-red);
}
.node-badge {
    position: absolute;
    left: -48px;
    top: 30px;
    width: 32px;
    height: 32px;
    background: #030305;
    border: 2px solid var(--neon-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-cyber);
    font-size: 11px;
    font-weight: bold;
    color: var(--neon-red);
    box-shadow: 0 0 10px var(--neon-red-glow);
}
.node-date {
    font-family: var(--ff-cyber);
    font-size: 10px;
    color: var(--neon-orange);
    margin-bottom: 5px;
}
.node-title {
    font-family: var(--ff-cyber);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.node-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* PRIZES BLOCKS */
.prizes-layout {
    position: relative;
    margin-top: 50px;
}
.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.prize-tier {
    padding: 50px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}
.prize-tier.champion {
    border-color: var(--neon-red);
    box-shadow: 0 0 25px var(--neon-red-glow);
}
.tier-rank {
    font-family: var(--ff-cyber);
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--text-muted);
}
.tier-payout {
    font-family: var(--ff-cyber);
    font-size: 2.8rem;
    font-weight: 900;
}
.text-glow-red { color: var(--neon-red); text-shadow: 0 0 10px var(--neon-red-glow); }
.text-glow-orange { color: var(--neon-orange); text-shadow: 0 0 10px var(--neon-orange-glow); }
.tier-detail {
    font-size: 13px;
    color: var(--text-white);
}
.tier-perks {
    font-size: 11px;
    color: var(--text-muted);
}

/* REGISTRATION MODULE */
.register-layout {
    max-width: 800px;
    margin: 0 auto;
}
.register-card {
    padding: 50px;
}
.sci-fi-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.form-group label {
    font-family: var(--ff-cyber);
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-muted);
}
.form-group input, .form-group select {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-cyber);
    padding: 12px 18px;
    color: #fff;
    font-family: var(--ff-sans);
    font-size: 13px;
    border-radius: 4px;
    transition: var(--transition-speed);
}
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--neon-red);
    box-shadow: 0 0 12px var(--neon-red-glow);
}

/* FAKE CONSOLE VIEWPORT BOXING/MAZE MINI SIMULATORS */
.arena-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 45px;
}
.arena-controls {
    padding: 40px;
}
.control-header {
    font-family: var(--ff-cyber);
    font-size: 11px;
    color: var(--neon-red);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}
.pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--neon-red);
    box-shadow: 0 0 8px var(--neon-red);
    animation: corePulse 1.2s infinite alternate;
}
.simulation-view {
    height: 250px;
    background: #020204;
    border: 1px solid var(--border-cyber);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
}
.sim-terminal {
    width: 100%;
    height: 100%;
    padding: 20px;
    font-family: monospace;
    font-size: 11px;
    color: #10B981;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hud-stats-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.stat-unit {
    border-left: 2px solid var(--neon-red);
    padding-left: 15px;
}
.stat-unit-label {
    font-family: var(--ff-cyber);
    font-size: 9px;
    color: var(--text-muted);
}
.stat-unit-value {
    font-size: 13px;
    font-weight: bold;
    font-family: var(--ff-cyber);
    color: var(--neon-red);
}

/* FOOTER HUD MAP */
.footer-hud {
    border-top: 1px solid var(--border-cyber);
    padding: 60px 8% 40px;
    background: rgba(5,5,10,0.85);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-brand h4 {
    font-family: var(--ff-cyber);
    font-size: 14px;
    letter-spacing: 2px;
}
.footer-brand p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
}
.footer-links h4, .footer-contact h4 {
    font-family: var(--ff-cyber);
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    margin-bottom: 10px;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--neon-red);
}
.footer-contact p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.footer-bar {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-muted);
}
.social-icons {
    display: flex;
    gap: 15px;
}
.social-icon {
    font-size: 16px;
    color: var(--text-muted);
    transition: color 0.3s;
}
.social-icon:hover {
    color: var(--neon-red);
}

/* Theme Toggle Button HUD */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    background: rgba(3, 4, 12, 0.9);
    border: 1px solid var(--neon-red);
    box-shadow: 0 0 15px var(--neon-red-glow);
    padding: 12px 20px;
    border-radius: 30px;
    z-index: 999;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s, color 0.3s;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

.theme-icon {
    font-size: 14px;
    margin-right: 10px;
    color: var(--neon-red);
}

.theme-text {
    font-family: var(--ff-cyber);
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--neon-red);
}

/* LIGHT MODE OVERRIDES */
/* ========================================================================
   LIGHT MODE OVERRIDES (index4 — Ferrari Red / Boxing Bot)
   ======================================================================== */
body.light-mode {
    --bg-dark: #fdf3f0;
    --neon-red: #c0392b;
    --neon-red-glow: rgba(192, 57, 43, 0.3);
    --neon-orange: #c0550a;
    --neon-orange-glow: rgba(192, 85, 10, 0.3);
    --text-white: #1a0804;
    --text-muted: #5a2a20;
    --border-cyber: rgba(192, 57, 43, 0.25);
    --glass-bg: rgba(255, 255, 255, 0.92);
    background-color: #fdf3f0 !important;
    color: #1a0804 !important;
}

body.light-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(192, 57, 43, 0.3);
    color: #c0392b;
    box-shadow: 0 4px 20px rgba(192, 57, 43, 0.18);
}

body.light-mode .audio-control {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(192, 57, 43, 0.3);
    color: #c0392b;
    box-shadow: 0 4px 20px rgba(192, 57, 43, 0.18);
}

body.light-mode .glass-panel {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(192, 57, 43, 0.2);
    color: #1a0804;
    box-shadow: 0 4px 24px rgba(192, 57, 43, 0.06), 0 1px 4px rgba(0,0,0,0.04);
}

body.light-mode .preloader-overlay {
    background-color: #fdf3f0;
}

body.light-mode .nav-link {
    color: #5a2a20 !important;
}

body.light-mode .nav-link.active,
body.light-mode .nav-link:hover {
    color: #c0392b !important;
}

body.light-mode .hero-title {
    color: #1a0804;
}

body.light-mode .section-title,
body.light-mode .hud-section-title,
body.light-mode .card-title,
body.light-mode .node-title,
body.light-mode .tier-rank {
    color: #1a0804;
}

body.light-mode .bullet-text {
    color: #3d1810;
}

body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea {
    background: #ffffff;
    border-color: #f0c4bb;
    color: #1a0804;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group select:focus,
body.light-mode .form-group textarea:focus {
    border-color: #c0392b;
    box-shadow: 0 0 12px rgba(192, 57, 43, 0.18);
}

body.light-mode .tacho-gauge {
    background: radial-gradient(circle at 50% 50%, rgba(192, 57, 43, 0.08) 0%, rgba(253, 243, 240, 0.97) 70%);
    border-color: rgba(192, 57, 43, 0.3);
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.12);
}

body.light-mode .tacho-bell-icon {
    color: #c0392b;
    filter: drop-shadow(0 0 8px rgba(192, 57, 43, 0.5));
}

body.light-mode .hud-loader-text {
    color: #c0392b;
}

body.light-mode .footer-hud {
    background: #f9e8e4;
    border-color: rgba(192, 57, 43, 0.2);
}

body.light-mode .footer-brand h4,
body.light-mode .footer-links h4,
body.light-mode .footer-contact h4 {
    color: #1a0804;
}

body.light-mode .footer-links a {
    color: #5a2a20;
}

body.light-mode .footer-links a:hover {
    color: #c0392b;
}

body.light-mode .footer-bar {
    border-color: rgba(192, 57, 43, 0.15);
}

body.light-mode .simulation-view {
    background: #1a0804;
}

body.light-mode .digital-overlay {
    opacity: 0.04;
}

body.light-mode .scanline {
    background: rgba(192, 57, 43, 0.05);
    opacity: 0.2;
}

