:root {
  --bg: #05070f;
  --tg: #2aabee;
  --tg-deep: #229ed9;
  --cyan: #5ee7ff;
  --violet: #8b5cf6;
  --text: #eef4ff;
  --muted: #93a3c0;
  --glass: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  overflow-x: hidden;
}

/* Arka plan: hareketli ışık küreleri + ızgara */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.orb.a { width: 520px; height: 520px; background: var(--tg); top: -160px; left: -120px; }
.orb.b { width: 420px; height: 420px; background: var(--violet); bottom: -140px; right: -100px; animation-delay: -6s; }
.orb.c { width: 300px; height: 300px; background: var(--cyan); top: 45%; left: 60%; opacity: .3; animation-delay: -12s; }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.15); } }

/* Kart */
.card {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 48px 36px 36px;
  text-align: center;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 32px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  animation: rise .9s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.97); } }

/* Logo + yörünge halkaları */
.logo-wrap { position: relative; width: 132px; height: 132px; margin: 0 auto 32px; }
.logo-wrap .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(42,171,238,.35);
  animation: pulse 3s ease-out infinite;
}
.logo-wrap .ring:nth-child(2) { animation-delay: 1s; }
.logo-wrap .ring:nth-child(3) { animation-delay: 2s; }
@keyframes pulse { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.logo {
  position: relative;
  width: 100%; height: 100%;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #37bbfe, var(--tg-deep));
  box-shadow: 0 0 60px rgba(42,171,238,.55), inset 0 -6px 18px rgba(0,0,0,.2);
  animation: float 5s ease-in-out infinite;
}
.logo svg { width: 64px; height: 64px; margin-left: -6px; fill: #fff; }
@keyframes float { 50% { transform: translateY(-8px); } }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  font-size: 13px; font-weight: 600; color: var(--muted);
  margin-bottom: 18px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }

h1 {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-size: clamp(30px, 7vw, 42px);
  line-height: 1.1;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff 20%, var(--cyan) 60%, var(--tg));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}
.desc { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 28px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.chips span {
  padding: 8px 14px; border-radius: 12px;
  background: rgba(42,171,238,.08); border: 1px solid rgba(42,171,238,.2);
  font-size: 13px; font-weight: 600; color: #cfe9ff;
}

/* Buton */
.btn {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 18px 24px;
  border: 0; border-radius: 18px;
  background: linear-gradient(135deg, #37bbfe, var(--tg-deep));
  color: #fff;
  font: 700 17px 'Manrope', sans-serif;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 40px -8px rgba(42,171,238,.7);
  transition: transform .2s, box-shadow .2s;
}
.btn::before {
  content: '';
  position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  animation: shine 3.5s ease-in-out infinite;
}
@keyframes shine { 60%, 100% { left: 130%; } }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -8px rgba(42,171,238,.9); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, input:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.btn svg { width: 20px; height: 20px; transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }
.btn.ghost { background: rgba(255,255,255,.06); box-shadow: none; border: 1px solid var(--border); }
.btn.ghost::before { display: none; }

.hint { margin-top: 16px; font-size: 13px; color: var(--muted); }
.hint a { color: var(--cyan); text-decoration: none; overflow-wrap: anywhere; }

/* Admin */
form { display: grid; gap: 14px; text-align: left; }
label { font-size: 13px; font-weight: 600; color: var(--muted); }
input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.25);
  color: var(--text);
  font: 500 15px 'Manrope', sans-serif;
}
.msg { padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; margin-bottom: 18px; text-align: left; }
.msg.ok { background: rgba(52,211,153,.12); color: #6ee7b7; border: 1px solid rgba(52,211,153,.3); }
.msg.err { background: rgba(248,113,113,.12); color: #fca5a5; border: 1px solid rgba(248,113,113,.3); }
.row { display: flex; gap: 10px; margin-top: 10px; }
.row .btn { padding: 14px; font-size: 15px; }


@media (max-width: 420px) {
  .card { padding: 40px 22px 28px; border-radius: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
