/* ===========================
   NineCSpensaKu
   Main Stylesheet
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#090B1A;
    color:#ffffff;
    min-height:100vh;
    overflow-x:hidden;
}

/* ===========================
   Background
=========================== */

.background{
    position:fixed;
    inset:0;
    background:
    radial-gradient(circle at top,#243B82 0%,#090B1A 70%);
    z-index:-2;
}

.stars{
    position:absolute;
    inset:0;
    background-image:
    radial-gradient(white 1px,transparent 1px);
    background-size:45px 45px;
    opacity:.18;
}

/* ===========================
   Loading
=========================== */

#loading{
    position:fixed;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    background:#090B1A;
    z-index:9999;
    gap:15px;
}

.loading-logo{
    width:120px;
    animation:float 2s ease-in-out infinite;
}

@keyframes float{

0%{
transform:translateY(0px);
}

50%{
transform:translateY(-8px);
}

100%{
transform:translateY(0px);
}

}

/* ===========================
Hero
=========================== */

.hero{
    text-align:center;
    padding:70px 20px 35px;
}

.logo{
    width:170px;
    margin-bottom:20px;
}

.hero h1{
    font-size:2rem;
    margin-bottom:8px;
}

.hero p{
    color:#d4d8ff;
    margin-top:5px;
}

/* ===========================
Card
=========================== */

.card{
    width:min(92%,800px);
    margin:20px auto;
    padding:25px;
    border-radius:22px;

    background:rgba(255,255,255,.07);

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.12);

    box-shadow:
    0 8px 25px rgba(0,0,0,.35);
}

.card h2{

margin-bottom:15px;

}

.card p{

line-height:1.8;

color:#e9ecff;

}

/* ===========================
Buttons
=========================== */

.buttons{

display:flex;

justify-content:center;

gap:15px;

flex-wrap:wrap;

margin:35px 20px;

}

button{

padding:14px 24px;

border:none;

border-radius:14px;

cursor:pointer;

font-size:15px;

font-weight:600;

transition:.3s;

}

#social-button{

background:#6C63FF;

color:white;

}

#invite-button{

background:white;

color:#090B1A;

}

button:hover{

transform:translateY(-3px);

}

/* ===========================
Footer
=========================== */

footer{

margin-top:50px;

padding:20px;

text-align:center;

color:#cfd4ff;

font-size:14px;

}

/* ===========================
Responsive
=========================== */

@media(max-width:768px){

.logo{

width:140px;

}

.hero h1{

font-size:1.6rem;

}

.card{

padding:20px;

}

button{

width:100%;

}

.buttons{

flex-direction:column;

}

}