:root {
    --bg: #050507;
    --surface: #0a0a0c;
    --text: #f5f5f7;
    --text-dim: rgba(245, 245, 247, 0.5);
    --accent: #7c3aed;
    --accent-glow: rgba(124, 58, 237, 0.2);
    --border: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.02);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: initial; overflow-x: hidden; background: var(--bg); }
body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    color: var(--text); 
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Backgrounds & Overlays */
.noise-bg { position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: 0.02; pointer-events: none; z-index: 50; }
.grid-overlay { position: fixed; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 80px 80px; pointer-events: none; z-index: 0; opacity: 0.3; }
.ambient-glow { position: fixed; width: 60vw; height: 60vw; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%); top: -10%; right: -10%; filter: blur(120px); z-index: -1; }
.mouse-glow { position: fixed; width: 400px; height: 400px; background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%); pointer-events: none; z-index: 1; transform: translate(-50%, -50%); border-radius: 50%; }

/* Loader */
#loader { position: fixed; inset: 0; background: #000; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.loader-content { text-align: center; }
.loader-logo { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 700; letter-spacing: 1rem; color: #fff; display: block; margin-bottom: 20px; }
.loader-line-container { width: 240px; height: 1px; background: var(--border); margin: 0 auto; overflow: hidden; }
.loader-line { width: 0%; height: 100%; background: var(--accent); transition: 0.5s; }
.loader-status { margin-top: 15px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-dim); }

/* Navbar */
.navbar { position: fixed; top: 0; width: 100%; z-index: 500; padding: 30px 0; transition: 0.5s var(--ease); }
.navbar.scrolled { background: rgba(5, 5, 7, 0.8); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 15px 0; }
.nav-inner { max-width: 1400px; width: 90%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 15px var(--accent); }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: 2px; }
.nav-menu { display: flex; gap: 40px; }
.nav-link { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: 0.3s; }
.nav-link:hover { color: #fff; }
.btn-minimal { padding: 8px 20px; border: 1px solid var(--border); border-radius: 100px; color: #fff; text-decoration: none; font-size: 0.8rem; font-weight: 600; transition: 0.3s; }
.btn-minimal:hover { background: #fff; color: #000; }

/* Hero Section */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; text-align: center; overflow: hidden; }
.hero-container { z-index: 10; width: 90%; max-width: 900px; }
.badge { color: var(--accent); font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 5px; margin-bottom: 25px; }
.hero-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(4rem, 15vw, 10rem); font-weight: 700; line-height: 0.8; letter-spacing: -4px; margin-bottom: 20px; }
.hero-sub { font-size: 1.2rem; letter-spacing: 12px; color: var(--text-dim); margin-bottom: 40px; font-weight: 300; }
.hero-description { font-size: 1.2rem; color: var(--text-dim); max-width: 600px; margin: 0 auto 50px; }
.hero-actions { display: flex; gap: 30px; justify-content: center; }

/* Signature Button Component */
.btn-signature { text-decoration: none; display: inline-block; position: relative; transition: transform 0.1s ease-out; }
.btn-inner { 
    background: #0d0d10; 
    border: 1px solid var(--border); 
    padding: 20px 45px; 
    border-radius: 16px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 200px; height: 65px;
    position: relative; 
    overflow: hidden; 
    transition: 0.5s var(--ease);
}
.btn-inner i { position: absolute; left: 50%; transform: translateX(-50%); color: var(--accent); font-size: 1.5rem; transition: 0.6s var(--ease); }
.btn-label { position: absolute; left: 65px; opacity: 0; color: #fff; font-weight: 700; font-size: 0.95rem; transition: 0.6s var(--ease); transform: translateX(10px); }
.btn-signature:hover .btn-inner { border-color: var(--accent); box-shadow: 0 0 30px var(--accent-glow); background: #121217; }
.btn-signature:hover i { transform: translateX(-70px); }
.btn-signature:hover .btn-label { opacity: 1; transform: translateX(0); }

/* Signature Button Large (Contact) */
.btn-signature.large .btn-inner { width: 260px; border-radius: 100px; }

.btn-outline { color: #fff; text-decoration: none; font-weight: 600; padding: 20px 40px; transition: 0.3s; }
.btn-outline:hover { color: var(--accent); }

/* Orb Visual */
.orb-visual { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; pointer-events: none; }
.main-orb { width: 40vw; height: 40vw; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%); filter: blur(80px); opacity: 0.4; }
.orb-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 25vw; height: 25vw; border: 1px solid var(--border); border-radius: 50%; }

/* Sections Global */
.section { padding: 180px 0; }
.container { width: 90%; max-width: 1400px; margin: 0 auto; }
.label { color: var(--accent); text-transform: uppercase; font-weight: 800; font-size: 0.75rem; letter-spacing: 4px; display: block; margin-bottom: 30px; }
.section-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; margin-bottom: 60px; }

/* About */
.about-grid { max-width: 1000px; margin: 0 auto; text-align: center; }
.about h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; line-height: 1.2; color: #fff; }
.about h2 span { color: var(--accent); font-weight: 800; }

/* Bento Grid */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.bento-card { 
    background: var(--surface); 
    border: 1px solid var(--border); 
    padding: 50px; 
    border-radius: 40px; 
    position: relative; 
    overflow: hidden; 
    transition: 0.5s var(--ease);
}
.bento-card:hover { transform: translateY(-15px); border-color: var(--accent); }
.card-bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 100%); opacity: 0; transition: 0.5s; }
.bento-card:hover .card-bg { opacity: 1; }
.card-icon { color: var(--accent); width: 35px; height: 35px; margin-bottom: 30px; }
.bento-card h3 { font-size: 1.8rem; margin-bottom: 15px; }
.bento-card p { color: var(--text-dim); font-size: 1.05rem; }
.bento-card.tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; }
.bento-card.wide { grid-column: span 2; }
.wide-content { display: flex; gap: 40px; align-items: center; }

/* Spotify */
.spotify-card { 
    background: #000; 
    border: 1px solid var(--border); 
    padding: 80px; 
    border-radius: 50px; 
    display: flex; 
    gap: 80px; 
    align-items: center; 
    position: relative; 
    overflow: hidden; 
}
.spotify-glass { position: absolute; inset: 0; background: radial-gradient(circle at top right, var(--accent-glow), transparent 50%); opacity: 0.1; }
.spotify-info { flex: 1; }
.spotify-frame { flex: 1.2; position: relative; z-index: 2; }

/* Contact */
.contact-box { text-align: center; background: radial-gradient(circle at center, rgba(124, 58, 237, 0.05) 0%, transparent 70%); padding: 100px 0; border-radius: 60px; }
.contact-desc { color: var(--text-dim); font-size: 1.2rem; margin-bottom: 60px; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; }
.discord-tag { margin-top: 60px; display: flex; align-items: center; justify-content: center; gap: 15px; color: var(--text-dim); font-weight: 700; letter-spacing: 1px; }

/* Footer */
.footer { padding: 60px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; color: var(--text-dim); font-size: 0.9rem; }
.status { display: flex; align-items: center; gap: 10px; }
.pulse { width: 8px; height: 8px; background: #10b981; border-radius: 50%; box-shadow: 0 0 10px #10b981; animation: pulse 2s infinite; }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

/* Scroll Hint */
.scroll-hint { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); color: var(--text-dim); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 3px; }
.hint-line { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--accent), transparent); margin: 15px auto 0; }

/* Responsive */
@media (max-width: 992px) {
    .nav-menu { display: none; }
    .hero-title { font-size: 5rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.wide { grid-column: span 1; }
    .spotify-card { flex-direction: column; padding: 40px 20px; text-align: center; }
}
