:root {
  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  /* Login sayfası eski token takma adları */
  --line: var(--edge, rgba(255, 255, 255, .12));
  --line-2: rgba(255, 255, 255, .22);
  --faint: var(--text-3, #7C8798);
  --ink-2: #121826;
  --field-solid: #0B101A;
}
*, *::before, *::after { box-sizing: inherit; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.page {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(460px, 36vw, 640px);
  background: var(--pr-page-bg);
}
.page::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--pr-grid);
  background-size: 48px 48px;
  mask-image: radial-gradient(75% 75% at 60% 50%, #000 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(75% 75% at 60% 50%, #000 25%, transparent 85%);
}

.scene {
  position: relative;
  isolation: isolate;
  padding: clamp(28px, 3.6vw, 64px);
  display: flex;
  flex-direction: column;
}
.scene::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,15,28,.92) 0%, rgba(11,15,28,.7) 30%, rgba(11,15,28,0) 56%);
}

.logo { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.logo-mark { position: relative; width: 42px; height: 42px; flex: none; }
.logo-mark svg { position: absolute; inset: 0; }
.logo-mark .mini-sweep { transform-origin: 21px 21px; animation: spin 4s linear infinite; }
.logo-text small {
  display: block; font-size: 10px; font-weight: 600; letter-spacing: .3em;
  color: var(--muted); margin-bottom: 2px;
}
.logo-text strong {
  font-family: Georgia, "Times New Roman", serif; font-weight: 400;
  font-size: 25px; line-height: 1; letter-spacing: -.01em;
}
.logo-text strong span { color: var(--red); }

.copy { margin-block: auto; max-width: 31rem; padding-block: 40px; }
.copy h1 {
  margin: 0 0 20px;
  font-size: clamp(2.3rem, 3.9vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 600;
}
.copy h1 .line { display: block; overflow: hidden; }
.copy h1 .line > span { display: inline-block; }
.copy p {
  margin: 0 0 32px; max-width: 27rem;
  color: var(--muted); font-size: clamp(1rem, 1.05vw, 1.15rem); line-height: 1.6;
}
.caps { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.caps li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(14,19,26,.7);
  font-size: .88rem; color: #C9D1DC;
}
.caps svg { color: var(--red); }

.ticker {
  display: flex; align-items: center; gap: 12px;
  font-size: .88rem; color: var(--muted);
  min-height: 24px;
}
.ticker .live {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .75rem; color: var(--red-hi);
  padding: 3px 9px; border: 1px solid rgba(238,20,36,.35); border-radius: 6px;
  background: rgba(238,20,36,.08);
}
.ticker .live i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  animation: blink 1.4s ease-in-out infinite;
}
.ticker .msg { color: #D3DAE3; transition: opacity .35s, transform .35s; }
.ticker .msg.out { opacity: 0; transform: translateY(6px); }

.dial {
  position: absolute; z-index: -2;
  width: min(90vh, 72%);
  aspect-ratio: 1;
  right: -6%;
  top: 50%;
  translate: 0 -50%;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.dial svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg 290deg,
    rgba(238,20,36,.04) 300deg,
    rgba(238,20,36,.16) 340deg,
    rgba(238,20,36,.42) 359.5deg,
    transparent 360deg);
  -webkit-mask-image: radial-gradient(circle, #000 0 44.5%, transparent 45%);
  mask-image: radial-gradient(circle, #000 0 44.5%, transparent 45%);
  will-change: transform;
}
.sweep::after {
  content: ""; position: absolute; left: 50%; top: 5%; width: 2px; height: 45%;
  margin-left: -1px;
  background: linear-gradient(to top, rgba(255,80,90,.9), rgba(255,80,90,0));
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(238,20,36,.8);
}

.ring { fill: none; stroke: rgba(238,20,36,.22); stroke-width: 1; }
.ring.outer { stroke: rgba(238,20,36,.45); stroke-width: 1.4; }
.ring.dash { stroke-dasharray: 2 8; stroke: rgba(255,255,255,.12); }
.tick { stroke: rgba(255,255,255,.18); stroke-width: 1.2; }
.tick.major { stroke: rgba(238,20,36,.7); stroke-width: 2; }
.hour { font-family: var(--mono); font-size: 15px; fill: var(--faint); text-anchor: middle; dominant-baseline: middle; }

.node circle.core { fill: #3A4454; transition: fill .3s; }
.node circle.halo { fill: none; stroke: var(--red); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.node text { font-family: var(--sans); font-size: 19px; fill: #6F7A8B; transition: fill .4s; }
.node line { stroke: rgba(255,255,255,.12); stroke-width: 1; }
.node.hot circle.core { fill: var(--red-hi); }
.node.hot circle.halo { animation: halo 1.4s ease-out; }
.node.hot text { fill: #FFFFFF; }
.hub { fill: var(--ink-2); stroke: rgba(238,20,36,.6); stroke-width: 1.5; }

.panel {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 48px);
}
.panel::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 75%; aspect-ratio: 1; left: 50%; top: 52%; translate: -50% -50%;
  background: radial-gradient(circle, rgba(238,20,36,.34), rgba(120,20,60,.12) 45%, transparent 68%);
  filter: blur(30px);
}
.panel-foot { position: relative; z-index: 1; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.card-head h2 { margin: 0 !important; }

.card {
  position: relative; z-index: 1;
  width: 100%; max-width: 470px; margin: auto;
  padding: clamp(28px, 2.6vw, 44px);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.04) 38%, rgba(255,255,255,.025) 100%);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow:
    0 1px 0 rgba(255,255,255,.14) inset,
    0 -1px 0 rgba(255,255,255,.03) inset,
    0 40px 90px -30px rgba(0,0,0,.75),
    0 0 0 1px rgba(0,0,0,.25);
  isolation: isolate;
}
.card > * { position: relative; z-index: 1; }

/* Üstte ince parıltı */
.card::before {
  content: ""; position: absolute; top: -1px; left: 18%; right: 18%; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255,90,100,.9), transparent);
  pointer-events: none;
}

/* LED border — sağdan sola kenarı takip eder; forma tıklanınca durur */
@property --led-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  z-index: 0;
  background: conic-gradient(
    from var(--led-angle),
    transparent 0deg,
    transparent 318deg,
    rgba(238, 20, 36, .15) 332deg,
    rgba(255, 90, 100, .85) 345deg,
    #EE1424 352deg,
    #FFB0B6 356deg,
    #EE1424 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: card-led-chase 2.8s linear infinite;
  filter: drop-shadow(0 0 6px rgba(238, 20, 36, .55));
}
.card.is-engaged::after {
  animation-play-state: paused;
  opacity: .35;
}
@keyframes card-led-chase {
  /* Saat yönü = üst kenarda soldan sağa */
  to { --led-angle: 360deg; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card { background: rgba(17, 23, 38, .94); }
}
@media (prefers-reduced-motion: reduce) {
  .card::after { animation: none; opacity: .45; --led-angle: 90deg; }
}

.lang {
  display: inline-flex; padding: 3px; gap: 2px; margin-left: auto;
  border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255,255,255,.04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lang a {
  padding: 6px 12px; border-radius: 7px;
  font-size: .8rem; font-weight: 600; color: var(--muted); text-decoration: none;
  transition: color .2s, background .2s;
}
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { background: rgba(255,255,255,.14); color: var(--text); }
.lang a:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }

.form-wrap { width: 100%; }
.form-wrap h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 1.9vw, 2.1rem);
  font-weight: 600; letter-spacing: -.025em;
}
.lead { margin: 0 0 32px; color: var(--muted); line-height: 1.55; }

.alert {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 22px; padding: 12px 14px;
  border: 1px solid rgba(245,165,36,.35); border-radius: 10px;
  background: rgba(245,165,36,.08); color: #FBCB76; font-size: .9rem; line-height: 1.45;
  animation: shake .4s;
}
.alert[hidden] { display: none; }

.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: .88rem; font-weight: 500; color: #C9D1DC; }
.control { position: relative; }
.control > svg.lead-ico {
  position: absolute; left: 15px; top: 50%; translate: 0 -50%;
  color: var(--faint); pointer-events: none; transition: color .2s;
}
.control input {
  width: 100%; height: 52px; padding: 0 16px 0 46px;
  font: inherit; font-size: .98rem; color: var(--text);
  background: rgba(4, 7, 14, .72);
  border: 1.5px solid #5B677A;
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.control input::placeholder { color: #6B7585; }
.control input:hover { border-color: #8490A3; }
.control input:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(238,20,36,.16), 0 8px 30px -10px rgba(238,20,36,.45);
  background: rgba(6, 9, 17, .78);
}
.control:focus-within > svg.lead-ico { color: var(--red-hi); }
.control input[aria-invalid="true"] { border-color: var(--warn); }
.control input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 100px var(--field-solid) inset;
  caret-color: var(--text);
}
.control.pw input { padding-right: 52px; }
.toggle {
  position: absolute; right: 7px; top: 50%; translate: 0 -50%;
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 0; border-radius: 9px; background: transparent; color: var(--faint); cursor: pointer;
  transition: color .2s, background .2s;
}
.toggle:hover { color: var(--text); background: rgba(255,255,255,.05); }
.toggle:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
.hint { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: .82rem; color: var(--warn); }
.hint[hidden] { display: none; }

.row { margin: 6px 0 28px; }
.check { display: inline-flex; align-items: center; gap: 11px; cursor: pointer; user-select: none; font-size: .93rem; color: #C9D1DC; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box {
  width: 20px; height: 20px; flex: none; border-radius: 6px;
  border: 1.5px solid var(--line-2); background: var(--field);
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.check .box svg { opacity: 0; transform: scale(.5); transition: opacity .2s, transform .2s; }
.check input:checked + .box { background: var(--red); border-color: var(--red); }
.check input:checked + .box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible + .box { outline: 2px solid var(--red); outline-offset: 2px; }

.btn {
  position: relative; overflow: hidden;
  width: 100%; height: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 12px; cursor: pointer;
  font: inherit; font-size: 1rem; font-weight: 600; color: #fff;
  background: linear-gradient(180deg, var(--red-hi), var(--red) 55%, var(--red-lo));
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 12px 30px -12px rgba(238,20,36,.8);
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg);
}
.btn:hover { filter: brightness(1.06); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 16px 36px -12px rgba(238,20,36,.95); }
.btn:hover::after { animation: sheen .9s ease; }
.btn:active { transform: translateY(1px) scale(.995); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(238,20,36,.35); }
.btn[disabled] { cursor: progress; filter: saturate(.8); }
.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite;
}
.btn.loading .spinner { display: inline-block; }

.help {
  margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .88rem; line-height: 1.6;
}
.panel-foot { color: #6E7889; font-size: .8rem; text-align: center; }

.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js.ready .draw { animation: draw 1.6s cubic-bezier(.6,.1,.2,1) forwards; animation-delay: var(--d, 0s); }
.js .fade { opacity: 0; }
.js.ready .fade { animation: fade .8s ease forwards; animation-delay: var(--d, 0s); }
.js .rise > span { transform: translateY(105%); }
.js.ready .rise > span { animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d, 0s); }
.js .panel-in { opacity: 0; transform: translateX(24px); }
.js.ready .panel-in { animation: panelIn .9s cubic-bezier(.2,.8,.2,1) .25s forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes panelIn { to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes halo { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }
@keyframes sheen { to { left: 130%; } }
@keyframes shake { 20%,60% { transform: translateX(-4px); } 40%,80% { transform: translateX(4px); } }

@media (min-width: 1800px) {
  .copy { max-width: 36rem; }
  .dial { right: -4%; width: min(84vh, 62%); }
}

@media (max-width: 1080px) {
  .page { grid-template-columns: 1fr; }
  .scene { padding-bottom: 40px; }
  .scene::after { background: linear-gradient(180deg, rgba(11,15,28,.8) 0%, rgba(11,15,28,.3) 45%, rgba(11,15,28,0) 70%); }
  .dial {
    --w: min(640px, 92vw);
    position: relative; right: auto; top: auto; translate: none;
    width: var(--w); margin: 8px auto calc(var(--w) * -.44);
  }
  .copy { margin-block: 40px 0; max-width: 34rem; padding-block: 0 8px; }
  .copy h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
  .caps, .ticker { display: none; }
  .panel {
    width: min(520px, calc(100% - 32px));
    margin: -120px auto 28px;
    padding: 0;
    z-index: 2;
    gap: 14px;
  }
  .panel::before { width: 110%; top: 45%; }
  .card { max-width: none; margin: 0; padding: 32px clamp(22px, 5vw, 40px) 30px; }
  .js .panel-in { transform: translateY(24px); }
}

@media (max-width: 600px) {
  .scene { padding: 22px 20px 30px; }
  .node text, .hour { display: none; }
  .copy { margin-top: 36px; padding-block: 0; }
  .copy h1 { font-size: 2.05rem; margin-bottom: 12px; }
  .copy p { font-size: .95rem; margin-bottom: 0; }
  .panel { width: calc(100% - 20px); margin-top: -96px; }
  .card { padding: 26px 20px 24px; border-radius: 20px; }
  .form-wrap h2 { font-size: 1.55rem; }
  .lead { margin-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .logo-mark .mini-sweep { animation: none; }
}
