/* --- VARIABLES & BASE --- */
:root {
    --bg: #051014;
    --neon-green: #00ff9d; 
    --neon-blue: #00f3ff;  
    --text: #e0f7fa;
    --glass: rgba(0, 243, 255, 0.05);
    --border: rgba(0, 243, 255, 0.3);
    --card-bg: rgba(0, 20, 30, 0.8);
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Share Tech Mono', monospace;
    overflow-x: hidden;
}

.hero-content p, .molecule-data, .scan-text, .vital-label, .timeline h2, .timeline p  {
    font-size: 1.3rem; line-height: 1.5; letter-spacing: 0.5px;
}
li, .holo-card h3, .about-card h3, .content h2, .card-container, .about-card p{
    font-size: 1rem; letter-spacing: 1px;
} 
.nav-links a { font-size: 1.25rem; }

/* --- TV SCANLINE OVERLAY --- */
.scanlines {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none; z-index: 900;
}

/* --- JARVIS GATE LOADER --- */
#gate-loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10000; display: flex; justify-content: center; align-items: center; pointer-events: none;
}
.shutter {
    position: absolute; left: 0; width: 100%; height: 50%; background: #000;
    z-index: 10001; transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1); border-color: var(--neon-blue);
}
.shutter-top { 
    top: 0; 
    border-bottom: 1px solid rgba(0, 243, 255, 0.2); 
    box-shadow: 0 4px 20px rgba(0, 243, 255, 0.2); 
}
.shutter-bottom { 
    bottom: 0; 
    border-top: 1px solid rgba(0, 243, 255, 0.2); 
    box-shadow: 0 -4px 20px rgba(0, 243, 255, 0.2); 
}
.loader-content {
    z-index: 10002; text-align: center; position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 20px; transition: opacity 0.3s;
}


/* --- BIO-MEDICAL HEART LOADER --- */
.heart-loader-container {
    position: relative;
    width: 300px; 
    height: 300px; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10002; 
}

.holo-heart {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 0 20px var(--neon-blue)); 
    animation: doubleBeat 1.5s infinite; 
}

/* --- THE ECG SEAM LINE --- */
.shutter-ecg-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100px;
    transform: translateY(-50%);
    z-index: 10001; 
    pointer-events: none;
}

.shutter-ecg-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.shutter-ecg-line {
    fill: none;
    stroke: var(--neon-green);
    stroke-width: 3; 
    stroke-linecap: round;
    stroke-linejoin: round;
    
    /* This creates the "traveling beam" effect */
    stroke-dasharray: 400 1200; 
    stroke-dashoffset: 1600; 
    animation: shootECG 1.5s linear infinite;
    filter: drop-shadow(0 0 10px var(--neon-green)) drop-shadow(0 0 20px var(--neon-green));
}

@keyframes shootECG {
    0% { stroke-dashoffset: 1600; }
    100% { stroke-dashoffset: -400; } 
}

/* Hide the ECG line instantly when the gates open */
.gate-open .shutter-ecg-wrapper {
    opacity: 0;
    transition: 0.2s;
}
/* The Wireframe Outline */
.heart-path {
    fill: none;
    stroke: var(--neon-blue);
    stroke-width: 1.5;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawHeart 2s ease-out forwards;
}

/* The Glowing Inner Fill */
.heart-pulse {
    fill: var(--neon-blue);
    opacity: 0.1;
    animation: glowPulse 1.5s infinite;
}

/* The ECG Line */
/* --- SMOOTH SONAR PULSE EFFECT --- */
.sonar-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid var(--neon-blue);
    border-radius: 50%;
    z-index: 0; 
    pointer-events: none;
    animation: echoWave 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.delay-1 { animation-delay: 0s; }
.delay-2 { animation-delay: 0.3s; }

@keyframes echoWave {
    0% { 
        width: 60px; 
        height: 60px; 
        opacity: 0.8; 
        border-color: var(--neon-blue);
        border-width: 4px;
        box-shadow: 0 0 20px var(--neon-blue);
    }
    100% { 
        width: 250px; 
        height: 250px; 
        opacity: 0;   
        border-color: var(--neon-green);
        border-width: 1px;
        box-shadow: 0 0 0 var(--neon-green);
    }
}
@media (hover: none) and (pointer: coarse) {
    .cursor, .cursor2 {
        display: none !important;
    }
    * {
        cursor: auto !important;
    }
}

/* Update Access Granted State */
.access-granted .sonar-pulse {
    animation-duration: 0.4s;
    border-color: var(--neon-green);
}

.lock-icon {
    font-size: 45px;
    color: var(--neon-blue);
    z-index: 2;
    margin-top: -25px;
    text-shadow: 0 0 20px var(--neon-blue);
    animation: pulseLock 1.5s infinite alternate;
}
/* KEYFRAMES FOR THE HEART */
@keyframes drawHeart { to { stroke-dashoffset: 0; } }

@keyframes doubleBeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.15); } 
    30% { transform: scale(1); }
    45% { transform: scale(1.15); } 
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.05; }
    15%, 45% { opacity: 0.3; }
}

/* --- ACCESS GRANTED STATE (TURNS GREEN) --- */
.access-granted .holo-heart {
    filter: drop-shadow(0 0 30px var(--neon-green));
    animation: rapidBeat 0.4s infinite; 
}
.access-granted .heart-path { stroke: var(--neon-green); }
.access-granted .heart-pulse { fill: var(--neon-green); opacity: 0.5; }
.access-granted .heart-ecg { display: none;  }

.access-granted .lock-icon {
    color: var(--neon-green);
    text-shadow: 0 0 20px var(--neon-green);
    animation: none;
    transform: scale(1.2);
}

.access-granted .loader-text {
    color: var(--neon-green);
    text-shadow: 0 0 20px var(--neon-green);
}

@keyframes rapidBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.lock-icon { font-size: 40px; color: var(--neon-blue); margin-bottom: 10px; z-index: 2; animation: pulseLock 0.5s infinite alternate; }
.loader-text {
    font-family: 'Orbitron', sans-serif; color: #fff; letter-spacing: 5px; font-size: 14px; text-shadow: 0 0 10px var(--neon-blue);
}

.access-granted .lock-icon { color: var(--neon-green); text-shadow: 0 0 20px var(--neon-green); }
.access-granted .loader-text { color: var(--neon-green); text-shadow: 0 0 20px var(--neon-green); }
.gate-open .shutter-top { transform: translateY(-110%); }
.gate-open .shutter-bottom { transform: translateY(110%); }
.gate-open .loader-content { opacity: 0; transform: scale(5); transition: 0.4s; }

/* --- CURSOR --- */
.cursor { width: 10px; height: 10px; background: var(--neon-green); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s; box-shadow: 0 0 10px var(--neon-green); }
.cursor2 { width: 40px; height: 40px; border: 1px solid var(--neon-blue); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: 0.1s; }
.hovered .cursor { width: 20px; height: 20px; background: transparent; border: 2px solid var(--neon-green); }
.hovered .cursor2 { width: 60px; height: 60px; background: rgba(0, 255, 157, 0.1); border-color: var(--neon-green); }

/* --- CLICK RIPPLE --- */
.click-ripple {
    position: fixed; border: 2px solid var(--neon-blue); border-radius: 50%; pointer-events: none;
    transform: translate(-50%, -50%); animation: rippleBlast 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards; z-index: 9999;
}
.click-ripple.combat-mode { border-color: #ff0055; box-shadow: 0 0 20px #ff0055; }
@keyframes rippleBlast {
    0% { width: 0; height: 0; opacity: 1; border-width: 4px; box-shadow: 0 0 20px var(--neon-blue); }
    100% { width: 150px; height: 150px; opacity: 0; border-width: 1px; box-shadow: 0 0 0 var(--neon-blue); }
}

/* --- CANVAS BACKGROUND --- */
#neuralCanvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }

/* --- NAVBAR --- */
.logo { display: flex; align-items: center; gap: 10px;}
.nav-logo-img { height: 50px; width: auto; filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.4));}
.navbar { display: flex; justify-content: space-between; padding: 20px 40px; position: fixed; width: 100%; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.1); background: rgba(5,16,20,0.9); }

/* --- MOBILE HAMBURGER MENU --- */
.hamburger {
    display: none;
    font-size: 28px;
    color: var(--neon-blue);
    z-index: 1005; 
}

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { color: #fff; text-decoration: none; font-size: 1.1rem; }

/* --- LAYOUTS --- */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.section { padding: 80px 10%; text-align: center; }
.section-title { font-family: 'Orbitron'; font-size: 4rem; margin-bottom: 50px; color: var(--text); }
.mega-title { font-family: 'Orbitron', sans-serif; font-size: 6rem; letter-spacing: 5px; color: var(--neon-blue); text-shadow: 0 0 20px rgba(0, 243, 255, 0.5); white-space: nowrap; }

.prize-pool-container {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin: 25px auto 30px auto; 
    padding: 10px 40px;
    background: rgba(0, 20, 30, 0.7);
    border: 1px solid rgba(0, 255, 157, 0.3);
    border-radius: 3px;
    position: relative;
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.1), inset 0 0 15px rgba(0, 255, 157, 0.05);
    transition: 0.3s ease;
}
.prize-pool-container::before,
.prize-pool-container::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 60%;
    border: 2px solid var(--neon-green);
    top: 20%;
    transition: 0.3s;
}
.prize-pool-container::before {
    left: -2px;
    border-right: none;
    box-shadow: -5px 0 10px rgba(0, 255, 157, 0.2);
}

.prize-pool-container::after {
    right: -2px;
    border-left: none;
    box-shadow: 5px 0 10px rgba(0, 255, 157, 0.2);
}

.prize-pool-container:hover {
    transform: scale(1.05);
    background: rgba(0, 255, 157, 0.1);
    box-shadow: 0 0 35px rgba(0, 255, 157, 0.3), inset 0 0 20px rgba(0, 255, 157, 0.1);
    border-color: var(--neon-green);
}
/* Pushes the brackets further out on hover */
.prize-pool-container:hover::before { left: -8px; }
.prize-pool-container:hover::after { right: -8px; }
.prize-icon {
    font-size: 28px;
    color: var(--neon-green);
    filter: drop-shadow(0 0 10px var(--neon-green));
    animation: pulseLock 1.5s infinite alternate; 
}

.prize-text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.prize-label {
    font-size: 12px;
    color: var(--neon-blue);
    letter-spacing: 3px;
    margin-bottom: -5px;
}

.prize-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 15px var(--neon-green), 0 0 30px var(--neon-green);
}

/* --- HERO TIMER --- */
.bio-timer {
    display: flex; align-items: center; gap: 30px; margin-top: 50px; background: rgba(0, 20, 30, 0.6);
    padding: 20px 40px; border: 1px solid var(--neon-green); border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.1); backdrop-filter: blur(10px); position: relative; overflow: hidden;
}
.dna-container { width: 60px; height: 120px; position: relative; perspective: 1000px; }
.strand { width: 100%; height: 2px; background: var(--neon-blue); position: absolute; top: 50%; animation: rotateDNA 3s linear infinite; opacity: 0.7; }
.strand::before, .strand::after { content: ''; position: absolute; width: 10px; height: 10px; background: var(--neon-green); border-radius: 50%; top: -4px; box-shadow: 0 0 10px var(--neon-green); }
.strand::before { left: 0; } .strand::after { right: 0; }
.strand:nth-child(1) { animation-delay: -0.0s; top: 10%; } .strand:nth-child(2) { animation-delay: -0.3s; top: 20%; }
.strand:nth-child(3) { animation-delay: -0.6s; top: 30%; } .strand:nth-child(4) { animation-delay: -0.9s; top: 40%; }
.strand:nth-child(5) { animation-delay: -1.2s; top: 50%; } .strand:nth-child(6) { animation-delay: -1.5s; top: 60%; }
.strand:nth-child(7) { animation-delay: -1.8s; top: 70%; } .strand:nth-child(8) { animation-delay: -2.1s; top: 80%; }
.strand:nth-child(9) { animation-delay: -2.4s; top: 90%; } .strand:nth-child(10) { animation-delay: -2.7s; top: 100%; }
@keyframes rotateDNA { 0% { transform: rotateY(0deg) scaleX(1); z-index: 1; } 50% { transform: rotateY(90deg) scaleX(0); z-index: 0; } 100% { transform: rotateY(180deg) scaleX(1); z-index: 1; } }
.monitor-display { text-align: left; position: relative; }
.time-readout { display: flex; align-items: center; font-family: 'Share Tech Mono', monospace; z-index: 2; position: relative; }
.time-group { text-align: center; margin: 0 10px; }
.time-group span { font-size: 3rem; display: block; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); line-height: 1; }
.time-group small { font-size: 0.7rem; color: var(--neon-blue); letter-spacing: 1px; }
.separator { font-size: 2rem; color: var(--border); margin-bottom: 20px; }
.urgent span { color: var(--neon-green); animation: heartBeatText 1s infinite; }
@keyframes heartBeatText { 0% { transform: scale(1); } 15% { transform: scale(1.1); text-shadow: 0 0 20px var(--neon-green); } 30% { transform: scale(1); } 45% { transform: scale(1.1); text-shadow: 0 0 20px var(--neon-green); } 100% { transform: scale(1); } }
.ecg-background { position: absolute; top: 50%; left: 0; width: 100%; height: 100px; transform: translateY(-50%); opacity: 0.3; z-index: 1; overflow: hidden; }
.ecg-svg { width: 100%; height: 100%; fill: none; stroke: var(--neon-green); stroke-width: 2; stroke-dasharray: 500; stroke-dashoffset: 500; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.status-blink { position: absolute; top: -15px; right: 0; font-size: 0.7rem; color: red; animation: blinkStatus 1s infinite; }
@keyframes blinkStatus { 50% { opacity: 0; } }

/* --- ABOUT GRID --- */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; padding: 0 50px; }
.about-card { padding: 30px; border: 1px solid var(--border); text-align: center; transition: 0.3s; }
.about-card:hover { background: rgba(0, 243, 255, 0.1); transform: translateY(-5px); }
.icon-large { font-size: 40px; color: var(--neon-green); margin-bottom: 20px; }

/* --- TIMELINE --- */
.timeline { position: relative; max-width: 1200px; margin: 0 auto; }
.timeline::after { content: ''; position: absolute; width: 2px; background-color: var(--neon-green); top: 0; bottom: 0; left: 50%; margin-left: -1px; box-shadow: 0 0 10px var(--neon-green); }
.container { padding: 10px 40px; position: relative; background-color: inherit; width: 50%; }
.left { left: 0; text-align: right; }
.right { left: 50%; text-align: left; }
.container::after { content: ''; position: absolute; width: 20px; height: 20px; right: -10px; background-color: var(--bg); border: 2px solid var(--neon-blue); top: 15px; border-radius: 50%; z-index: 1; }
.right::after { left: -10px; }
.left::before { content: " "; position: absolute; top: 22px; right: 30px; border: medium solid white; }

/* --- EVENTS CARDS --- */
.card-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.holo-card { width: 300px; padding: 30px; background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%); border: 1px solid var(--border); backdrop-filter: blur(10px); position: relative; transition: 0.3s; margin: 10px; clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%); }
.holo-card:hover { transform: translateY(-10px); box-shadow: 0 0 30px rgba(0, 243, 255, 0.1); border-color: var(--neon-green); }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.holo-card button { margin-top: 15px; width: 100%; background: transparent; border: 1px solid var(--neon-blue); color: var(--neon-blue); padding: 8px; font-family: 'Share Tech Mono'; transition: 0.3s; }
.holo-card button:hover { background: var(--neon-blue); color: #000; }

/* --- MODALS (POPUP) --- */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.9); backdrop-filter: blur(5px); }
.modal-content { background-color: #000; margin: 10% auto; padding: 20px; border: 1px solid var(--neon-green); width: 80%; max-width: 600px; position: relative; box-shadow: 0 0 50px rgba(0, 255, 157, 0.2); }
.close { color: var(--neon-blue); float: right; font-size: 28px; font-weight: bold; cursor: pointer; }
.close:hover { color: red; }
.modal-body ul { text-align: left; list-style: none; margin: 20px 0; }
.modal-body li { padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }

/* --- MAP & VENUE --- */
.venue-container { display: flex; flex-wrap: wrap; gap: 20px; padding: 20px; border: 1px solid var(--border); max-width: 1000px; margin: 0 auto; }
.map-frame { flex: 1; min-width: 300px; position: relative; overflow: hidden; border: 1px solid var(--neon-blue); }
.map-frame iframe { filter: invert(90%) hue-rotate(180deg) contrast(1.2); }
.venue-details { flex: 1; min-width: 300px; padding: 20px; text-align: left; }
.venue-details h3 {color: var(--neon-green) }

/* --- REGISTRATION SECTION (Consolidated & Cleaned) --- */
.registration-section { padding: 80px 20px; position: relative; overflow: hidden; margin: 60px 0; }
.registration-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; }
.registration-section .container { width: 100% !important;max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.registration-section h2 { font-family: 'Orbitron', monospace; font-size: 3rem; text-align: center; margin-bottom: 15px; color: #00f3ff; text-shadow: 0 0 20px rgba(0, 243, 255, 0.5), 0 0 40px rgba(0, 243, 255, 0.3); letter-spacing: 3px; font-weight: 700; }
.section-subtitle { font-family: 'Courier New', monospace; text-align: center; font-size: 1.1rem; color: #b0b0b0; margin-bottom: 50px; letter-spacing: 1px; }


.register-btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    background: rgba(0, 255, 157, 0.1);
    border: 2px solid var(--neon-green);
    
  
    color: #ffffff !important; 
    text-decoration: none !important; 
    
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2), inset 0 0 10px rgba(0, 255, 157, 0.1);
    transition: all 0.3s ease;
    cursor: none; 
}

.register-btn-main:hover {
    background: var(--neon-green);
    color: #000000 !important; 
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.6), inset 0 0 20px rgba(0, 255, 157, 0.4);
    transform: scale(1.05);
}
.form-container { position: relative; background: rgba(20, 20, 40, 0.6); border: 2px solid rgba(0, 243, 255, 0.3); border-radius: 10px; overflow: hidden; box-shadow: 0 0 30px rgba(0, 243, 255, 0.2), inset 0 0 30px rgba(0, 243, 255, 0.05); margin-bottom: 30px; backdrop-filter: blur(10px); }

.biometric-scanner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; pointer-events: none; border-radius: 8px; animation: scannerPulse 2s ease-in-out infinite; }
@keyframes scannerPulse { 0%, 100% { box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.1); } 50% { box-shadow: inset 0 0 40px rgba(0, 243, 255, 0.2); } }
.biometric-scanner-overlay .laser-line { position: absolute; width: 100%; height: 3px; left: 0; background: linear-gradient(90deg, transparent 0%, rgba(0, 243, 255, 0.3) 10%, rgba(0, 255, 157, 0.8) 25%, rgba(0, 243, 255, 0.8) 50%, rgba(0, 255, 157, 0.8) 75%, rgba(0, 243, 255, 0.3) 90%, transparent 100%); box-shadow: 0 0 10px rgba(0, 243, 255, 0.8), 0 0 20px rgba(0, 255, 157, 0.6), 0 0 30px rgba(0, 243, 255, 0.4), inset 0 0 10px rgba(0, 255, 255, 0.5); animation: laserScanVertical 3s ease-in-out infinite; filter: blur(0.5px); }
@keyframes laserScanVertical { 0% { top: -3px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.scan-grid { position: absolute; width: 100%; height: 100%; top: 0; left: 0; }
.grid-row { position: absolute; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.1), transparent); box-shadow: 0 0 5px rgba(0, 243, 255, 0.2); }
.grid-row:nth-child(1) { top: 25%; } .grid-row:nth-child(2) { top: 50%; box-shadow: 0 0 8px rgba(0, 255, 157, 0.3); } .grid-row:nth-child(3) { top: 75%; }
.scan-corners { position: absolute; width: 100%; height: 100%; top: 0; left: 0; }
.corner { position: absolute; width: 40px; height: 40px; border: 2px solid rgba(0, 243, 255, 0.6); }
.corner::before, .corner::after { content: ''; position: absolute; background: rgba(0, 243, 255, 0.4); }
.corner.top-left { top: 15px; left: 15px; border-right: none; border-bottom: none; box-shadow: inset 0 0 15px rgba(0, 243, 255, 0.4); }
.corner.top-left::before { width: 100%; height: 1px; top: 0; left: 0; } .corner.top-left::after { width: 1px; height: 100%; top: 0; left: 0; }
.corner.top-right { top: 15px; right: 15px; border-left: none; border-bottom: none; box-shadow: inset 0 0 15px rgba(0, 243, 255, 0.4); }
.corner.top-right::before { width: 100%; height: 1px; top: 0; right: 0; } .corner.top-right::after { width: 1px; height: 100%; top: 0; right: 0; }
.corner.bottom-left { bottom: 15px; left: 15px; border-right: none; border-top: none; box-shadow: inset 0 0 15px rgba(0, 243, 255, 0.4); }
.corner.bottom-left::before { width: 100%; height: 1px; bottom: 0; left: 0; } .corner.bottom-left::after { width: 1px; height: 100%; bottom: 0; left: 0; }
.corner.bottom-right { bottom: 15px; right: 15px; border-left: none; border-top: none; box-shadow: inset 0 0 15px rgba(0, 243, 255, 0.4); }
.corner.bottom-right::before { width: 100%; height: 1px; bottom: 0; right: 0; } .corner.bottom-right::after { width: 1px; height: 100%; bottom: 0; right: 0; }

.info-box { background: rgba(20, 20, 40, 0.7); border-left: 4px solid #00f3ff; border-right: 2px solid rgba(118, 75, 162, 0.5); padding: 30px; border-radius: 8px; box-shadow: 0 0 20px rgba(0, 243, 255, 0.15); backdrop-filter: blur(10px); position: relative; }
.info-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, rgba(0, 243, 255, 0.05), transparent); pointer-events: none; border-radius: 8px; }
.info-box h3 { font-family: 'Orbitron', monospace; margin-top: 0; margin-bottom: 15px; font-size: 1.4rem; color: #00f3ff; text-shadow: 0 0 10px rgba(0, 243, 255, 0.4); letter-spacing: 2px; position: relative; z-index: 1; }
.info-box p { font-family: 'Courier New', monospace; margin: 0; line-height: 1.8; color: #d0d0d0; letter-spacing: 0.5px; position: relative; z-index: 1; }
.registration-section.fade-in { animation: fadeInUp 0.8s ease-out; }

.fee-structure {
    margin: 0 auto 40px auto;
    max-width: 900px;
    background: rgba(0, 20, 30, 0.6);
    border: 1px solid var(--neon-blue);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}
.fee-header {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-blue);
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-shadow: 0 0 10px var(--neon-blue);
}
.fee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.fee-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 5px;
    transition: 0.3s;
}
.fee-card:hover {
    border-color: var(--neon-green);
    box-shadow: inset 0 0 15px rgba(0, 255, 157, 0.1);
}
.sub-text {
    color: var(--neon-green);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    margin-bottom: 5px;
}
.fee-card {
    font-size: 0.85rem;
    color: hwb(0 64% 35%);
    margin-bottom: 15px;
    border-bottom: 1px dashed rgba(0, 243, 255, 0.3);
    padding-bottom: 10px;
}
.fee-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fee-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    border-bottom: none !important; 
    padding: 0 !important;
}
.fee-list .sub-li {
    font-size: 0.85rem;
    color: #00f3ff;
    opacity: 0.8;
    margin-top: -5px;
    padding-left: 15px;
}
.fee-list .price {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 0 5px var(--neon-blue);
}
.fee-addon {
    background: rgba(0, 255, 157, 0.05);
    border-left: 4px solid var(--neon-green);
    padding: 15px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    color: #e0f7fa;
    line-height: 1.5;
}
.fee-addon .price {
    color: var(--neon-green);
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-shadow: 0 0 5px var(--neon-green);
}

/* Mobile Tweaks for Fees */
@media (max-width: 768px) {
    .nav-logo-img {
        height: 45px; 
    }
    .fee-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .fee-structure { 
        padding: 15px; 
        margin: 0 0 30px 0; 
        width: 100% !important;
        box-sizing: border-box !important; 
        overflow: hidden; 
    }

    .fee-structure, .form-container{
        width: 100% !important;
        border-left: 0 !important;
        border-right: 0 !important;
        box-sizing: border-box !important;
    }

    .register-btn-main {
        font-size: 0.95rem !important;
        padding: 12px 15px !important;
        white-space: normal !important; 
        width: 90%; 
        text-align: center;
        box-sizing: border-box;
    }

    .form-container > div[style*="padding"]{
        padding: 50px 15px !important;
    }
    
    .fee-header { font-size: 1.2rem; margin-bottom: 15px; }
    
    .fee-card { 
        padding: 15px; 
        width: 100% !important; 
        box-sizing: border-box !important; 
    }
    .fee-card h4 { font-size: 0.95rem; }
    .fee-card .sub-text { font-size: 0.75rem; margin-bottom: 10px; line-height: 1.4; }
    
    .fee-list li { 
        display: flex;
        justify-content: space-between;
        align-items: center; 
        width: 100%;
        font-size: 0.75rem; 
        box-sizing: border-box;
    }
    
    .fee-list li span:first-child {
        flex: 1; 
        padding-right: 10px;
        line-height: 1.3;
    }
    
    .fee-list .price { 
        flex-shrink: 0; 
        font-size: 0.9rem; 
        white-space: nowrap; 
    }
    
    .fee-list .sub-li { font-size: 0.7rem; padding-left: 5px; }
    .fee-addon { font-size: 0.75rem; padding: 10px; line-height: 1.4; width: 100%; box-sizing: border-box; }
    .fee-addon .price { font-size: 0.85rem; }
    .registration-section{ padding: 40px 2% !important; }

 
 /*-----*/
    .timeline .content h2 {
        font-size: 1.3rem !important; 
        letter-spacing: 1.5px !important;
        text-shadow: 0 0 8px var(--neon-blue) !important; 
    }
    .timeline .content p {
        font-size: 1rem !important; 
        line-height: 1.6 !important;
        color: #ffffff !important; 
    }
    .fee-card {
        background: rgba(0, 20, 30, 0.8) !important; 
        border: 1px solid rgba(0, 243, 255, 0.4) !important; 
        box-shadow: inset 0 0 15px rgba(0, 243, 255, 0.05) !important;
    }
    .fee-card h4 {
        font-size: 1.1rem !important; 
        color: var(--neon-green) !important;
        text-shadow: 0 0 10px var(--neon-green) !important; 
    }
    .fee-list li span:first-child {
        font-size: 0.95rem !important;
        color: #f0f0f0 !important; 
    }
    .fee-list .price {
        font-size: 1.1rem !important;
        color: #00f3ff !important; 
        text-shadow: 0 0 10px #00f3ff, 0 0 20px #00f3ff !important; 
        font-weight: 900 !important;
    }
    .fee-addon {
        font-size: 0.85rem !important;
        border-left: 4px solid var(--neon-green) !important;
        box-shadow: 0 0 15px rgba(0, 255, 157, 0.1) !important; 
    }
    .cursor, 
    .cursor2, 
    #cursor, 
    .custom-cursor {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        pointer-events: none !important;
    }
    * {
        cursor: auto !important;
    }
    #gate-loader.gate-open {
        transform: translateY(-100%) !important; 
        opacity: 0 !important;
        transition: transform 0.7s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.5s ease-out !important;
    }
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* --- MED-TECH BACKGROUND HUD (HIGH BRIGHTNESS) --- */
.hud-decorations { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; opacity: 0.85; mix-blend-mode: screen; }
.hud-molecule { position: absolute; width: 140px; top: 15%; right: 5%; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.molecule-svg { width: 90px; height: 90px; animation: slowRotate 25s linear infinite; transform-origin: center; filter: drop-shadow(0 0 5px var(--neon-blue)) drop-shadow(0 0 15px var(--neon-green)); }
.molecule-data { font-family: 'Share Tech Mono'; color: var(--neon-green); font-size: 11px; letter-spacing: 2px; margin-top: 10px; font-weight: bold; text-shadow: 0 0 10px var(--neon-green); }
.hud-bio-ring { position: absolute; bottom: 15%; left: 5%; width: 120px; height: 120px; display: flex; justify-content: center; align-items: center; }
.bio-ring { position: absolute; border-radius: 50%; border: 1px solid transparent; }
.bio-ring.outer { width: 100%; height: 100%; border-top: 3px solid var(--neon-blue); border-bottom: 3px solid var(--neon-blue); box-shadow: 0 0 20px rgba(0, 243, 255, 0.5), inset 0 0 15px rgba(0, 243, 255, 0.5); animation: slowRotate 8s linear infinite; }
.bio-ring.inner { width: 70%; height: 70%; border-left: 3px dashed var(--neon-green); border-right: 3px dashed var(--neon-green); filter: drop-shadow(0 0 10px var(--neon-green)); animation: slowRotate 5s linear infinite reverse; }
.brain-icon { font-size: 35px; color: var(--neon-blue); opacity: 1; animation: pulseBrainBrighter 2s ease-in-out infinite; }
.scan-line-radial { position: absolute; width: 50%; height: 3px; background: var(--neon-green); top: 50%; left: 50%; transform-origin: left center; box-shadow: 0 0 15px var(--neon-green), 0 0 30px var(--neon-green); animation: radarSweep 3s linear infinite; }
.scan-text { position: absolute; bottom: -25px; font-family: 'Share Tech Mono'; font-size: 11px; font-weight: bold; color: var(--neon-blue); letter-spacing: 1px; white-space: nowrap; text-shadow: 0 0 10px var(--neon-blue); }
.hud-micro-vitals { position: absolute; top: 60%; right: 5%; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.vital-label { font-family: 'Share Tech Mono'; font-size: 11px; font-weight: bold; color: var(--neon-blue); letter-spacing: 1px; text-shadow: 0 0 10px var(--neon-blue); }
.vital-graph { display: flex; align-items: flex-end; gap: 4px; height: 35px; width: 70px; border-bottom: 2px solid var(--neon-green); box-shadow: 0 5px 10px -5px var(--neon-green); }
.bar { width: 10px; background: var(--neon-green); animation: equalize 1s ease-in-out infinite alternate; box-shadow: 0 0 10px var(--neon-green), 0 0 20px var(--neon-green); }
.bar:nth-child(1) { animation-delay: 0.1s; } .bar:nth-child(2) { animation-delay: 0.3s; } .bar:nth-child(3) { animation-delay: 0.5s; } .bar:nth-child(4) { animation-delay: 0.2s; } .bar:nth-child(5) { animation-delay: 0.4s; }
@keyframes slowRotate { 100% { transform: rotate(360deg); } }
@keyframes pulseBrainBrighter { 0%, 100% { filter: drop-shadow(0 0 10px var(--neon-blue)); transform: scale(1); } 50% { filter: drop-shadow(0 0 25px var(--neon-blue)) drop-shadow(0 0 40px var(--neon-blue)); transform: scale(1.1); color: #fff; } }
@keyframes radarSweep { 100% { transform: rotate(360deg); } }
@keyframes equalize { 0% { height: 20%; } 100% { height: 100%; } }

/* --- FOOTER --- */
.footer { background: #000; padding: 50px 0 20px; border-top: 1px solid var(--border); margin-top: 50px; text-align: center; }
.socials a { color: var(--neon-blue); font-size: 24px; margin: 0 15px; transition: 0.3s; }
.socials a:hover { color: var(--neon-green); text-shadow: 0 0 10px var(--neon-green); }


/* --- AMBIENT MACRO MEDICAL BACKGROUND (CLEAN & MINIMAL) --- */
.ambient-med-bg {
    position: fixed;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    z-index: 0; 
    pointer-events: none; 
    overflow: hidden;
}

/* 1. The Giant ECG Sweep */
.giant-ecg-sweep {
    position: absolute;
    top: 35%; 
    left: 0;
    width: 200%; 
    height: 300px;
    
    /* Pure CSS SVG Drawing of an ECG Heartbeat */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='0,100 300,100 330,50 380,180 430,20 480,130 510,100 1000,100' fill='none' stroke='%2300ff9d' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 50% 100%;
    
    opacity: 0.08; 
    filter: drop-shadow(0 0 15px var(--neon-green));
    animation: ecgSweep 15s linear infinite;
}

@keyframes ecgSweep {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* -----MOBILE RESPONSIVE: "MINI-DESKTOP" LAYOUT------ */

@media (max-width: 1024px) {
    .registration-section h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    /* 1. GLOBAL SCALING */
    html {
        zoom: 0.85; 
    }
    .section { padding: 50px 3%; } 
    .mega-title { font-size: 3rem; letter-spacing: 2px; }
    .section-title { font-size: 1.8rem; margin-bottom: 30px; }
    .subtitle { font-size: 1rem; }

    /* 2. NAVBAR (Horizontal Scroll Fix)*/
    .navbar { padding: 10px; flex-direction: column; align-items: center; gap: 10px; }
    
    .nav-links { 
        width: 100%; 
        overflow-x: auto; 
        justify-content: space-between; 
        gap: 10px; 
        padding-bottom: 5px; 
        padding-left: 10px;  
        padding-right: 10px; 
    }
    
    .nav-links::-webkit-scrollbar { height: 2px; }
    .nav-links::-webkit-scrollbar-thumb { background: var(--neon-green); }
    .nav-links a { font-size: 0.8rem; white-space: nowrap; }

    /* 3. HERO ELEMENTS (Keeps them side-by-side, just smaller) */
    .prize-pool-container { padding: 10px 20px; gap: 10px; margin: 15px auto; transform: scale(0.9); }
    .prize-amount { font-size: 1.5rem; }
    .prize-label { font-size: 10px; }
    
    .bio-timer { flex-direction: row; gap: 15px; padding: 10px 20px; justify-content: center; } 
    .dna-container { width: 30px; height: 80px; }
    .time-group span { font-size: 1.5rem; }
    .time-group small { font-size: 0.5rem; }
    .separator { font-size: 1.2rem; }
    .ecg-background { height: 50px; }

    /* 4. RESTORE HUD DOODLES (Visible but scaled down to 50%) */
    .hud-decorations { display: block; opacity: 0.6; } 
    .hud-molecule { transform: scale(0.5); top: 10%; right: -30px; }
    .hud-bio-ring { transform: scale(0.5); bottom: 10%; left: -30px; }
    .hud-micro-vitals { transform: scale(0.5); top: 40%; right: -30px; }

    /* 5. RESTORE CENTERED TIMELINE */
    .timeline::after { left: 50%; }
    .container { width: 50%; padding: 10px 15px; }
    .left { left: 0; text-align: right; }
    .right { left: 50%; text-align: left; }
    .content { padding: 10px; }
    .content h2 { font-size: 0.85rem; }
    .content p { font-size: 0.65rem; }
    /* Fix glowing nodes on the center line */
    .container::after { width: 12px; height: 12px; top: 12px; }
    .right::after { left: -6px; }
    .left::before { right: 10px; border-width: medium; top: 15px; }

    /* 6. EVENT MODULES (2 Columns instead of stacked) */
    .card-container { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .holo-card { width: 100%; padding: 15px; margin: 0; }
    .card-header { margin-bottom: 10px; }
    .holo-card h3 { font-size: 0.85rem; }
    .holo-card p { font-size: 0.65rem; line-height: 1.2; }
    .holo-card button { padding: 5px; font-size: 0.65rem; margin-top: 10px; }
    .icon-pulse { width: 15px; height: 15px; }

    /* 7. REGISTRATION & VENUE */
    .venue-container { flex-direction: column; }
    .map-frame iframe { height: 250px; }
    .venue-details h3 { font-size: 1rem; }
    .venue-details p { font-size: 0.8rem; }
    
    .registration-section { padding: 40px 10px; margin: 20px 0; }
    .registration-section h2 { font-size: 1.8rem; }
    .corner { width: 25px; height: 25px; }
    .info-box { padding: 15px; width: 100%; box-sizing: border-box; }
    .info-box h3 { font-size: 1rem; margin-bottom: 5px; }
    .info-box p { font-size: 0.8rem; line-height: 1.4; }
}