/* ==========================================
   CSS Variables & Architecture
========================================== */
:root {
    --bg-base: #07070a;
    --bg-surface: rgba(20, 20, 28, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-main: #f0f0f5;
    --text-muted: #8a8a9e;
    --neon-blue: #00e5ff;
    --neon-purple: #b000ff;
    --neon-pink: #ff007f;
    --rgb-gradient: linear-gradient(90deg, var(--neon-pink), var(--neon-purple), var(--neon-blue), var(--neon-pink));
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   Resets & Globals
========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; cursor: none; /* Custom Cursor */ }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .btn, .nav-link { font-family: 'Rajdhani', sans-serif; text-transform: uppercase; }
a { text-decoration: none; color: inherit; cursor: none; }
ul { list-style: none; }

::selection { background: var(--neon-blue); color: var(--bg-base); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--neon-purple); border-radius: 10px; }

/* ==========================================
   Custom Cursor
========================================== */
.custom-cursor {
    position: fixed; top: 0; left: 0; width: 8px; height: 8px;
    background: var(--neon-blue); border-radius: 50%;
    pointer-events: none; z-index: 10000; transform: translate(-50%, -50%);
}
.custom-cursor-follower {
    position: fixed; top: 0; left: 0; width: 30px; height: 30px;
    border: 1px solid rgba(0, 229, 255, 0.5); border-radius: 50%;
    pointer-events: none; z-index: 9999; transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-hover .custom-cursor-follower {
    width: 50px; height: 50px; background: rgba(0, 229, 255, 0.1); border-color: transparent;
}

/* ==========================================
   Utility Classes & Glassmorphism
========================================== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 120px 0; }
.text-center { text-align: center; }
.w-100 { width: 100%; }

.glass-panel {
    background: var(--bg-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass); border-radius: 12px;
}
.neon-text { color: var(--neon-blue); text-shadow: 0 0 10px rgba(0,229,255,0.5); }
.rgb-text {
    background: var(--rgb-gradient); background-size: 300%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: rgbFlow 6s linear infinite;
}
.rgb-border { position: relative; border-radius: 12px; }
.rgb-border::before {
    content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: var(--rgb-gradient); background-size: 300%; z-index: -1;
    border-radius: 14px; animation: rgbFlow 6s linear infinite;
}

@keyframes rgbFlow { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

/* ==========================================
   Background Canvas Elements
========================================== */
.bg-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -2; overflow: hidden; }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4; animation: floatOrb 15s infinite alternate ease-in-out; }
.orb-1 { width: 400px; height: 400px; background: var(--neon-blue); top: -100px; left: -100px; }
.orb-2 { width: 300px; height: 300px; background: var(--neon-purple); bottom: 10%; right: -50px; animation-delay: -5s; }
.orb-3 { width: 250px; height: 250px; background: var(--neon-pink); top: 40%; left: 40%; opacity: 0.2; animation-delay: -10s; }
.hex-grid {
    position: absolute; width: 100%; height: 100%;
    background-image: radial-gradient(var(--border-glass) 1px, transparent 1px);
    background-size: 30px 30px; opacity: 0.5;
}

@keyframes floatOrb { 100% { transform: translate(50px, 50px) scale(1.2); } }

/* ==========================================
   Header & Navigation
========================================== */
.glass-header {
    position: fixed; width: 100%; top: 0; z-index: 1000;
    background: rgba(7, 7, 10, 0.8); backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass); transition: var(--transition-smooth);
}
.glass-header.scrolled { padding: 5px 0; background: rgba(7, 7, 10, 0.95); }
.header-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; padding: 15px 5%; }
.brand-logo img { height: 35px; }
.nav-list { display: flex; gap: 35px; }
.nav-link { position: relative; font-size: 1.1rem; font-weight: 600; letter-spacing: 1px; color: var(--text-main); }
.nav-link::before {
    content: attr(data-text); position: absolute; left: 0; top: 0;
    color: var(--neon-blue); width: 0; overflow: hidden; transition: var(--transition-smooth);
    white-space: nowrap; border-right: 2px solid var(--neon-blue);
}
.nav-link:hover::before { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 28px;
    font-size: 1rem; font-weight: 700; border-radius: 6px; border: none; transition: var(--transition-fast);
}
.btn-primary { background: var(--text-main); color: var(--bg-base); }
.btn-glow:hover { box-shadow: 0 0 20px var(--neon-blue); background: var(--neon-blue); color: var(--bg-base); }
.btn-outline { border: 1px solid var(--border-glass); color: var(--text-main); }
.btn-outline:hover { border-color: var(--neon-blue); color: var(--neon-blue); }
.btn-support { background: rgba(0, 229, 255, 0.1); color: var(--neon-blue); border: 1px solid var(--neon-blue); }
.btn-support:hover { background: var(--neon-blue); color: var(--bg-base); }

/* Mobile Toggle */
.mobile-toggle { display: none; background: transparent; border: none; flex-direction: column; gap: 5px; cursor: none; }
.mobile-toggle span { display: block; width: 25px; height: 2px; background: var(--text-main); transition: 0.3s; }

/* ==========================================
   Floating Widgets
========================================== */
.floating-social-nav { position: fixed; left: 20px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 15px; z-index: 100; }
.social-btn { width: 45px; height: 45px; border-radius: 50%; background: var(--bg-surface); border: 1px solid var(--border-glass); display: flex; justify-content: center; align-items: center; color: var(--text-muted); font-size: 1.2rem; transition: var(--transition-smooth); backdrop-filter: blur(5px); }
.social-btn:hover { color: var(--text-main); transform: translateX(10px); }
.social-btn.yt:hover { border-color: #ff0000; box-shadow: 0 0 15px rgba(255,0,0,0.4); }
.social-btn.kick:hover { border-color: #53fc18; box-shadow: 0 0 15px rgba(83,252,24,0.4); }

.audio-controller { position: fixed; bottom: 30px; right: 30px; z-index: 100; }
.glass-btn { width: 60px; height: 60px; border-radius: 50%; background: var(--bg-glass); border: 1px solid var(--border-glass); color: var(--neon-blue); font-size: 1.2rem; display: flex; justify-content: center; align-items: center; backdrop-filter: blur(10px); transition: var(--transition-fast); }
.glass-btn:hover { background: rgba(0,229,255,0.1); border-color: var(--neon-blue); box-shadow: 0 0 20px rgba(0,229,255,0.3); }
.music-bars { display: none; gap: 3px; height: 15px; align-items: flex-end; }
.music-bars span { width: 3px; background: var(--neon-blue); animation: eq 1s infinite alternate; }
.music-bars span:nth-child(2) { animation-delay: 0.2s; }
.music-bars span:nth-child(3) { animation-delay: 0.4s; }
.playing .music-bars { display: flex; }
.playing .play-icon { display: none; }
@keyframes eq { 0% { height: 20%; } 100% { height: 100%; } }

/* ==========================================
   Hero Section
========================================== */
.hero-section { min-height: 100vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px; background: rgba(0, 255, 170, 0.1); border: 1px solid rgba(0, 255, 170, 0.3); color: #00ffaa; border-radius: 20px; font-size: 0.8rem; font-weight: bold; letter-spacing: 1px; margin-bottom: 20px; text-transform: uppercase; }
.pulse-dot { width: 8px; height: 8px; background: #00ffaa; border-radius: 50%; animation: blink 1.5s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.sub-heading { color: var(--text-muted); letter-spacing: 3px; font-size: 1.2rem; }
.main-heading { font-size: 5.5rem; line-height: 1; margin: 10px 0; letter-spacing: -2px; }
.typing-wrapper { height: 40px; font-size: 1.8rem; font-family: 'Rajdhani', sans-serif; font-weight: bold; margin-bottom: 25px; }
.cursor-blink { animation: blink 1s infinite; }
.hero-desc { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; max-width: 500px; }

/* Hero Image & Badges */
.hero-image-container { position: relative; }
.img-frame { padding: 5px; background: var(--bg-surface); overflow: hidden; }
.profile-pic { width: 100%; border-radius: 8px; filter: grayscale(20%) contrast(110%); transition: 0.5s; }
.img-frame:hover .profile-pic { filter: grayscale(0%) contrast(100%); transform: scale(1.02); }
.floating-badge { position: absolute; padding: 10px 20px; display: flex; align-items: center; gap: 10px; font-family: 'Rajdhani', sans-serif; font-weight: bold; letter-spacing: 1px; }
.badge-1 { top: 10%; left: -30px; animation: float 4s infinite ease-in-out; }
.badge-2 { bottom: 10%; right: -30px; animation: float 5s infinite ease-in-out reverse; }
@keyframes float { 50% { transform: translateY(-15px); } }

/* ==========================================
   Stats Section
========================================== */
.stats-grid { display: flex; justify-content: space-around; padding: 40px; margin-top: -50px; position: relative; z-index: 10; }
.stat-item { display: flex; align-items: center; gap: 20px; }
.stat-item i { font-size: 2.5rem; }
.stat-info h3 { font-size: 2.5rem; line-height: 1; }
.stat-info span { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; background: var(--border-glass); }

/* ==========================================
   About & Setup Sections
========================================== */
.section-header { margin-bottom: 60px; }
.section-header .kicker { font-family: 'Rajdhani', sans-serif; font-weight: bold; letter-spacing: 3px; display: block; margin-bottom: 10px; }
.section-header h2 { font-size: 3rem; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.about-text { padding: 40px; }
.about-text .lead { font-size: 1.2rem; color: var(--text-main); font-weight: 500; margin-bottom: 20px; }
.about-text p { margin-bottom: 15px; color: var(--text-muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-box { padding: 30px; transition: var(--transition-fast); }
.feature-box:hover { border-color: var(--neon-blue); transform: translateY(-5px); }
.feature-box i { font-size: 2rem; margin-bottom: 15px; }

/* Gear Grid */
.gear-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.gear-card { padding: 40px; text-align: center; }
.gear-card i { font-size: 3rem; color: var(--text-main); margin-bottom: 20px; transition: 0.3s; }
.gear-card:hover i { color: var(--neon-blue); transform: scale(1.1); }
.gear-card h3 { font-size: 1.5rem; margin-bottom: 20px; color: var(--neon-blue); }
.gear-card ul li { padding: 10px 0; border-bottom: 1px solid var(--border-glass); color: var(--text-muted); }
.gear-card ul li:last-child { border: none; }

/* ==========================================
   Content Universe Grid
========================================== */
.universe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 25px; }
.universe-card { display: flex; align-items: flex-start; gap: 20px; padding: 30px; transition: var(--transition-smooth); }
.card-icon { width: 60px; height: 60px; border-radius: 12px; background: rgba(0,229,255,0.05); display: flex; justify-content: center; align-items: center; font-size: 1.8rem; color: var(--neon-blue); flex-shrink: 0; }
.card-content h3 { font-size: 1.4rem; margin-bottom: 10px; }
.card-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 15px; }
.explore-link { font-family: 'Rajdhani', sans-serif; font-weight: bold; color: var(--neon-purple); display: flex; align-items: center; gap: 5px; transition: 0.3s; }
.universe-card:hover { border-color: var(--neon-purple); transform: translateY(-5px); background: rgba(176, 0, 255, 0.05); }
.universe-card:hover .explore-link { gap: 10px; }

/* ==========================================
   Video Showcase
========================================== */
.video-showcase { border-radius: 12px; overflow: hidden; background: #000; }
.video-header { padding: 15px 20px; background: #111; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #333; }
.dots { display: flex; gap: 6px; }
.dots span { width: 12px; height: 12px; border-radius: 50%; }
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }
.video-header .title { font-family: monospace; color: #888; }
.iframe-container { position: relative; padding-bottom: 56.25%; height: 0; }
.iframe-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ==========================================
   Timeline / Journey
========================================== */
.timeline-tree { max-width: 800px; margin: 0 auto; position: relative; }
.timeline-tree::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: var(--border-glass); }
.tree-node { margin-bottom: 40px; padding: 30px 30px 30px 70px; position: relative; }
.node-marker { position: absolute; left: 0; top: 30px; width: 50px; height: 50px; border-radius: 50%; background: var(--bg-surface); border: 2px solid var(--border-glass); display: flex; justify-content: center; align-items: center; font-family: 'Rajdhani', sans-serif; font-weight: bold; font-size: 1.2rem; }
.active-node { border-color: var(--neon-blue); box-shadow: 0 0 20px rgba(0,229,255,0.1); }
.active-node .node-marker { border-color: var(--neon-blue); background: rgba(0,229,255,0.1); }
.tree-node h3 { font-size: 1.5rem; margin-bottom: 10px; }
.tree-node p { color: var(--text-muted); }

/* ==========================================
   Contact Form Advanced
========================================== */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; padding: 0; overflow: hidden; }
.contact-info { padding: 50px; background: rgba(0,0,0,0.2); }
.comms-list { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.comm-item { display: flex; align-items: center; gap: 15px; color: var(--text-muted); font-size: 1.1rem; transition: 0.3s; }
.comm-item i { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-glass); display: flex; justify-content: center; align-items: center; color: var(--neon-blue); border: 1px solid var(--border-glass); }
.comm-item:hover { color: var(--text-main); }
.comm-item:hover i { background: var(--neon-blue); color: var(--bg-base); }

.contact-form-area { padding: 50px; }
.input-group { position: relative; margin-bottom: 30px; }
.input-group input, .input-group textarea { width: 100%; padding: 15px 0; background: transparent; border: none; border-bottom: 1px solid var(--border-glass); color: var(--text-main); font-size: 1rem; font-family: 'Inter', sans-serif; transition: 0.3s; resize: none; }
.input-group label { position: absolute; left: 0; top: 15px; color: var(--text-muted); pointer-events: none; transition: 0.3s; font-family: 'Rajdhani', sans-serif; text-transform: uppercase; letter-spacing: 1px; }
.input-group input:focus, .input-group textarea:focus { outline: none; border-bottom-color: var(--neon-blue); }
.input-group input:focus ~ label, .input-group input:valid ~ label, .input-group textarea:focus ~ label, .input-group textarea:valid ~ label { top: -10px; font-size: 0.8rem; color: var(--neon-blue); }
.feedback-msg { margin-top: 20px; font-weight: bold; text-align: center; }

/* ==========================================
   Mega Footer
========================================== */
.mega-footer { border-top: 1px solid var(--border-glass); background: #050508; padding-top: 80px; }
.grid-4 { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { height: 40px; margin-bottom: 20px; opacity: 0.5; }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; max-width: 300px; }
.footer-links h4 { color: var(--neon-blue); margin-bottom: 20px; font-size: 1.2rem; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: var(--text-muted); transition: 0.3s; }
.footer-links ul li a:hover { color: var(--text-main); padding-left: 5px; }
.newsletter-form { display: flex; padding: 5px; border-radius: 8px; margin-top: 20px; }
.newsletter-form input { flex: 1; background: transparent; border: none; padding: 10px 15px; color: white; outline: none; }
.newsletter-form button { background: var(--neon-blue); color: #000; border: none; width: 40px; border-radius: 4px; cursor: none; transition: 0.3s; }
.newsletter-form button:hover { background: white; }
.footer-bottom { border-top: 1px solid var(--border-glass); padding: 25px 0; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* ==========================================
   Animations & Reveals
========================================== */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ==========================================
   Media Queries
========================================== */
@media (max-width: 1024px) {
    .hero-grid, .about-layout, .contact-wrapper, .grid-4 { grid-template-columns: 1fr; }
    .hero-content { text-align: center; order: 2; }
    .hero-desc { margin: 0 auto 40px auto; }
    .hero-image-container { order: 1; max-width: 500px; margin: 0 auto 50px auto; }
    .action-group { justify-content: center; }
    .stats-grid { flex-direction: column; gap: 30px; text-align: center; }
    .stat-divider { width: 100%; height: 1px; }
}

@media (max-width: 768px) {
    .custom-cursor, .custom-cursor-follower { display: none; } /* Disable custom cursor on mobile */
    html, a, button { cursor: auto; }
    .floating-social-nav { display: none; }
    .main-heading { font-size: 3.5rem; }
    
    .nav-list {
        position: fixed; top: 0; right: -100%; width: 80vw; height: 100vh;
        background: #07070a; flex-direction: column; justify-content: center; align-items: center;
        transition: 0.4s ease; border-left: 1px solid var(--border-glass);
    }
    .nav-list.active { right: 0; }
    .mobile-toggle { display: flex; z-index: 1001; }
    .mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .header-actions .btn-support { display: none; }
}
