:root{
  --bg:#050505;
  --panel:rgba(7,7,7,.66);
  --panel2:rgba(255,255,255,.045);
  --border:rgba(255,255,255,.11);
  --text:#f5f5f5;
  --muted:#969696;

  --online:#23a55a;
  --idle:#f0b232;
  --dnd:#f23f43;
  --offline:#80848e;
}

*{
  box-sizing:border-box;
}

html,
body{
  width:100%;
  min-height:100%;
  margin:0;
  padding:0;
}

html{
  background:#000;
}

body{
  position:relative;
  min-height:100vh;
  overflow-x:hidden;

  color:var(--text);

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background:#000;

  isolation:isolate;
}

body.locked{
  overflow:hidden;
}

button,
a{
  font:inherit;
}

/* =========================================================
   BACKGROUND VIDEO
========================================================= */

.bg-video{
  position:fixed;
  inset:0;

  width:100vw;
  height:100vh;

  object-fit:cover;
  object-position:center;

  display:block;

  z-index:0;

  opacity:1;

  filter:
    brightness(.55)
    contrast(1.05)
    saturate(.88);

  pointer-events:none;
}

/* video açılmazsa fallback */
.bg-fallback{
  position:fixed;
  inset:0;

  width:100%;
  height:100%;

  z-index:-1;

  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(255,255,255,.08),
      transparent 35%
    ),
    radial-gradient(
      circle at 15% 20%,
      rgba(255,255,255,.03),
      transparent 25%
    ),
    #030303;
}

/* eski blur katmanını tamamen kapatıyoruz */
.bg-blur{
  display:none;
}

/* =========================================================
   VIGNETTE
========================================================= */

.vignette{
  position:fixed;
  inset:0;

  width:100%;
  height:100%;

  z-index:2;

  pointer-events:none;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.08),
      rgba(0,0,0,.22)
    ),
    radial-gradient(
      circle at center,
      transparent 32%,
      rgba(0,0,0,.72) 100%
    );
}

/* =========================================================
   NOISE / FILM GRAIN
========================================================= */

.noise{
  position:fixed;
  inset:0;

  width:100%;
  height:100%;

  z-index:3;

  opacity:.03;

  pointer-events:none;

  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

/* =========================================================
   CLICK TO ENTER
========================================================= */

.enter-screen{
  position:fixed;
  inset:0;

  z-index:1000;

  display:grid;
  place-items:center;

  background:rgba(0,0,0,.40);

  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);

  transition:
    opacity .55s ease,
    visibility .55s ease;
}

.enter-screen.hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.enter-inner{
  text-align:center;
  transform:translateY(-10px);
}

.enter-inner p{
  margin:13px 0 0;

  color:#6f6f6f;

  text-transform:uppercase;
  letter-spacing:.22em;

  font:
    600 9px
    "JetBrains Mono",
    monospace;
}

.enter-button{
  appearance:none;

  min-width:190px;

  padding:15px 24px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  gap:11px;

  border:
    1px solid
    rgba(255,255,255,.13);

  border-radius:999px;

  background:
    rgba(255,255,255,.055);

  color:#f0f0f0;

  cursor:pointer;

  font-size:13px;
  font-weight:600;

  letter-spacing:.02em;

  box-shadow:
    0 12px 50px
    rgba(0,0,0,.32);

  transition:
    transform .22s ease,
    background .22s ease,
    border-color .22s ease;
}

.enter-button:hover{
  transform:scale(1.04);

  background:
    rgba(255,255,255,.10);

  border-color:
    rgba(255,255,255,.22);
}

.enter-icon{
  font-size:12px;
  opacity:.86;
}

/* =========================================================
   MAIN STAGE
========================================================= */

.stage{
  position:relative;

  z-index:10;

  min-height:100vh;

  display:grid;
  place-items:center;

  padding:28px;

  perspective:1100px;
}

/* =========================================================
   PROFILE CARD
========================================================= */

.profile-card{
  position:relative;

  width:min(100%,560px);

  overflow:hidden;

  padding:22px;

  border:
    1px solid
    var(--border);

  border-radius:24px;

  background:
    linear-gradient(
      145deg,
      rgba(17,17,17,.70),
      rgba(5,5,5,.78)
    );

  box-shadow:
    0 30px 100px
    rgba(0,0,0,.64),

    inset 0 1px 0
    rgba(255,255,255,.052);

  backdrop-filter:
    blur(22px)
    saturate(120%);

  -webkit-backdrop-filter:
    blur(22px)
    saturate(120%);

  transform-style:preserve-3d;

  transition:
    transform .18s ease-out,
    border-color .25s ease,
    box-shadow .25s ease,
    opacity .6s ease;
}

body.locked .profile-card{
  opacity:.18;
  transform:scale(.97);
}

.profile-card:hover{
  border-color:
    rgba(255,255,255,.17);

  box-shadow:
    0 38px 120px
    rgba(0,0,0,.70),

    inset 0 1px 0
    rgba(255,255,255,.07);
}

.card-glow{
  position:absolute;

  width:290px;
  height:290px;

  left:var(--mx,50%);
  top:var(--my,16%);

  transform:
    translate(-50%,-50%);

  border-radius:50%;

  background:
    rgba(255,255,255,.07);

  filter:blur(78px);

  pointer-events:none;
}

/* =========================================================
   LAYER FIX
========================================================= */

.topbar,
.hero,
.bio,
.presence,
.social-grid,
.footer-row{
  position:relative;
  z-index:2;
}

/* =========================================================
   TOPBAR
========================================================= */

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;

  margin-bottom:28px;
}

.mini-brand{
  display:flex;
  align-items:center;

  gap:9px;

  color:#8f8f8f;

  text-transform:uppercase;

  letter-spacing:.085em;

  font:
    600 11px
    "JetBrains Mono",
    monospace;
}

.mini-brand .dot{
  width:6px;
  height:6px;

  border-radius:50%;

  background:#f7f7f7;

  box-shadow:
    0 0 16px
    rgba(255,255,255,.75);
}

.top-actions{
  display:flex;
  gap:8px;
}

.icon-btn{
  width:39px;
  height:39px;

  display:grid;
  place-items:center;

  border:
    1px solid
    rgba(255,255,255,.09);

  border-radius:12px;

  background:
    rgba(255,255,255,.04);

  color:#ddd;

  cursor:pointer;

  transition:
    transform .2s ease,
    background .2s ease;
}

.icon-btn:hover{
  transform:translateY(-1px);

  background:
    rgba(255,255,255,.075);
}

/* =========================================================
   SOUND BARS
========================================================= */

.sound-bars{
  height:14px;

  display:flex;
  align-items:center;

  gap:2px;
}

.sound-bars i{
  width:2px;
  height:5px;

  display:block;

  border-radius:2px;

  background:#d9d9d9;
}

.icon-btn.playing .sound-bars i{
  animation:
    eq .65s
    ease-in-out
    infinite
    alternate;
}

.icon-btn.playing .sound-bars i:nth-child(2){
  animation-delay:.18s;
}

.icon-btn.playing .sound-bars i:nth-child(3){
  animation-delay:.34s;
}

.icon-btn.playing .sound-bars i:nth-child(4){
  animation-delay:.10s;
}

@keyframes eq{
  to{
    height:13px;
  }
}

/* =========================================================
   HERO
========================================================= */

.hero{
  display:flex;
  align-items:center;

  gap:17px;
}

.avatar-wrap{
  position:relative;
  flex:0 0 auto;
}

.avatar{
  width:84px;
  height:84px;

  display:block;

  object-fit:cover;

  border-radius:22px;

  border:
    1px solid
    rgba(255,255,255,.13);

  background:#111;

  box-shadow:
    0 14px 40px
    rgba(0,0,0,.38);
}

/* =========================================================
   STATUS DOT
========================================================= */

.status-dot{
  position:absolute;

  right:-3px;
  bottom:-3px;

  width:19px;
  height:19px;

  border:
    4px solid
    #090909;

  border-radius:50%;

  background:
    var(--offline);
}

.status-dot.online{
  background:var(--online);
}

.status-dot.idle{
  background:var(--idle);
}

.status-dot.dnd{
  background:var(--dnd);
}

.status-dot.offline{
  background:var(--offline);
}

/* =========================================================
   IDENTITY
========================================================= */

.identity{
  min-width:0;
  flex:1;
}

.name-line{
  display:flex;
  align-items:center;

  gap:8px;
}

h1{
  margin:0;

  max-width:100%;

  overflow:hidden;

  text-overflow:ellipsis;

  white-space:nowrap;

  font-size:30px;
  line-height:1;

  font-weight:800;

  letter-spacing:-.045em;
}

.verified{
  width:19px;
  height:19px;

  flex:0 0 auto;

  display:grid;
  place-items:center;

  border-radius:50%;

  background:#f3f3f3;

  color:#111;

  font-size:12px;
  font-weight:800;
}

.identity > p{
  margin:
    8px 0 0;

  color:
    var(--muted);

  font-size:14px;
}

/* =========================================================
   BADGES
========================================================= */

.badge-row{
  display:flex;
  flex-wrap:wrap;

  gap:6px;

  margin-top:10px;
}

.badge{
  height:24px;

  padding:0 8px;

  display:inline-flex;
  align-items:center;

  gap:5px;

  border-radius:8px;

  border:
    1px solid
    rgba(255,255,255,.075);

  background:
    rgba(255,255,255,.045);

  color:#bdbdbd;

  font-size:10px;
  font-weight:600;
}

.badge .badge-icon{
  font-size:11px;

  color:#ececec;
}

/* =========================================================
   BIO
========================================================= */

.bio{
  margin:
    22px 0;

  color:#c4c4c4;

  line-height:1.65;

  font-size:14px;
}

/* =========================================================
   DISCORD PRESENCE
========================================================= */

.presence{
  padding:15px;

  border-radius:18px;

  border:
    1px solid
    rgba(255,255,255,.085);

  background:
    rgba(255,255,255,.034);
}

.presence-head{
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:12px;

  margin-bottom:13px;

  color:#8e8e8e;

  font-size:11px;
}

.eyebrow{
  letter-spacing:.09em;

  font-family:
    "JetBrains Mono",
    monospace;
}

/* =========================================================
   ACTIVITY
========================================================= */

.activity{
  min-height:60px;

  display:flex;
  align-items:center;

  gap:12px;
}

.activity-cover-wrap{
  width:58px;
  height:58px;

  flex:0 0 auto;

  overflow:hidden;

  border-radius:14px;

  background:
    rgba(255,255,255,.055);
}

.activity-cover{
  width:100%;
  height:100%;

  display:block;

  object-fit:cover;

  opacity:0;

  transition:
    opacity .2s ease;
}

.activity-cover.loaded{
  opacity:1;
}

.activity-text{
  min-width:0;

  display:flex;
  flex-direction:column;

  gap:4px;
}

.activity-text strong,
.activity-text span{
  overflow:hidden;

  text-overflow:ellipsis;

  white-space:nowrap;
}

.activity-text strong{
  font-size:14px;
}

.activity-text span{
  color:#999;

  font-size:12px;
}

/* =========================================================
   SOCIALS
========================================================= */

.social-grid{
  display:grid;

  grid-template-columns:
    repeat(4,1fr);

  gap:9px;

  margin-top:14px;
}

.social-link{
  min-height:52px;

  padding:10px 7px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  gap:4px;

  text-decoration:none;

  color:#d7d7d7;

  border-radius:14px;

  border:
    1px solid
    rgba(255,255,255,.082);

  background:
    rgba(255,255,255,.036);

  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;
}

.social-link:hover{
  transform:
    translateY(-2px);

  border-color:
    rgba(255,255,255,.16);

  background:
    rgba(255,255,255,.07);
}

.social-link .social-icon{
  font-size:15px;
  line-height:1;
}

.social-link .social-name{
  color:#9a9a9a;

  font-size:10px;

  font-family:
    "JetBrains Mono",
    monospace;
}

/* =========================================================
   FOOTER
========================================================= */

.footer-row{
  margin-top:18px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:12px;

  color:#656565;

  font:
    500 10px
    "JetBrains Mono",
    monospace;
}

.footer-right{
  display:flex;
  align-items:center;

  gap:7px;
}

.views{
  display:flex;
  align-items:center;

  gap:5px;
}

.views b{
  color:#858585;

  font-weight:500;
}

.separator{
  opacity:.35;
}

/* =========================================================
   BOTTOM HINT
========================================================= */

.hint{
  position:fixed;

  z-index:11;

  bottom:18px;

  color:#4a4a4a;

  text-transform:uppercase;

  letter-spacing:.16em;

  font:
    600 9px
    "JetBrains Mono",
    monospace;
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:620px){

  .stage{
    padding:15px;
  }

  .profile-card{
    padding:18px;

    border-radius:20px;
  }

  .avatar{
    width:74px;
    height:74px;

    border-radius:19px;
  }

  h1{
    font-size:25px;
  }

  .social-grid{
    grid-template-columns:
      repeat(2,1fr);
  }

  .footer-row{
    align-items:flex-start;
    flex-direction:column;
  }

  .hint{
    display:none;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media(
  prefers-reduced-motion:reduce
){

  *,
  *::before,
  *::after{
    animation:none!important;

    transition:none!important;
  }
}