/* ============================================================
   plusrestoran — geri sayım / çok yakında
   Premium dark theme · warm restaurant accent · glassmorphism
   ============================================================ */

:root {
  --bg: #0a0710;
  --bg-2: #120a1a;
  --ink: #f4eefb;
  --muted: #a99fc0;
  --faint: #6e6685;

  /* Marka aksanları — iştah + plus enerjisi */
  --amber: #ffb347;
  --orange: #ff7a45;
  --pink: #ff5c8a;
  --violet: #a86bff;

  --glass: rgba(255, 255, 255, 0.045);
  --glass-brd: rgba(255, 255, 255, 0.09);
  --glass-hi: rgba(255, 255, 255, 0.14);

  --shadow: 0 24px 70px -20px rgba(0, 0, 0, 0.7);
  --grad: linear-gradient(115deg, var(--amber), var(--orange) 40%, var(--pink) 72%, var(--violet));
}

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

html, body { height: 100%; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Arka plan ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(140% 120% at 50% -10%, var(--bg-2), var(--bg) 60%); }

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.5;
  will-change: transform;
  transform: translateZ(0);
  animation: drift 26s ease-in-out infinite;
}
.aurora--1 { width: 44vw; height: 44vw; top: -12vw; left: -8vw; background: radial-gradient(circle, var(--orange), transparent 68%); animation-delay: 0s; }
.aurora--2 { width: 38vw; height: 38vw; bottom: -14vw; right: -6vw; background: radial-gradient(circle, var(--violet), transparent 66%); animation-delay: -9s; }
.aurora--3 { width: 32vw; height: 32vw; top: 34%; left: 42%; background: radial-gradient(circle, var(--pink), transparent 65%); animation-delay: -16s; opacity: 0.35; }

/* Sadece translate — ölçek değişimi büyük blur'da çok pahalı */
@keyframes drift {
  0%,100% { transform: translate3d(0,0,0); }
  50%     { transform: translate3d(5vw,3vh,0); }
}

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 78%);
}

.noise {
  position: absolute; inset: 0; opacity: 0.035; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* İmleç takip eden ışık */
.spotlight {
  position: fixed; z-index: -1; width: 480px; height: 480px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,122,69,0.14), transparent 62%);
  left: 0; top: 0; margin: -240px 0 0 -240px;
  will-change: transform;
}

/* ---------- Üst bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(18px, 3vw, 34px) clamp(20px, 5vw, 60px);
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad);
  box-shadow: 0 8px 28px -6px rgba(255,122,69,0.6);
  animation: pulseMark 4s ease-in-out infinite;
}
.brand__plus { font-family: "Sora"; font-weight: 800; font-size: 30px; color: #1a0f0a; line-height: 1; }
@keyframes pulseMark { 0%,100%{ transform: translateY(0) rotate(0); } 50%{ transform: translateY(-3px) rotate(-4deg); } }

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: "Sora"; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand__text small { color: var(--muted); font-size: 12px; }
.brand__text a { color: var(--amber); text-decoration: none; }
.brand__text a:hover { text-decoration: underline; }

.status-pill {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--glass-brd);
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #35e07f; box-shadow: 0 0 0 0 rgba(53,224,127,0.6); animation: ping 1.8s infinite; }
@keyframes ping { 0%{ box-shadow: 0 0 0 0 rgba(53,224,127,0.55);} 70%{ box-shadow: 0 0 0 9px rgba(53,224,127,0);} 100%{ box-shadow: 0 0 0 0 rgba(53,224,127,0);} }

/* ---------- Sahne ---------- */
.stage {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr minmax(auto, 640px) 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding: 0 clamp(20px, 5vw, 60px) clamp(10px, 2vh, 20px);
  min-height: 0;
}

/* ---------- Yan paneller ---------- */
.panel {
  animation: floatIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.panel--left  { justify-self: end;   animation-delay: 0.15s; }
.panel--right { justify-self: start; animation-delay: 0.3s; }
@keyframes floatIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.panel__title {
  font-family: "Sora"; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--faint); margin-bottom: 16px; padding-left: 4px;
}

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.feature {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 17px; border-radius: 16px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.2,0.7,0.2,1), border-color 0.35s, background 0.35s;
  animation: floatIn 0.7s cubic-bezier(0.2,0.7,0.2,1) both;
  animation-delay: calc(0.35s + var(--i) * 0.09s);
  cursor: default;
}
.feature:hover { transform: translateY(-4px) scale(1.015); border-color: var(--glass-hi); background: rgba(255,255,255,0.07); }

.feature__icon { font-size: 22px; width: 30px; text-align: center; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4)); }

.feature__dot { width: 12px; height: 12px; border-radius: 5px; flex: 0 0 auto; box-shadow: 0 0 14px currentColor; }
.feature__dot--ys { background: #fa0250; color: #fa0250; }
.feature__dot--ty { background: #f27a1a; color: #f27a1a; }
.feature__dot--gt { background: #5d3ebc; color: #7d5be0; }
.feature__dot--qr { background: #35e07f; color: #35e07f; }
.feature__dot--ok { background: var(--amber); color: var(--amber); }

/* Öne çıkan (yazar kasa) kart */
.feature--hot {
  border-color: rgba(255,179,71,0.35);
  background: linear-gradient(150deg, rgba(255,179,71,0.10), rgba(255,255,255,0.03));
}
.feature--hot::after {
  content: ""; position: absolute; inset: 0; border-radius: 16px; padding: 1px;
  background: var(--grad); opacity: 0.5;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.feature { position: relative; }

.tag-new {
  font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: 0.08em;
  vertical-align: middle; margin-left: 6px; padding: 2px 6px; border-radius: 6px;
  background: var(--grad); color: #1a0f0a;
}

.feature div { display: flex; flex-direction: column; line-height: 1.3; }
.feature strong { font-size: 14.5px; font-weight: 600; }
.feature span { font-size: 12px; color: var(--muted); }

/* ---------- Hero / geri sayım ---------- */
.hero {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  animation: floatIn 0.9s cubic-bezier(0.2,0.7,0.2,1) both;
}

.hero__eyebrow {
  display: inline-block;
  padding: 7px 16px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-brd);
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; color: var(--muted);
  margin-bottom: 22px;
}

.hero__title {
  font-family: "Sora"; font-weight: 800;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 34px;
}
.hero__accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto; animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.countdown-wrap { position: relative; margin-bottom: 30px; padding: 6px 0; }

/* Dönen ışıltılı halka */
.ring {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 118%; height: 190%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(255,122,69,0.35), transparent 30%, transparent 55%, rgba(168,107,255,0.35), transparent 85%);
  filter: blur(18px); opacity: 0.55; z-index: -1;
  will-change: transform;
  animation: spin 16s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.countdown {
  display: flex; align-items: flex-start; justify-content: center;
  gap: clamp(6px, 1.4vw, 16px);
}
.unit { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.unit__value {
  font-family: "Sora"; font-weight: 700;
  font-size: clamp(40px, 7vw, 78px); line-height: 1;
  letter-spacing: -0.03em;
  min-width: clamp(72px, 12vw, 132px);
  padding: 18px 10px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02));
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.08);
  font-variant-numeric: tabular-nums;
}
.unit__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); }
.unit__sep {
  font-family: "Sora"; font-weight: 700; font-size: clamp(30px, 5vw, 56px);
  color: var(--faint); padding-top: clamp(16px, 3vw, 34px);
  animation: blink 2s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

/* saniye/dakika değişim animasyonu */
.unit__value.tick { animation: tick 0.5s cubic-bezier(0.3, 0.8, 0.3, 1); }
@keyframes tick {
  0%   { transform: translateY(0) scale(1); }
  35%  { transform: translateY(-6px) scale(1.06); color: var(--amber); }
  100% { transform: translateY(0) scale(1); }
}

.hero__date { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.hero__date strong { color: var(--ink); font-weight: 600; }

/* ---------- Bildirim formu ---------- */
.notify {
  display: flex; gap: 10px; width: min(420px, 90vw);
}
.notify__input {
  flex: 1; padding: 14px 18px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--glass-brd);
  color: var(--ink); font-size: 14px; font-family: inherit;
  transition: border-color 0.25s, background 0.25s;
}
.notify__input::placeholder { color: var(--faint); }
.notify__input:focus { outline: none; border-color: var(--orange); background: rgba(255,255,255,0.07); }

.notify__btn {
  padding: 14px 24px; border: none; border-radius: 14px;
  font-family: "Sora"; font-weight: 600; font-size: 14px; color: #1a0f0a;
  background: var(--grad); background-size: 160% auto;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 10px 30px -8px rgba(255,122,69,0.6);
  transition: transform 0.2s, background-position 0.5s, box-shadow 0.2s;
}
.notify__btn:hover { transform: translateY(-2px); background-position: right center; box-shadow: 0 14px 36px -8px rgba(255,92,138,0.65); }
.notify__btn:active { transform: translateY(0); }

.notify__hint { margin-top: 12px; font-size: 12.5px; color: var(--faint); transition: color 0.3s; }
.notify__hint.ok { color: #35e07f; }
.notify__hint.err { color: #ff6b6b; }

/* ---------- Kayan marka şeridi ---------- */
.marquee {
  position: relative; overflow: hidden;
  padding: 12px 0;
  border-top: 1px solid var(--glass-brd);
  border-bottom: 1px solid var(--glass-brd);
  background: rgba(255,255,255,0.02);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; gap: 14px; width: max-content;
  animation: scroll 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

.chip {
  flex: 0 0 auto;
  padding: 8px 18px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-brd);
  font-family: "Sora"; font-size: 13px; font-weight: 500; color: var(--muted);
  white-space: nowrap;
}
.chip--ok { color: var(--amber); border-color: rgba(255,179,71,0.3); background: rgba(255,179,71,0.06); }

/* ---------- Alt bilgi ---------- */
.footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(14px, 2vh, 22px) clamp(20px, 5vw, 60px);
  font-size: 12.5px; color: var(--faint);
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--amber); }

.footer__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  font-family: "Sora"; font-weight: 600; font-size: 13px;
  color: var(--ink) !important;
  background: linear-gradient(160deg, rgba(255,179,71,0.14), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,179,71,0.32);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.footer__cta:hover {
  transform: translateY(-2px);
  border-color: rgba(255,179,71,0.6);
  background: linear-gradient(160deg, rgba(255,179,71,0.22), rgba(255,255,255,0.05));
}
.footer__arrow { transition: transform 0.2s; }
.footer__cta:hover .footer__arrow { transform: translateX(4px); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1080px) {
  body { overflow: auto; }
  .stage {
    grid-template-columns: 1fr;
    grid-template-areas: "hero" "left" "right";
    gap: 34px; padding-top: 20px; padding-bottom: 30px;
  }
  .hero { grid-area: hero; }
  .panel--left { grid-area: left; justify-self: stretch; }
  .panel--right { grid-area: right; justify-self: stretch; }
  .feature-list { flex-direction: row; flex-wrap: wrap; }
  .feature { flex: 1 1 220px; }
}

@media (max-width: 560px) {
  .topbar { flex-direction: column; gap: 14px; align-items: flex-start; }
  .status-pill { align-self: flex-start; }
  .notify { flex-direction: column; }
  .footer { flex-direction: column; gap: 6px; text-align: center; }
  .unit__value { min-width: 64px; padding: 12px 6px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
