@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}

:root{
    --cw:190px;
    --ch:260px;
    --cr:14px;
}

html,body{
    width:100%;height:100%;
    background:#000;
    font-family:'Outfit',sans-serif;
    overflow:hidden;
    touch-action:none;
    -webkit-tap-highlight-color:transparent;
}

/* ═══ CANVASES ═══ */
#particle-canvas,#burst-canvas{
    position:fixed;inset:0;width:100%;height:100%;pointer-events:none;
}
#particle-canvas{z-index:1;}
#burst-canvas{z-index:60;}

/* ═══════════════════════════════════════
   LOCK SCREEN
═══════════════════════════════════════ */
#lock-screen{
    position:fixed;inset:0;z-index:50;
    display:flex;justify-content:center;align-items:center;
    transition:opacity .8s,visibility .8s;
}
#lock-screen.fade-out{opacity:0;visibility:hidden;}
.lock-scene{perspective:1000px;}
.lock-card-3d{
    width:220px;height:280px;
    transform-style:preserve-3d;
}
.card-inner{
    position:relative;width:100%;height:100%;border-radius:26px;
    background:linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.01));
    border:1px solid rgba(255,255,255,.1);
    backdrop-filter:blur(30px) saturate(1.2);-webkit-backdrop-filter:blur(30px) saturate(1.2);
    display:flex;flex-direction:column;
    align-items:center;justify-content:center;gap:22px;overflow:hidden;
    box-shadow:0 30px 60px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-inner:hover {
    box-shadow:0 35px 70px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.25);
    background:linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
}
.card-inner::before{
    content:'';position:absolute;inset:0;border-radius:26px;z-index:-1;
    background:conic-gradient(from var(--a,0deg),
        transparent 0%,rgba(255,255,255,.1) 18%,
        rgba(160,80,255,.2) 40%,rgba(60,180,255,.2) 65%,transparent 100%);
    animation:spinBorder 6s linear infinite;
}
@property --a{syntax:'<angle>';initial-value:0deg;inherits:false;}
@keyframes spinBorder{to{--a:360deg;}}
.card-glow{
    position:absolute;width:200px;height:200px;border-radius:50%;
    background:radial-gradient(circle,rgba(160,80,255,.18) 0%,transparent 70%);
    pointer-events:none;top:50%;left:50%;
    transform:translate(-50%,-50%);transition:transform .1s;
}
.lock-icon-wrap{
    position:relative;width:80px;height:80px;
    display:flex;align-items:center;justify-content:center;
}
.lock-icon{
    font-size:2.2rem;color:#fff;z-index:2;
    animation:lockFloat 3s ease-in-out infinite;
    filter:drop-shadow(0 0 14px rgba(200,150,255,.85));
}
@keyframes lockFloat{
    0%,100%{transform:translateY(0) scale(1);}
    50%    {transform:translateY(-4px) scale(1.05);}
}
.lock-label{
    color:rgba(255,255,255,.85);font-size:.9rem;
    text-align:center;padding:0 20px;line-height:1.6;letter-spacing:.02em;
}
.lock-hint{display:flex;gap:10px;}
.lock-hint span{
    width:6px;height:6px;border-radius:50%;
    background:rgba(200,150,255,.65);
    animation:dotBounce 1.3s ease-in-out infinite;
}
.lock-hint span:nth-child(2){animation-delay:.2s;}
.lock-hint span:nth-child(3){animation-delay:.4s;}
@keyframes dotBounce{0%,80%,100%{transform:scale(1);opacity:.5;}40%{transform:scale(1.5);opacity:1;}}

/* ═══ INTRO ═══ */
#intro-container{
    position:fixed;inset:0;z-index:40;background:#000;
    display:none;justify-content:center;align-items:center;
    transition:opacity 1s;
}
#intro-video{width:75%;height:75%;object-fit:contain;}

/* ═══ MAIN ═══ */
#main-content{
    position:fixed;inset:0;z-index:10;
    opacity:0;transition:opacity 2s;
}
#main-content.hidden{display:none;}
#main-content.visible{opacity:1;}

#bg-video{
    position:absolute;inset:0;width:100%;height:100%;
    object-fit:cover;
    filter:blur(6px) brightness(.45) saturate(1.3);
    transform:scale(1.07);z-index:0;
}
.bg-overlay{
    position:absolute;inset:0;z-index:1;pointer-events:none;
    background:radial-gradient(ellipse at 50% 50%,rgba(0,0,0,.05) 0%,rgba(0,0,0,.55) 100%);
}
.bg-nebula{
    position:absolute;inset:0;z-index:1;pointer-events:none;
    background:
        radial-gradient(ellipse 55% 45% at 15% 65%,rgba(120,50,200,.2) 0%,transparent 70%),
        radial-gradient(ellipse 50% 40% at 85% 25%,rgba(0,140,255,.15) 0%,transparent 70%),
        radial-gradient(ellipse 40% 35% at 50% 90%,rgba(255,50,100,.12) 0%,transparent 70%);
    animation:nebulaDrift 14s ease-in-out infinite alternate;
}
@keyframes nebulaDrift{0%{opacity:.6;transform:scale(1);}100%{opacity:.9;transform:scale(1.04);}}

/* ═══ DOTS — bottom right, vertical ═══ */
#nav-dots{
    position:absolute;bottom:28px;right:20px;
    display:flex;flex-direction:column;gap:9px;
    z-index:20;opacity:0;transition:opacity .6s;
}
#nav-dots.show{opacity:1;}
.dot{
    width:8px;height:8px;border-radius:50%;
    background:rgba(255,255,255,.25);
    border:1px solid rgba(255,255,255,.35);
    cursor:pointer;display:block;
    transition:all .35s cubic-bezier(.34,1.56,.64,1);
}
.dot.active{
    width:8px;height:24px;border-radius:5px;
    background:#fff;
    box-shadow:0 0 10px rgba(255,255,255,.45);
}

/* ═══════════════════════════════════════
   3D TUNNEL SCENE — perspective on wrapper
═══════════════════════════════════════ */
#scene{
    position:absolute;inset:0;z-index:2;
    pointer-events:none;
    perspective:800px;
}

/* Camera anchor: dead center, moves in Z + X to center on active card */
#camera{
    position:absolute;
    top:50%;left:50%;
    width:0;height:0;
    transform-style:preserve-3d;
    transition:transform .85s cubic-bezier(.65,.0,.35,1);
    pointer-events:none;
}

/* ═══════════════════════════════════════
   MODERN NEON/OBSIDIAN CARDS
═══════════════════════════════════════ */
.holo-card{
    position:absolute;
    width:var(--cw);height:var(--ch);
    left:calc(var(--cw) / -2);
    top:calc(var(--ch) / -2);
    border-radius:var(--cr);
    text-decoration:none;
    transform-style:preserve-3d;
    pointer-events:none;
    opacity:0;
    transition:opacity .6s ease, filter .6s ease;
}

/* ── States ── */
.holo-card.is-active{
    opacity:1;pointer-events:all;
    filter:brightness(1) blur(0);
    animation:cardFloat 6s ease-in-out infinite;
}
.holo-card.is-near{
    opacity:.4;
    filter:brightness(.5) blur(2px);
}
.holo-card.is-far{
    opacity:.08;
    filter:brightness(.15) blur(5px);
}

@keyframes cardFloat{
    0%,100%{transform:var(--pos) translateY(0);}
    50%    {transform:var(--pos) translateY(-12px);}
}
.holo-card.is-active:hover{animation-play-state:paused;}

/* ── BRAND COLORS ── */
.soundcloud { --brand-color: #ff5500; }
.spotify    { --brand-color: #1DB954; }
.beatport   { --brand-color: #02ff95; }
.instagram  { --brand-color: #e1306c; }
.email      { --brand-color: #ea4335; }

/* ── BODY (Obsidian Plate) ── */
.holo-body{
    position:absolute;inset:0;border-radius:var(--cr);
    background: linear-gradient(150deg, rgba(25,25,32,0.95) 0%, rgba(10,10,14,0.98) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 20px 40px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.1);
    backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
    display:flex;flex-direction:column;
    align-items:center;justify-content:center;gap:18px;
    overflow:hidden;z-index:2;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}

/* Bottom Neon Accent Line */
.holo-body::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--brand-color);
    box-shadow: 0 0 20px var(--brand-color);
    opacity: 0.9;
    transition: height 0.3s ease;
    z-index: 3;
}

.holo-card:hover .holo-body {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.15);
}

.holo-card:hover .holo-body::before {
    height: 6px;
    opacity: 1;
}

/* ── FOIL (Animated Interior Orb) ── */
.holo-foil {
    position: absolute;
    inset: 0;
    border-radius: var(--cr);
    background: radial-gradient(circle at 50% 50%, var(--brand-color) 0%, transparent 65%);
    opacity: 0.45;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
    animation: orbBreathe 4s ease-in-out infinite alternate;
}
@keyframes orbBreathe {
    0% { transform: scale(1) translate(-5%, -5%); opacity: 0.35; }
    100% { transform: scale(1.3) translate(5%, 5%); opacity: 0.6; }
}

/* ── MULTI-SCANLINE (Neon Grid) ── */
.holo-body::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            to bottom,
            transparent,
            transparent 15px,
            var(--brand-color) 16px,
            var(--brand-color) 17px
        );
    opacity: 0.25;
    z-index: 1;
    animation: multiScanline 2.5s linear infinite;
    pointer-events: none;
    background-size: 100% 200%;
}
@keyframes multiScanline {
    0% { background-position: 0 0; }
    100% { background-position: 0 34px; }
}

/* ── ICON & TEXT ── */
.holo-body i{
    font-size:3.5rem;
    color: var(--brand-color);
    z-index:2;
    transform: translateY(-5px);
    filter: drop-shadow(0 0 25px var(--brand-color));
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), filter 0.3s;
}
.holo-card:hover .holo-body i{
    transform: scale(1.1) translateY(-8px);
    filter: drop-shadow(0 0 40px var(--brand-color));
}

.holo-body span{
    font-size:0.75rem;font-weight:700;
    color:#fff;
    letter-spacing:0.25em;text-transform:uppercase;z-index:2;
    transform: translateY(3px);
}

/* ── GLOW (Ambient outer glow) ── */
.holo-glow{
    position:absolute;inset:-20px;border-radius:40px;
    background: radial-gradient(circle at 50% 50%, var(--brand-color) 0%, transparent 60%);
    filter:blur(30px);
    opacity: 0.2;
    transition:opacity 0.4s;pointer-events:none;z-index:0;
}
.holo-card:hover .holo-glow{
    opacity: 0.45;
}

/* ═══ BRAND TITLE ═══ */
#brand-title {
    position: absolute;
    top: 45px;
    left: 45px;
    z-index: 20;
    color: #fff;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 1.2s 0.6s, transform 1.2s 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}
#brand-title h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 6px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    background: linear-gradient(90deg, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#brand-title p {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.4em;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
}
#main-content.visible #brand-title {
    opacity: 1;
    transform: translateY(0);
}

/* ═══ RESPONSIVE ═══ */
@media(max-width:768px){
    #brand-title { top: 25px; left: 25px; }
    #brand-title h1 { font-size: 1.3rem; }
}
@media(max-width:420px){
    :root{--cw:170px;--ch:230px;--cr:12px;}
    .lock-card-3d{width:200px;height:260px;}
}

/* ═══ AUDIO VISUALIZER ═══ */
/* ═══ AUDIO VISUALIZER ═══ */
#audio-visualizer, #audio-visualizer-bottom {
    position: fixed;
    left: 0;
    width: 100vw;
    height: 200px;
    z-index: 9999;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.45;
}
#audio-visualizer {
    top: 0;
}
#audio-visualizer-bottom {
    bottom: 0;
}
