/* style.css */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --bg:#050816;
    --card:rgba(12,18,35,.72);
    --text:#ffffff;
    --muted:#9ba8d3;
    --border:rgba(255,255,255,.08);
}

body.light{
    --bg:#f2f5ff;
    --card:rgba(255,255,255,.72);
    --text:#101322;
    --muted:#4a5475;
    --border:rgba(0,0,0,.08);
}

body{
    font-family:'Inter',sans-serif;

    background:
    linear-gradient(rgba(5,8,22,.75),rgba(5,8,22,.85)),
    url('arka.png');

    background-size:cover;
    background-position:center;
    background-attachment:fixed;

    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    overflow-x:hidden;

    color:var(--text);

    padding:30px;
}

/* PARTICLES */

#particles-js{
    position:fixed;
    inset:0;
    z-index:-10;
}

/* ORBS */

.orb{
    position:fixed;
    width:350px;
    height:350px;

    border-radius:50%;

    filter:blur(120px);

    z-index:-5;
}

.orb1{
    background:#ff004c55;
    top:-100px;
    left:-100px;

    animation:float1 8s infinite alternate;
}

.orb2{
    background:#004cff55;
    bottom:-100px;
    right:-100px;

    animation:float2 10s infinite alternate;
}

@keyframes float1{
    to{
        transform:translate(100px,50px);
    }
}

@keyframes float2{
    to{
        transform:translate(-80px,-60px);
    }
}

/* CURSOR */

.cursor,
.cursor2{
    position:fixed;
    border-radius:50%;
    pointer-events:none;
    z-index:9999;
}

.cursor{
    width:8px;
    height:8px;
    background:white;
}

.cursor2{
    width:40px;
    height:40px;
    border:1px solid rgba(255,255,255,.5);
    transition:.15s;
}

/* CONTAINER */

.container{
    width:100%;
    max-width:520px;

    background:var(--card);

    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);

    border:1px solid var(--border);

    border-radius:35px;

    padding:32px;

    box-shadow:
    0 15px 60px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.08);

    position:relative;
}

/* TOP */

.top-bar{
    display:flex;
    justify-content:flex-end;
    gap:10px;

    margin-bottom:20px;
}

.top-bar button{
    width:42px;
    height:42px;

    border:none;
    border-radius:14px;

    background:rgba(255,255,255,.08);

    color:white;

    cursor:pointer;

    transition:.3s;
}

.top-bar button:hover{
    transform:translateY(-3px);
    background:#ff004c;
}

/* PROFILE */

.profile-section{
    text-align:center;
}

.profile-ring{
    width:145px;
    height:145px;

    margin:auto;

    padding:4px;

    border-radius:50%;

    background:linear-gradient(
    135deg,
    #ff004c,
    #005eff,
    #ffffff
    );

    animation:spin 8s linear infinite;
}

@keyframes spin{
    to{
        transform:rotate(1turn);
    }
}

.profile-pic{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
}

.verified{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    margin-top:22px;
}

.verified h1{
    font-size:1.75rem;
}

.username,
.bio{
    color:var(--muted);
}

.stats{
    display:flex;
    justify-content:space-between;
    gap:15px;
    margin-top:22px;
}

.stats div{
    flex:1;
    padding:18px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.06);
    border-radius:20px;
}

.stats h3{
    font-size:1.2rem;
    margin-bottom:8px;
}

.stats p{
    color:var(--muted);
}

.links{
    margin-top:30px;
    display:grid;
    gap:15px;
}

/* DINO GAME */
.dino-game{
    margin-top:22px;
    text-align:center;
}

#dinoCanvas{
    width:100%;
    max-width:480px;
    height:100px;
    background:transparent;
    display:block;
    margin:0 auto;
    border-radius:8px;
}

.dino-game .score{
    margin-top:8px;
    color:var(--muted);
}

.dino-game .small{
    margin-top:6px;
    color:var(--muted);
    font-size:0.85rem;
}

.link-card{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 20px;
    border-radius:20px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.06);
    text-decoration:none;
    color:inherit;
    transition:.3s;
}

.link-card:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.link-card.twitter:hover{
    color:#1da1f2;
    border-color:rgba(29,161,242,.25);
    background:rgba(29,161,242,.12);
}

.link-card.medium:hover{
    color:#00ab66;
    border-color:rgba(0,171,102,.18);
    background:rgba(0,171,102,.08);
}

.link-card .left{
    display:flex;
    align-items:center;
    gap:15px;
}

.link-card i{
    font-size:1.1rem;
}

.quote-box{
    margin-top:30px;
    padding:24px 26px;
    border-radius:24px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
}

footer{
    margin-top:30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
    color:var(--muted);
}

.footer-socials{
    display:flex;
    gap:15px;
}

.footer-socials a{
    color:inherit;
}

@media (max-width:600px){
    .stats{
        flex-direction:column;
    }
}
