:root {
    --bobo-blue: #60a5fa;
    --bobo-green: #4ade80;
    --goop-black: #050505;
    --goop-green: #39ff14;
    --goop-purple: #bd00ff;
    --font-3d: 'Titan One', cursive;
    --font-body: 'Nunito', sans-serif;
}

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

body {
    font-family: var(--font-body);
    overflow-x: hidden;
    background: var(--goop-black);
    color: #fff;
}

/* --- Preloader --- */
#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--goop-black);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

.loader-content { text-align: center; }
.loader-text {
    font-family: var(--font-3d);
    font-size: 2rem;
    color: var(--bobo-green);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.loader-bar {
    width: 200px; height: 10px;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}
.bar-fill {
    height: 100%; width: 0%;
    background: var(--bobo-green);
    animation: load 2s ease-in-out forwards;
}

@keyframes load { 0% { width: 0%; } 100% { width: 100%; } }

/* --- Hero Section --- */
.world-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Nav */
.glass-pill-nav {
    position: fixed;
    top: 2rem; left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 800px;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.glass-pill-nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.glass-pill-nav a:hover { color: var(--bobo-green); }

.nav-logo-small { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; }

.hero-scene { position: relative; height: 100%; width: 100%; }

/* Video Background */
.video-wrapper {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.scene-video {
    width: 100%; height: 100%;
    object-fit: cover;
}

.video-overlay-gradient {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0) 50%, #050505 100%);
    pointer-events: none;
}

/* Hero Overlay Content */
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    z-index: 10;
    perspective: 1000px; /* For 3D tilt */
}

/* Giant 3D Text */
.giant-3d-text {
    font-family: var(--font-3d);
    font-size: 14vw; /* Responsive huge size */
    color: #fff;
    line-height: 1;
    text-shadow: 
        0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9,
        0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1),
        0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2),
        0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2),
        0 20px 20px rgba(0,0,0,.15);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out; /* Smooth follow */
    cursor: default;
}

/* Floating Orbs */
.float-orb {
    position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.6;
    animation: floatOrb 10s infinite alternate;
}
.orb-1 { width: 300px; height: 300px; background: var(--bobo-blue); top: 10%; left: 10%; animation-duration: 8s; }
.orb-2 { width: 200px; height: 200px; background: var(--bobo-green); bottom: 20%; right: 15%; animation-duration: 12s; }

@keyframes floatOrb { 0% { transform: translate(0, 0); } 100% { transform: translate(30px, -30px); } }

/* Contract Pill */
.contract-wrapper { margin-top: 3rem; perspective: 500px; }

.contract-pill {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    border-radius: 20px;
    display: flex; align-items: center; gap: 1rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border: 4px solid #fff;
    transform: rotateX(10deg);
    transition: all 0.3s;
}

.contract-pill:hover {
    transform: rotateX(0deg) scale(1.05);
    box-shadow: 0 20px 50px rgba(74, 222, 128, 0.4);
    border-color: var(--bobo-green);
}

.ca-label { font-weight: 900; color: var(--bobo-green); font-size: 1.1rem; }
.ca-text { font-family: monospace; font-weight: 700; color: #333; font-size: 1.1rem; }
.copy-btn { background: none; border: none; cursor: pointer; color: #666; transition: color 0.2s; }
.copy-btn:hover { color: var(--bobo-green); }

/* Wave */
.wave-transition {
    position: absolute; bottom: -5px; left: 0; width: 100%; z-index: 20; line-height: 0;
}

/* --- Goop Section --- */
.neon-underworld {
    background-color: var(--goop-black);
    padding: 6rem 5% 10rem;
    position: relative; z-index: 15;
}

.section-title-box { text-align: center; margin-bottom: 6rem; }
.neon-title {
    font-family: var(--font-3d); font-size: 5rem; color: transparent;
    -webkit-text-stroke: 2px var(--goop-green);
    filter: drop-shadow(0 0 5px var(--goop-green));
}
.neon-subtitle { color: #888; font-size: 1.2rem; letter-spacing: 2px; margin-top: 1rem; }

/* Cards */
.neon-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem; max-width: 1200px; margin: 0 auto 8rem;
}

.neon-card {
    background: #0a0a0a; border-radius: 30px; overflow: hidden;
    border: 1px solid #222; position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.neon-card:hover { transform: translateY(-15px) scale(1.02); }

.card-image { height: 280px; width: 100%; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.neon-card:hover .card-image img { transform: scale(1.1); }

.card-content { padding: 2rem; text-align: center; }
.card-content h3 { font-family: var(--font-3d); font-size: 2rem; color: #fff; margin-bottom: 0.5rem; }

.green-glow:hover { box-shadow: 0 0 30px rgba(57, 255, 20, 0.4); border-color: var(--goop-green); }
.purple-glow:hover { box-shadow: 0 0 30px rgba(189, 0, 255, 0.4); border-color: var(--goop-purple); }

/* Dashboard */
.stats-dashboard {
    display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap;
    max-width: 1000px; margin: 0 auto;
}

.stat-item { text-align: center; }
.stat-ring {
    width: 150px; height: 150px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 8px solid #222; margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    background: #111;
}

.stat-ring.green { border-color: var(--goop-green); box-shadow: 0 0 20px rgba(57, 255, 20, 0.2); }
.stat-ring.purple { border-color: var(--goop-purple); box-shadow: 0 0 20px rgba(189, 0, 255, 0.2); }
.stat-ring.fire { border-color: #f97316; box-shadow: 0 0 20px rgba(249, 115, 22, 0.2); }

.stat-num { font-family: var(--font-3d); font-size: 2.5rem; color: #fff; }
.stat-desc { font-weight: 800; color: #666; text-transform: uppercase; letter-spacing: 1px; }

/* Footer */
footer {
    background: #000; position: relative; padding-bottom: 4rem;
    overflow: hidden; text-align: center;
}
.footer-slime { position: absolute; top: 0; left: 0; width: 100%; height: 100px; transform: translateY(-50%); }
.footer-logo { width: 80px; border-radius: 50%; border: 3px solid #fff; margin-bottom: 1rem; z-index: 10; position: relative; }
.footer-content p { color: #666; font-weight: 700; position: relative; z-index: 10; }

@media (max-width: 900px) {
    .giant-3d-text { font-size: 20vw; }
    .glass-pill-nav { flex-direction: row; padding: 0.5rem 1rem; }
    .nav-left, .nav-right { display: none; } /* Simplify nav on mobile */
    .nav-center { margin: 0 auto; }
}
