/* Ana sayfaya (index.html) login/signup ile ayni "kirmizi kristal + kivilcim"
   arka plani ve iki tonlu HUNT/BOOSTING logosu - login.css/register.css ile
   ayni desen, ama bu sayfa hesap cubugu (account-bar) da icerdigi icin
   page-header-controls ayrica eklendi. Eski .site-header/.brand/.tagline
   (styles.css) hala forgot-password.html ve admin.html'de kullanildigi icin
   ORAYA dokunulmadi - bu sayfa artik onlari kullanmiyor. Eski atmosferik
   body::before (styles.css) silinmedi (diger sayfalarda hala gorunuyor);
   bu sayfada .bg z-index:0 ile onun (z-index:-1) ustune binip gorunmez
   kiliyor, ayrica devre disi birakmaya gerek yok. */
:root {
  --su-red: #ff2d1f;
  --su-red-soft: rgba(255, 45, 31, 0.55);
}

/* ====== Arka plan: kirmizi kristal parcalari + yukselen kivilcimlar ====== */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 50% 30%, rgba(120, 10, 10, 0.35), transparent 70%),
    radial-gradient(ellipse 40% 60% at 0% 60%, rgba(160, 10, 10, 0.35), transparent 70%),
    radial-gradient(ellipse 40% 60% at 100% 55%, rgba(160, 10, 10, 0.35), transparent 70%),
    linear-gradient(180deg, #0b0c12, #06070a);
}

.shard {
  position: absolute;
  background: linear-gradient(160deg, #ff3a2a, #8a0a06);
  filter: drop-shadow(0 0 18px rgba(255, 40, 20, 0.7));
  opacity: 0.85;
}
.shard.s1 {
  left: 3%;
  bottom: 22%;
  width: 100px;
  height: 130px;
  clip-path: polygon(0 0, 100% 100%, 30% 100%);
}
.shard.s2 {
  left: 14%;
  bottom: 30%;
  width: 64px;
  height: 86px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.6;
}
.shard.s3 {
  right: 6%;
  top: 18%;
  width: 44px;
  height: 150px;
  clip-path: polygon(50% 0, 100% 20%, 100% 100%, 0 100%, 0 20%);
  opacity: 0.25;
}
.shard.s4 {
  left: 5%;
  top: 12%;
  width: 30px;
  height: 120px;
  clip-path: polygon(50% 0, 100% 20%, 100% 100%, 0 100%, 0 20%);
  opacity: 0.18;
}
.shard.s5 {
  right: 12%;
  bottom: 10%;
  width: 80px;
  height: 80px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.35;
}

.ember {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ff5a3a;
  box-shadow: 0 0 6px #ff3a20;
  animation: home-rise linear infinite;
  opacity: 0;
}

@keyframes home-rise {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-60vh) translateX(30px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ember {
    animation: none;
    opacity: 0;
  }
}

/* ====== Hesap cubugu + dil secici (sabit ust-sag kose) ====== */
.page-header-controls {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .page-header-controls {
    position: static;
    justify-content: center;
    margin: 0 0 20px;
  }
}

/* ====== Logo: iki tonlu HUNT/BOOSTING, Orbitron ====== */
.logo {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 1cm;
  margin-bottom: 8px;
}

.logo__name {
  margin: 0;
  font: 800 2.1rem/1 "Orbitron", "Rajdhani", sans-serif;
  letter-spacing: 0.06em;
}
.logo__name .w {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}
.logo__name .r {
  color: var(--su-red);
  text-shadow: 0 0 16px rgba(255, 40, 20, 0.8);
}

.logo__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  color: var(--su-red);
  font: 700 0.75rem/1 "Rajdhani", sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 40, 20, 0.7);
}
.logo__tag::before,
.logo__tag::after {
  content: "";
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--su-red));
  box-shadow: 0 0 8px var(--su-red);
}
.logo__tag::after {
  transform: scaleX(-1);
}

/* main'in kendisi styles.css'te bir eleman secici (main{...}) ile
   stilleniyor - .page burada SADECE .bg'nin ustunde dogru govde sirasina
   (z-index) oturmasi icin ekleniyor, diger main{} kurallari (padding/gap)
   olduğu gibi kalmaya devam ediyor. */
main.page {
  position: relative;
  z-index: 1;
}
