/* =========================
   KAII DEV V2
   BLACK WHITE NEON
========================= */

:root{

--bg:#050505;
--card:rgba(255,255,255,.05);
--card2:rgba(255,255,255,.08);

--border:rgba(255,255,255,.08);

--white:#ffffff;

--shadow:
0 0 25px rgba(255,255,255,.08);

--radius:30px;

}

/* ========================= */

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

html{
scroll-behavior:smooth;
}

body{

background:black;
color:white;

overflow-x:hidden;
min-height:100vh;

}

/* =========================
   LOADER
========================= */

#loader{

position:fixed;
inset:0;

background:black;

display:flex;
flex-direction:column;

justify-content:center;
align-items:center;

gap:20px;

z-index:999999;

}

.loader-ring{

width:80px;
height:80px;

border-radius:50%;

border:4px solid rgba(255,255,255,.1);
border-top:4px solid white;

animation:spin 1s linear infinite;

}

@keyframes spin{

from{
transform:rotate(0deg);
}

to{
transform:rotate(360deg);
}

}

/* =========================
   BACKGROUND
========================= */

.background{

position:fixed;

inset:0;

background:url("images/background.jpg");

background-size:cover;
background-position:center;

z-index:-5;

}

.background::before{

content:'';

position:absolute;

inset:0;

background:
rgba(0,0,0,.65);

backdrop-filter:
blur(12px);

}

/* =========================
   PARTICLES
========================= */

#particles{

position:fixed;

inset:0;

pointer-events:none;

z-index:-3;

}

/* =========================
   CURSOR GLOW
========================= */

.cursor-glow{

width:200px;
height:200px;

position:fixed;

border-radius:50%;

background:
radial-gradient(
circle,
rgba(255,255,255,.12),
transparent
);

pointer-events:none;

transform:
translate(-50%,-50%);

z-index:999;

}

/* =========================
   CONTAINER
========================= */

.container{

width:100%;
max-width:900px;

margin:auto;

padding:50px 20px;

display:flex;
flex-direction:column;

gap:30px;

}

/* =========================
   PROFILE CARD
========================= */

.profile-card{

background:var(--card);

border:
1px solid var(--border);

backdrop-filter:
blur(25px);

border-radius:
var(--radius);

padding:40px;

text-align:center;

box-shadow:
var(--shadow);

position:relative;

overflow:hidden;

transition:.4s;

}

.profile-card:hover{

transform:
translateY(-6px);

border-color:
rgba(255,255,255,.2);

}

/* animated border */

.profile-card::before{

content:'';

position:absolute;

top:0;
left:-100%;

width:50%;
height:100%;

background:
linear-gradient(
90deg,
transparent,
rgba(255,255,255,.15),
transparent
);

animation:
shine 6s linear infinite;

}

@keyframes shine{

100%{
left:150%;
}

}

/* =========================
   AVATAR
========================= */

.avatar-wrapper{

display:flex;

justify-content:center;

margin-bottom:20px;

}

.avatar{

width:140px;
height:140px;

border-radius:50%;

object-fit:cover;

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

box-shadow:
0 0 30px rgba(255,255,255,.15);

animation:
float 4s ease infinite;

}

@keyframes float{

0%{
transform:translateY(0);
}

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

100%{
transform:translateY(0);
}

}

/* =========================
   TEXT
========================= */

.profile-card h1{

font-size:58px;

font-weight:700;

}

.dev-title{

font-size:12px;

letter-spacing:5px;

opacity:.6;

margin-top:8px;

}

.bio{

margin-top:15px;

font-size:18px;

opacity:.8;

}

.typing{

margin-top:15px;

height:25px;

font-size:15px;

color:white;

}

.location{

margin-top:15px;

opacity:.7;

}

/* =========================
   STATUS
========================= */

.status-card{

display:flex;

justify-content:center;
align-items:center;

gap:10px;

margin-top:20px;

}

.status-dot{

width:10px;
height:10px;

border-radius:50%;

background:#00ff66;

box-shadow:
0 0 15px #00ff66;

}

/* =========================
   DISCORD CARD
========================= */

.discord-card{

margin-top:25px;

background:var(--card2);

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

border-radius:25px;

padding:20px;

display:flex;

align-items:center;

gap:15px;

}

.discord-left img{

width:70px;
height:70px;

border-radius:50%;

}

.discord-center{

flex:1;

text-align:left;

}

.discord-center h3{

font-size:22px;

}

.discord-center p{

opacity:.7;

}

#copyDiscord{

border:none;

background:white;

color:black;

padding:12px 20px;

border-radius:15px;

font-weight:600;

cursor:pointer;

transition:.3s;

}

#copyDiscord:hover{

transform:scale(1.05);

}

/* =========================
   STATS
========================= */

.stats{

display:grid;

grid-template-columns:
repeat(3,1fr);

gap:15px;

margin-top:25px;

}

.stat-box{

background:var(--card2);

padding:20px;

border-radius:20px;

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

}

.stat-box h2{

font-size:24px;

}

.stat-box span{

opacity:.7;

}

/* =========================
   STACK
========================= */

.stack-card{

margin-top:25px;

background:var(--card2);

padding:20px;

border-radius:20px;

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

}

.stack-card h3{

margin-bottom:15px;

}

.stack-list{

display:flex;

gap:10px;

flex-wrap:wrap;

}

.stack-list span{

padding:10px 15px;

border-radius:50px;

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

}

/* =========================
   PROJECT
========================= */

.project-card{

margin-top:20px;

background:var(--card2);

padding:20px;

border-radius:20px;

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

}

/* =========================
   SOCIALS
========================= */

.socials{

display:flex;

justify-content:center;

gap:15px;

margin-top:25px;

}

.socials a{

width:60px;
height:60px;

border-radius:50%;

display:flex;

justify-content:center;
align-items:center;

text-decoration:none;

color:white;

font-size:24px;

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

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

transition:.3s;

}

.socials a:hover{

transform:
translateY(-5px);

box-shadow:
0 0 20px rgba(255,255,255,.15);

}

/* =========================
   COUNTER
========================= */

.counter{

margin-top:25px;

opacity:.7;

}

/* =========================
   MUSIC
========================= */

.music-card{

background:var(--card);

border:
1px solid var(--border);

backdrop-filter:
blur(25px);

padding:30px;

border-radius:30px;

box-shadow:
var(--shadow);

}

.music-header{

display:flex;

align-items:center;

gap:15px;

}

.music-icon{

width:70px;
height:70px;

border-radius:20px;

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

display:flex;

justify-content:center;
align-items:center;

font-size:28px;

}

.music-info h3{

font-size:22px;

}

.music-info span{

opacity:.7;

}

/* ========================= */

.progress-container{

width:100%;

height:10px;

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

border-radius:20px;

margin-top:20px;

overflow:hidden;

}

.progress{

width:0%;

height:100%;

background:white;

box-shadow:
0 0 15px white;

}

/* ========================= */

.time-info{

display:flex;

justify-content:space-between;

margin-top:10px;

opacity:.7;

}

/* ========================= */

.controls{

display:flex;

justify-content:center;

gap:15px;

margin-top:25px;

}

.controls button{

width:60px;
height:60px;

border-radius:50%;

border:none;

cursor:pointer;

font-size:20px;

background:white;

color:black;

transition:.3s;

}

.controls button:hover{

transform:
scale(1.08);

}

/* ========================= */

.volume-box{

display:flex;

align-items:center;

gap:10px;

margin-top:25px;

}

#volume{

width:100%;

}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

.profile-card h1{

font-size:42px;

}

.discord-card{

flex-direction:column;

text-align:center;

}

.discord-center{

text-align:center;

}

.stats{

grid-template-columns:
1fr;

}

.socials{

flex-wrap:wrap;

}

}

@media(max-width:500px){

.profile-card{

padding:30px 20px;

}

.avatar{

width:120px;
height:120px;

}

.profile-card h1{

font-size:34px;

}

.bio{

font-size:15px;

}

.music-card{

padding:20px;

}

}