/* ===============================
   RESET
================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--background);
    color:var(--text);
    overflow-x:hidden;
    min-height:100vh;
    transition:var(--transition);
}

/* ===============================
   LOADER
================================= */

#loader{
    position:fixed;
    inset:0;
    background:#09090f;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.loader-content{
    text-align:center;
}

.loader-heart{
    font-size:70px;
    margin-bottom:20px;
}

/* ===============================
   AURORA BACKGROUND
================================= */

.aurora{
    position:fixed;
    inset:0;
    overflow:hidden;
    z-index:-2;
}

.aurora span{
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    filter:blur(120px);
    opacity:.45;
}

.aurora span:nth-child(1){
    background:var(--primary);
    top:-120px;
    left:-120px;
}

.aurora span:nth-child(2){
    background:var(--secondary);
    right:-120px;
    top:25%;
}

.aurora span:nth-child(3){
    background:var(--accent);
    bottom:-150px;
    left:30%;
}

/* ===============================
   NAVBAR
================================= */

nav{

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 8%;

    position:fixed;

    top:0;

    z-index:1000;

    backdrop-filter:blur(18px);

    background:rgba(0,0,0,.15);

}

.logo{

    font-size:24px;

    font-weight:700;

    color:white;

}

.nav-buttons{

    display:flex;

    gap:15px;

}

.nav-buttons button{

    width:48px;

    height:48px;

    border:none;

    border-radius:50%;

    background:var(--surface);

    color:white;

    cursor:pointer;

    backdrop-filter:blur(20px);

    transition:.3s;

}

.nav-buttons button:hover{

    transform:translateY(-3px);

}

/* ===============================
   HERO
================================= */

.hero{

    width:100%;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:120px 20px 80px;

}

.glass-card{

    max-width:850px;

    width:100%;

    padding:60px;

    text-align:center;

    border-radius:var(--radius);

    background:var(--surface);

    border:1px solid var(--surface-border);

    backdrop-filter:blur(25px);

    box-shadow:var(--shadow);

}

.tag{

    display:inline-block;

    padding:10px 18px;

    border-radius:999px;

    background:rgba(255,255,255,.08);

    margin-bottom:30px;

    font-size:14px;

}

h1{

    font-family:"Playfair Display",serif;

    font-size:4rem;

    margin-bottom:20px;

    line-height:1.1;

}

h2{

    font-size:2rem;

    color:var(--gold);

    min-height:55px;

    margin-bottom:30px;

}

.subtitle{

    max-width:650px;

    margin:auto;

    color:var(--muted);

    line-height:1.8;

    font-size:18px;

}

/* ===============================
   BUTTON
================================= */

.start-btn{

    margin-top:45px;

    padding:18px 40px;

    border:none;

    border-radius:999px;

    cursor:pointer;

    font-size:18px;

    color:white;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    transition:.35s;

    box-shadow:0 15px 40px rgba(124,58,237,.4);

}

.start-btn:hover{

    transform:translateY(-5px) scale(1.05);

}

/* ===============================
   MUSIC POPUP
================================= */

#musicPopup{

    position:fixed;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(0,0,0,.65);

    z-index:5000;

}

.popup{

    width:min(90%,420px);

    padding:35px;

    border-radius:25px;

    text-align:center;

    backdrop-filter:blur(25px);

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.15);

}

.popup h2{

    margin-bottom:15px;

}

.popup p{

    color:var(--muted);

    margin-bottom:25px;

}

.popup button{

    width:100%;

    margin-top:12px;

    padding:14px;

    border:none;

    border-radius:14px;

    cursor:pointer;

    font-size:16px;

}

#playMusic{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:white;

}

#skipMusic{

    background:white;

    color:#111;

}

/* ===============================
   FOOTER
================================= */

footer{

    text-align:center;

    padding:40px 20px;

    color:var(--muted);

    font-size:15px;

}

body{

    transition:opacity .6s ease;

}

.top-buttons{

    position:absolute;

    top:25px;

    right:30px;

}

#themeBtn{

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.12);

    color:white;

    backdrop-filter:blur(18px);

    cursor:pointer;

    transition:.3s;

    font-size:18px;

}

#themeBtn:hover{

    transform:scale(1.08);

}