:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --card: #161618;
  --card-2: #1c1c1f;
  --line: #2a2a2e;
  --text: #f5f3ee;
  --muted: #a3a09a;
  --dim: #6f6c67;
  --yellow: #fdb912;
  --yellow-2: #ffcd3c;
  --red: #c8102e;
  --red-2: #e3203d;
  --radius: 16px;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(11, 11, 12, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-family: var(--display); font-size: 26px; letter-spacing: .5px; line-height: 1; white-space: nowrap; }
.logo span { color: var(--yellow); }
.logo--sm { font-size: 22px; }
.nav { display: none; gap: 28px; font-size: 14px; color: var(--muted); }
.nav a { position: relative; padding: 6px 0; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--yellow); }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--yellow); border-radius: 2px; }
@media (min-width: 760px) { .nav { display: flex; } }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: 13px; font-weight: 600; transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--yellow); }
.btn-ghost .wave { opacity: .35; }
.btn-ghost[aria-pressed="true"] { color: var(--yellow); border-color: var(--yellow); }
.btn-ghost[aria-pressed="true"] .wave { opacity: 1; animation: pulse 1s infinite; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: transparent; border: 1px solid var(--line); }
.icon-btn:hover { border-color: var(--yellow); color: var(--yellow); }
@keyframes pulse { 50% { opacity: .4; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(200, 16, 46, .45), transparent 60%),
    radial-gradient(50% 70% at 100% 70%, rgba(253, 185, 18, .30), transparent 60%),
    repeating-linear-gradient(115deg, rgba(253, 185, 18, .07) 0 60px, rgba(200, 16, 46, .08) 60px 120px, transparent 120px 240px),
    linear-gradient(180deg, #121012 0%, #0b0b0c 100%);
}
.hero__bg::before { /* tribün ışıkları */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.4px);
  background-size: 14px 14px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, transparent 95%);
  opacity: .35;
}
.hero__bg::after { /* sol tarafı koyulaştır, yazı okunsun */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 11, 12, .97) 0%, rgba(11, 11, 12, .82) 45%, rgba(11, 11, 12, .25) 100%);
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.45fr 1fr; align-items: center; padding-top: 72px; padding-bottom: 72px; }
}
.kicker, .tag {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(253, 185, 18, .15); animation: blink 2s infinite; }
.dot--red { background: var(--red-2); box-shadow: 0 0 0 4px rgba(227, 32, 61, .18); }
@keyframes blink { 50% { opacity: .45; } }
.hero__title {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(44px, 9.5vw, 86px); line-height: .98; letter-spacing: .5px; text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__title .accent { color: var(--yellow); }

.answer {
  display: inline-block; margin-top: 26px; position: relative;
  padding: 10px 34px 6px; background: var(--red);
  clip-path: polygon(2% 8%, 12% 0, 40% 4%, 70% 0, 98% 6%, 100% 40%, 97% 92%, 70% 100%, 35% 96%, 6% 100%, 0 70%);
  transform: rotate(-2deg);
  animation: stamp .55s cubic-bezier(.2, 1.6, .4, 1) .25s both;
  box-shadow: 0 20px 60px rgba(200, 16, 46, .35);
}
.answer__word { font-family: var(--display); font-size: clamp(64px, 14vw, 120px); line-height: 1; letter-spacing: 2px; color: #fff; }
.answer[data-state="no"] { background: #f5f3ee; box-shadow: 0 20px 60px rgba(255, 255, 255, .12); }
.answer[data-state="no"] .answer__word { color: var(--bg); }
@keyframes stamp { 0% { opacity: 0; transform: scale(2.2) rotate(-8deg); } 100% { opacity: 1; transform: scale(1) rotate(-2deg); } }
.answer__sub { margin: 18px 0 0; font-size: 18px; font-weight: 600; }
.answer__sub small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.hero__date { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 13px; color: var(--muted); }

/* Sayaç */
.counter {
  justify-self: start; width: 100%; max-width: 380px;
  background: rgba(14, 14, 16, .78); border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px;
  padding: 22px 24px; backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
@media (min-width: 900px) { .counter { justify-self: end; } }
.counter__label { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 13px; font-weight: 800; letter-spacing: 1.2px; }
.counter__label svg { color: var(--yellow); fill: rgba(253, 185, 18, .2); }
.counter__digits { display: flex; gap: 10px; }
.digit {
  position: relative; flex: 1; aspect-ratio: 3 / 4; max-width: 96px;
  display: grid; place-items: center; border-radius: 10px;
  background: linear-gradient(180deg, #2a2a2e 0%, #1d1d20 50%, #141416 50%, #1b1b1e 100%);
  font-family: var(--display); font-size: clamp(54px, 15vw, 76px); line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 18px rgba(0, 0, 0, .45);
}
.digit::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(0, 0, 0, .7); }
.digit.flip { animation: flip .5s ease; }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
.counter__sub { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.counter__note { margin: 6px 0 0; font-size: 11px; color: var(--dim); text-align: center; }

/* ---------- Feature ---------- */
.feature {
  position: relative; margin-top: 36px; display: grid; gap: 24px;
  background: linear-gradient(135deg, var(--card) 0%, #131315 100%);
  border: 1px solid var(--line); border-radius: 22px; padding: 72px 22px 26px;
  align-content: center; height: var(--feature-h, auto); /* JS en uzun içeriğe göre +%10 sabitler */
}
@media (min-width: 900px) { .feature { grid-template-columns: 1.2fr 1fr .8fr; align-items: center; padding: 30px 72px; } }
.feature h2 { margin: 0 0 10px; font-size: 24px; font-weight: 800; line-height: 1.2; }
.feature p { margin: 0 0 18px; color: var(--muted); font-size: 14px; max-width: 46ch; }
.feature__art { position: relative; display: grid; place-items: center; min-height: 150px; }
.ticket, .wheel__svg { stroke: none; } /* global svg kontur kuralı yazılara bulaşmasın */
.ticket { width: 100%; max-width: 300px; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); }
.stamp {
  position: absolute; right: 8%; bottom: 10%;
  font-family: var(--display); font-size: 20px; letter-spacing: 2px; color: var(--red-2);
  border: 3px solid var(--red-2); padding: 2px 10px; border-radius: 6px; transform: rotate(14deg); opacity: .85;
}
.feature__meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .feature__meta { border-left: 1px solid var(--line); padding-left: 28px; } }
.feature__meta li { display: flex; gap: 12px; align-items: flex-start; }
.feature__meta b { display: block; font-size: 13px; }
.feature__meta small { color: var(--muted); font-size: 12px; }
.mi { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; flex: none; }
.mi--y { background: var(--yellow); }
.mi--r { background: var(--red-2); }
.feature__nav {
  position: absolute; top: 18px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: transparent; border: 1px solid var(--yellow); color: var(--yellow);
  transition: background .2s, color .2s;
}
.feature__nav:hover { background: var(--yellow); color: var(--bg); }
.feature__nav--prev { left: 18px; }
.feature__nav--next { right: 18px; }
@media (min-width: 900px) { .feature__nav { top: 50%; transform: translateY(-50%); } }
.feature.swap .feature__body, .feature.swap .feature__art { animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn-y, .btn-outline, .btn-outline-y {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; padding: 11px 18px; font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: transform .15s, background .2s, border-color .2s, color .2s;
}
.btn-y { background: var(--yellow); color: #141210; border: 1px solid var(--yellow); }
.btn-y:hover { background: var(--yellow-2); }
.btn-outline { background: transparent; border: 1px solid #3a3a3f; color: var(--text); }
.btn-outline:hover { border-color: var(--text); }
.btn-outline-y { background: transparent; border: 1px solid var(--yellow); color: var(--yellow); padding: 9px 16px; font-size: 13px; }
.btn-outline-y:hover { background: var(--yellow); color: var(--bg); }
.btn-y:active, .btn-outline:active, .btn-outline-y:active { transform: scale(.97); }

/* ---------- Section ---------- */
.section { margin-top: 56px; scroll-margin-top: 80px; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.section__title { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 5vw, 34px); letter-spacing: .5px; }
.section__title svg { width: 26px; height: 26px; color: var(--yellow); }
.section__sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; max-width: 60ch; }

/* ---------- Çark ---------- */
.wheelbox {
  display: grid; gap: 28px; align-items: center;
  background: linear-gradient(135deg, var(--card) 0%, #131315 100%);
  border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; overflow: hidden;
}
@media (min-width: 900px) { .wheelbox { grid-template-columns: 1fr 1.1fr; padding: 34px 40px; } }
.wheelbox__title { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 5vw, 42px); letter-spacing: .5px; line-height: 1.05; }
.wheelbox__sub { margin: 0 0 20px; color: var(--muted); font-size: 14px; max-width: 42ch; }
.btn-y:disabled { opacity: .55; cursor: wait; }
.wheel-result {
  margin-top: 22px; padding: 16px 18px; border-radius: 14px; min-height: 96px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px; transition: border-color .3s, background .3s;
}
.wheel-result__label { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; color: var(--dim); text-transform: uppercase; }
.wheel-result b { font-size: 20px; font-weight: 800; }
.wheel-result small { color: var(--muted); font-size: 13px; }
.wheel-result__share { align-self: flex-start; margin-top: 10px; }
.wheel-result__share[hidden] { display: none; }
.wheel { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; justify-self: center; }
.wheel::before { content: ""; position: absolute; inset: 1%; border-radius: 50%; box-shadow: 0 20px 40px rgba(0, 0, 0, .55); }
.wheel__svg {
  width: 100%; height: 100%; display: block; cursor: pointer;
  transition: transform 5s cubic-bezier(.12, .7, .08, 1);
}
.wheel__pointer {
  position: absolute; left: 50%; top: -6px; z-index: 2; transform: translateX(-50%);
  width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent;
  border-top: 30px solid var(--yellow); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6));
}
.wheel__hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 22%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd75a, var(--yellow) 55%, #c98d00);
  border: 4px solid #0b0b0c; color: #141210; font-family: var(--display); font-size: clamp(14px, 3.6vw, 20px); letter-spacing: 1px;
  box-shadow: 0 0 0 3px var(--yellow), 0 8px 20px rgba(0, 0, 0, .5);
}
.wheel__hub:active { transform: translate(-50%, -50%) scale(.95); }

/* ---------- About ---------- */
.about { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; }
.about p { color: var(--muted); max-width: 75ch; margin: 12px 0 0; font-size: 14px; }
.about b { color: var(--text); }

/* ---------- Footer ---------- */
.footer { margin-top: 64px; border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer__inner { display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: auto 1fr auto; gap: 36px; } }
.footer__legal { margin: 0; color: var(--dim); font-size: 12px; max-width: 70ch; }
@media (min-width: 900px) { .footer__legal { text-align: center; margin: 0 auto; } }
.footer__social { display: flex; align-items: center; gap: 16px; color: var(--muted); }
.footer__social a:hover { color: var(--yellow); }
.footer__hash { font-size: 13px; font-weight: 600; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .75); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative; width: 100%; max-width: 500px; max-height: calc(100vh - 32px); overflow: auto;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 22px; animation: fadeIn .25s ease;
}
.modal__panel h3 { margin: 0 32px 14px 0; font-size: 16px; }
.modal__panel img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.modal__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
@media (max-width: 420px) { .modal__actions { grid-template-columns: 1fr 1fr; } }
.modal__actions [hidden] { display: none; }
.modal__text { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 13px; color: var(--muted); white-space: pre-line; }
.btn-share { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 11px 12px; font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; transition: filter .2s, transform .15s; }
.btn-share:hover { filter: brightness(1.12); }
.btn-share:active { transform: scale(.97); }
.btn-share--x { background: #000; border: 1px solid #3a3a3f; }
.btn-share--wa { background: #1fa855; }
.btn-share--fb { background: #1877f2; }
.btn-share--fb svg { fill: currentColor; stroke: none; }
.modal__hint { margin: 10px 0 0; font-size: 12px; color: var(--dim); text-align: center; }
.modal__close { position: absolute; right: 14px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: transparent; border: 1px solid var(--line); font-size: 20px; line-height: 1; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60;
  background: var(--yellow); color: #141210; font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); animation: fadeIn .2s ease;
}

@media (max-width: 480px) {
  .btn-ghost span { display: none; }
  .btn-ghost { padding: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
