/* =============================================
   RESET & ROOT
============================================= */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  font-family: 'Outfit', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   ENTRY OVERLAY (Click to enter)
============================================= */
.entry-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.entry-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.entry-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 200;
  letter-spacing: 0.38em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: lowercase;
  user-select: none;
  animation: pulseText 2.5s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
  transition: color 0.3s, text-shadow 0.3s;
}

.entry-overlay:hover .entry-text {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

@keyframes pulseText {
  0%, 100% { opacity: 0.35; transform: scale(0.98); }
  50% { opacity: 0.85; transform: scale(1); }
}

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

/* 1 – arka plan görseli */
.bg {
  position: fixed; inset: 0;
  background: url('arkaplan.png') center center / cover no-repeat;
  z-index: 0;
}

/* 2 – köşe karartma (vignette) */
.bg-vignette {
  position: fixed; inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 30%,
    rgba(0,0,0,0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* 3 – genel hafif karartma */
.bg-dim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.2);
  z-index: 2;
  pointer-events: none;
}

/* 4 – subtle grain doku */
.bg-noise {
  position: fixed; inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* =============================================
   MUSIC BAR – sağ üst
============================================= */
.music-bar {
  position: fixed;
  top: 22px; right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;

  /* Neredeyse görünmez cam */
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 100px;

  opacity: 0;
  transform: translateY(-10px);
}

.site-ready .music-bar {
  animation: floatIn 0.8s cubic-bezier(0.16,1,0.3,1) 0.6s forwards;
}

/* EQ bars */
.eq {
  display: flex; align-items: flex-end;
  gap: 2.5px; height: 14px;
}
.eq i {
  display: block; width: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.6);
  animation: eqB 0.9s ease-in-out infinite alternate;
}
.eq i:nth-child(1){ animation-duration:.65s; }
.eq i:nth-child(2){ animation-duration:.95s; animation-delay:.08s; }
.eq i:nth-child(3){ animation-duration:.75s; animation-delay:.04s; }
.eq i:nth-child(4){ animation-duration:1.1s; animation-delay:.12s; }
.eq i:nth-child(5){ animation-duration:.7s;  animation-delay:.06s; }

@keyframes eqB {
  from { height:2px; opacity:.3; }
  to   { height:13px; opacity:.9; }
}

/* Volume */
.vol-track { display:flex; align-items:center; }

#vol {
  -webkit-appearance: none; appearance: none;
  width: 72px; height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.18);
  outline: none; cursor: pointer;
}
#vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 0 5px rgba(255,255,255,0.5);
  cursor: pointer;
  transition: transform .15s;
}
#vol::-webkit-slider-thumb:hover { transform: scale(1.35); }
#vol::-moz-range-thumb {
  width:11px; height:11px; border:none;
  border-radius:50%; background:rgba(255,255,255,0.88);
  cursor:pointer;
}

/* =============================================
   STAGE
============================================= */
.stage {
  position: relative; z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 100vh;
  padding: 40px 24px;
}

/* =============================================
   AVATAR
============================================= */
.avatar-wrap {
  position: relative;
  margin-bottom: 26px;

  opacity: 0;
  transform: translateY(20px);
}

.site-ready .avatar-wrap {
  animation: floatIn 1s cubic-bezier(0.16,1,0.3,1) 0.05s forwards;
}

/* Çok hafif ambient glow — görünmez halkasız */
.avatar-halo {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
  opacity: 0;
}

.site-ready .avatar-halo {
  animation: haloIn 1.8s ease 0.6s forwards;
}

@keyframes haloIn {
  to { opacity: 1; }
}

.avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;

  /* Çok ince şeffaf halka — neredeyse yok */
  outline: 1px solid rgba(255,255,255,0.15);
  outline-offset: 3px;
  box-shadow:
    0 4px 24px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.06);

  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.4s ease;
}

.avatar:hover {
  transform: scale(1.05);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.5),
    0 0 30px rgba(255,255,255,0.08);
}

/* =============================================
   NAME
============================================= */
.name {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.07em;
  color: #fff;
  text-transform: lowercase;
  margin-bottom: 9px;
  line-height: 1;

  /* Neon beyaz — derin, canlı, nefes alan */
  text-shadow:
    0 0 7px #fff,
    0 0 18px rgba(255,255,255,0.9),
    0 0 45px rgba(255,255,255,0.55),
    0 0 90px rgba(255,255,255,0.25);

  opacity: 0;
  transform: translateY(16px);
  user-select: none;
}

.site-ready .name {
  animation:
    floatIn 1s cubic-bezier(0.16,1,0.3,1) 0.18s forwards,
    neonBreathe 5s ease-in-out 1.4s infinite;
}

@keyframes neonBreathe {
  0%,100% {
    text-shadow:
      0 0 7px #fff,
      0 0 18px rgba(255,255,255,0.9),
      0 0 45px rgba(255,255,255,0.55),
      0 0 90px rgba(255,255,255,0.25);
  }
  50% {
    text-shadow:
      0 0 10px #fff,
      0 0 28px rgba(255,255,255,1),
      0 0 65px rgba(255,255,255,0.75),
      0 0 130px rgba(255,255,255,0.4);
  }
}

/* =============================================
   QUOTE
============================================= */
.quote {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.55);
  text-transform: lowercase;
  min-height: 1.2em;
  margin-bottom: 28px;
  line-height: 1;

  text-shadow:
    0 0 8px rgba(255,255,255,0.5),
    0 0 20px rgba(255,255,255,0.2);

  opacity: 0;
  transform: translateY(14px);
  user-select: none;
}

.site-ready .quote {
  animation: floatIn 1s cubic-bezier(0.16,1,0.3,1) 0.3s forwards;
}

/* =============================================
   SEPARATOR
============================================= */
.sep {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  margin-bottom: 24px;

  opacity: 0;
}

.site-ready .sep {
  animation: floatIn 0.8s ease 0.45s forwards;
}

/* =============================================
   BOTTOM BLOCK — sosyal + ziyaretçi
============================================= */
.bottom-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  opacity: 0;
  transform: translateY(14px);
}

.site-ready .bottom-block {
  animation: floatIn 1s cubic-bezier(0.16,1,0.3,1) 0.42s forwards;
}

/* =============================================
   SOCIAL ICONS
============================================= */
.socials {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 12px;
}

.ico {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.ico svg {
  width: 24px; height: 24px;
  color: rgba(255,255,255,0.6);
  /* Daima hafif neon glow var */
  filter:
    drop-shadow(0 0 3px rgba(255,255,255,0.5))
    drop-shadow(0 0 8px rgba(255,255,255,0.2));
  transition: color 0.25s ease, filter 0.25s ease;
}

.ico:hover {
  transform: translateY(-6px);
}

/* Hover: güçlü neon parlama */
.ico:hover svg {
  color: #ffffff;
  filter:
    drop-shadow(0 0 5px rgba(255,255,255,1))
    drop-shadow(0 0 14px rgba(255,255,255,0.8))
    drop-shadow(0 0 28px rgba(255,255,255,0.5));
}

/* =============================================
   VISITORS — discord'un sol altı
============================================= */
.visitors {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  margin-left: -52px; /* Dönecek logo vb. olmadığı için biraz daha sola çekildi */
}

.visitors svg {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.4);
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.2));
  flex-shrink: 0;
}

.v-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.25);
}

/* =============================================
   KEYFRAMES
============================================= */
@keyframes floatIn {
  to { opacity:1; transform:translateY(0); }
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 480px) {
  .avatar { width:90px; height:90px; }
  .name { font-size:1.6rem; }
  .music-bar { top:14px; right:14px; padding:7px 12px; }
  #vol { width:55px; }
  .socials { gap:18px; }
}
