/* Canlı etkinlik: sayfa, şerit, alt navigasyon, üst menü, canlı göstergeler */
.top-right { display: flex; align-items: center; gap: 8px; }
.online { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.online i { width: 7px; height: 7px; border-radius: 50%; background: #7ee2a0; box-shadow: 0 0 8px #7ee2a0; animation: pulse 1.6s infinite; }
.online b { color: var(--text); font-variant-numeric: tabular-nums; transition: color .3s; }
.online b.tick { color: #7ee2a0; }
.topnav { display: none; gap: 4px; margin: 0 16px; }
.topnav a { padding: 7px 12px; border-radius: 999px; font-size: 13px; color: var(--muted); text-decoration: none; }
.topnav a.on { background: rgba(255,255,255,.08); color: var(--text); }
.topnav a.nav-live { color: var(--red-hi); font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.topnav a.nav-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 8px var(--red-hi); animation: pulse 1.4s infinite; }
.topnav a.nav-live.on { background: rgba(227,23,47,.2); }
@media (min-width: 900px) { .topnav { display: flex; } .topbar { max-width: none; } }
/* alt nav varken: snap yok, doğal akış, her sayfa gerektiği kadar uzun */
body.has-nav #app { scroll-snap-type: none; }
body.has-nav .stage { height: auto; min-height: 0; scroll-snap-align: none; scroll-snap-stop: normal; align-items: flex-start; padding: calc(64px + var(--safe-top)) 12px 18px; }
body.has-nav .stage + .stage { padding-top: 0; }
body.has-nav .stage:last-child { padding-bottom: calc(96px + var(--safe-bottom)); }
body.has-nav .panel { max-height: none; overflow: visible; }
body.has-nav .scrollbar { display: none; }
@media (min-width: 900px) { body.has-nav .stage { min-height: 100vh; padding: 10vh 5vw 8vh; } body.has-nav .stage + .stage { padding-top: 2vh; } body.has-nav .scrollbar { display: block; } }
body.has-nav .cur-sel { bottom: calc(92px + var(--safe-bottom)); }
@media (min-width: 900px) { body.has-nav .cur-sel { bottom: calc(10px + var(--safe-bottom)); } }

/* şerit (Destek sayfasında) */
.ev-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(90deg, rgba(227,23,47,.28), rgba(227,23,47,.08)); border: 1px solid rgba(255,51,71,.5); text-decoration: none; color: var(--text); margin-bottom: 12px; }
.ev-live { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .14em; font-weight: 800; color: var(--red-hi); }
.ev-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 8px var(--red-hi); animation: pulse 1.4s infinite; }
.ev-live.done { color: #7ee2a0; } .ev-live.done i { background: #7ee2a0; box-shadow: 0 0 8px #7ee2a0; animation: none; }
.ev-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.ev-text b { font-size: 13.5px; } .ev-text small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-timer { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 14px; color: var(--red-hi); }

/* etkinlik sayfası */
#etkinlik.stage { height: auto; min-height: 0; align-items: flex-start; padding-top: calc(72px + var(--safe-top)); }
@media (min-width: 900px) { #etkinlik.stage { padding-top: 96px; } }
.ev-panel { gap: 12px; max-height: none; overflow: visible; }
.ev-head { display: flex; justify-content: space-between; align-items: center; }
.ev-countdown { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--red-hi); }
.ev-countdown.urgent { animation: urgent 1s infinite; }
@keyframes urgent { 50% { opacity: .45 } }
.ev-hero { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; }
.ev-hero-text h2 { font-size: 20px; margin-bottom: 4px; }
.ev-hero-text .sub { font-size: 12px; margin: 0; }
.ev-hero-text .sub em { font-style: normal; color: var(--red-hi); font-weight: 800; }
/* yapılandırılmış başlık: kicker + satırlar, *vurgu* altı çizili */
.ev-h { display: flex; flex-direction: column; gap: 2px; text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.ev-h .k { font-size: 12px; font-weight: 800; letter-spacing: .28em; color: var(--red-hi); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ev-h .k::before { content: ""; width: 18px; height: 2px; background: var(--red); box-shadow: 0 0 8px var(--red); }
.ev-h .l { font-size: 26px; font-weight: 900; letter-spacing: -.01em; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.ev-h em { font-style: normal; color: var(--red-hi); position: relative; display: inline-block; padding-bottom: 2px;
  background: linear-gradient(90deg, var(--red), #ff4b5c 60%, var(--red)) no-repeat 0 100% / 100% 3px; text-shadow: 0 0 22px rgba(255,31,45,.55); }
.ev-h em::after { content: ""; position: absolute; left: 2px; right: -2px; bottom: -4px; height: 3px; background: var(--red); opacity: .35; filter: blur(2px); transform: skewX(-20deg); animation: ulflick 2.6s steps(1) infinite; }
@keyframes ulflick { 0%, 92% { opacity: .35; } 94% { opacity: .9; } 96% { opacity: .2; } 98% { opacity: .9; } }
.ev-h.plain { text-transform: none; font-size: 20px; }
.ev-hero:has(.ev-h:not(.plain)) { align-items: start; }

/* bilinmeyen karakter avatarı */
.avatar { position: relative; width: 92px; height: 92px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 40%, #3a3a40, #15151a 70%); box-shadow: 0 0 0 2px rgba(255,255,255,.08), 0 0 24px rgba(227,23,47,.35); }
.av-noise { position: absolute; inset: -50%; background: repeating-conic-gradient(rgba(255,255,255,.05) 0 1deg, transparent 1deg 3deg); animation: spin 14s linear infinite; opacity: .6; }
@keyframes spin { to { transform: rotate(360deg) } }
.av-sil { position: absolute; left: 50%; bottom: -6px; width: 64px; height: 78px; transform: translateX(-50%); background: #0b0b0e; border-radius: 32px 32px 8px 8px; opacity: 0; animation: sil 6s infinite; }
.av-sil::before { content: ""; position: absolute; left: 50%; top: -22px; width: 36px; height: 36px; transform: translateX(-50%); background: #0b0b0e; border-radius: 50%; }
.av-sil.s2 { width: 58px; border-radius: 10px 10px 8px 8px; animation-delay: 2s; } .av-sil.s2::before { width: 40px; height: 32px; top: -20px; border-radius: 12px; }
.av-sil.s3 { width: 70px; animation-delay: 4s; } .av-sil.s3::before { width: 34px; height: 40px; top: -26px; border-radius: 50% 50% 40% 40%; }
@keyframes sil { 0%, 28% { opacity: 0 } 6%, 22% { opacity: .95 } 33%, 100% { opacity: 0 } }
.av-q { position: absolute; inset: 0; display: grid; place-items: center; font: 900 46px var(--font); color: rgba(255,255,255,.85); text-shadow: 0 0 14px rgba(255,51,71,.8); animation: q 3s ease-in-out infinite; }
@keyframes q { 0%, 100% { transform: scale(1) rotate(-4deg); opacity: .85 } 50% { transform: scale(1.12) rotate(4deg); opacity: 1 } }
.av-scan { position: absolute; left: 0; right: 0; height: 18px; background: linear-gradient(180deg, transparent, rgba(255,51,71,.35), transparent); animation: scan 2.6s linear infinite; }
@keyframes scan { from { top: -20px } to { top: 100% } }
.avatar.glitch { animation: glitch .35s steps(2) 2; }
@keyframes glitch { 25% { transform: translate(2px, -1px); filter: hue-rotate(60deg) } 75% { transform: translate(-2px, 1px); filter: invert(.15) } }

/* lider + liste + akış */
.ev-leader { padding: 12px 14px; border-radius: 16px; background: var(--chip-on); box-shadow: inset 0 0 0 1.5px var(--red); transition: background .3s; }
.ev-leader.me { background: rgba(255,184,77,.14); box-shadow: inset 0 0 0 1.5px #FFB84D; }
.ev-leader.empty { background: var(--chip); box-shadow: inset 0 0 0 1.5px var(--glass-line); }
.ev-leader.pulse { animation: leaderFlash .6s; }
@keyframes leaderFlash { 0% { box-shadow: inset 0 0 0 1.5px var(--red), 0 0 0 0 rgba(255,51,71,.7) } 100% { box-shadow: inset 0 0 0 1.5px var(--red), 0 0 0 18px rgba(255,51,71,0) } }
.ev-leader-top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ev-leader-top b { color: var(--text); }
.ev-leader-name { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.ev-leader-name b { font-size: 22px; }
.ev-amt { font-size: 24px; font-weight: 800; color: var(--red-hi); }
.ev-leader.me .ev-amt { color: #FFB84D; } .ev-leader.empty .ev-amt { color: var(--text); }
.ev-list { display: flex; flex-direction: column; gap: 4px; }
.ev-list li { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 10px; background: var(--chip); font-size: 13px; }
.ev-list .rank { color: var(--muted); font-size: 12px; } .ev-list .amt { font-weight: 800; }
.ev-list li.me { box-shadow: inset 0 0 0 1px #FFB84D; } .ev-list li.me .name::after { content: " · sen"; color: #FFB84D; font-size: 11px; }
.ev-list .more { grid-template-columns: 1fr; text-align: center; color: var(--muted); font-size: 12px; background: none; padding: 4px; }
.ev-feed { height: 46px; overflow: hidden; position: relative; border-radius: 10px; background: rgba(0,0,0,.3); border: 1px solid var(--glass-line); }
.ev-feed:empty::before { content: "Teklifler burada canlı akar"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.ev-feed .f { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 46px; font-size: 12.5px; color: var(--muted); background: rgba(16,4,8,.98); z-index: 2; animation: feedIn .5s; }
.ev-feed .f.out { z-index: 1; animation: feedOut .4s forwards; }
@keyframes feedIn { from { transform: translateY(100%); opacity: 0 } }
@keyframes feedOut { to { transform: translateY(-100%); opacity: 0 } }
.ev-feed .f b { color: var(--text); } .ev-feed .f .t { margin-left: auto; font-size: 11px; opacity: .7; }
.ev-feed .f .dotp { width: 6px; height: 6px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 6px var(--red-hi); }
.ev-bid-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ev-quick { padding: 11px 6px; border-radius: 14px; background: var(--chip); border: 1.5px solid transparent; text-align: center; }
.ev-quick b { display: block; font-size: 17px; } .ev-quick small { font-size: 10.5px; color: var(--muted); }
.ev-quick.on { border-color: var(--red); background: var(--chip-on); }
.ev-custom { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--glass-line); background: var(--field); }
.ev-custom span { font-weight: 800; color: var(--muted); }
.ev-custom input { flex: 1; font: 600 16px var(--font); padding: 13px 0; background: none; border: 0; color: var(--text); outline: none; min-width: 0; }
.ev-cta { position: relative; }
.ev-cta-live { position: absolute; top: -9px; left: 14px; background: #fff; color: var(--red); font-size: 9px; letter-spacing: .14em; font-weight: 900; padding: 2px 7px; border-radius: 99px; display: inline-flex; align-items: center; gap: 4px; }
.ev-cta-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: pulse 1.4s infinite; }
.ev-win { padding: 16px; border-radius: 16px; background: rgba(255,184,77,.12); border: 1.5px solid #FFB84D; display: flex; flex-direction: column; gap: 10px; }
.ev-win-top { font-size: 18px; } .ev-win p { font-size: 13.5px; color: var(--muted); } .ev-win p b { color: #FFB84D; }
.ev-closed { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: var(--chip); }
.ev-closed-name { font-size: 20px; } .ev-closed p { font-size: 13.5px; color: var(--muted); }

/* toast */
.toasts { position: fixed; left: 12px; right: 12px; top: calc(66px + var(--safe-top)); z-index: 8; display: flex; flex-direction: column; gap: 6px; pointer-events: none; max-width: 480px; margin: 0 auto; }
.toast { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(22,6,10,.92); border: 1px solid rgba(255,51,71,.5); font-size: 13px; animation: toastIn .4s, toastOut .4s 3.2s forwards; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.toast b { color: var(--red-hi); } .toast .av { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #3a3a40, #15151a 70%); display: grid; place-items: center; font-weight: 900; font-size: 13px; flex: none; }
@keyframes toastIn { from { transform: translateY(-14px); opacity: 0 } }
@keyframes toastOut { to { transform: translateY(-14px); opacity: 0 } }

/* alt navigasyon (yalnızca mobil) */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; height: calc(62px + var(--safe-bottom)); display: grid; grid-template-columns: 1fr 1fr 1.2fr 1fr 1fr; align-items: start; padding: 8px 6px calc(4px + var(--safe-bottom)); background: rgba(10,3,6,.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--glass-line); overflow: visible; }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0 2px; text-decoration: none; color: var(--muted); font-size: 10px; font-weight: 700; height: 46px; justify-content: center; }
.bottom-nav a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav a.on { color: var(--text); } .bottom-nav a.on svg { stroke: var(--red-hi); }
.bottom-nav a.center { position: relative; top: -26px; height: auto; justify-content: flex-start; }
.bottom-nav .ring { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,3,6,.97); box-shadow: 0 0 0 3px rgba(255,51,71,.25), 0 -6px 18px rgba(0,0,0,.5); }
.bottom-nav .dot { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(180deg, var(--red-hi), var(--red) 60%, #B80F24); display: grid; place-items: center; box-shadow: 0 8px 24px -4px rgba(227,23,47,.8); animation: beat 2.4s infinite; }
.bottom-nav .dot i { font: 900 24px var(--font); font-style: normal; color: #fff; animation: q 3s ease-in-out infinite; }
.bottom-nav .lbl { color: var(--red-hi); }
.bottom-nav a.center::after { content: "CANLI"; position: absolute; top: -2px; right: -4px; font-size: 8px; letter-spacing: .1em; background: var(--red); color: #fff; padding: 2px 5px; border-radius: 99px; }
@media (min-width: 900px) { .bottom-nav { display: none !important; } }

/* paket kartı ve abonelik açıklaması */
.tier-bid { border-color: rgba(255,51,71,.35); }
.sub-why { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--chip); font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.sub-why b { color: var(--text); }
.b-teklif { background: var(--red-hi); } .b-karakter { background: linear-gradient(135deg, #fff, #FFB84D); border-radius: 50%; }

/* etkinlik sayfası kompakt (CTA ilk ekranda) */
.ev-panel { gap: 10px; padding-top: 14px; }
.ev-hero { grid-template-columns: 72px 1fr; gap: 12px; }
.avatar { width: 72px; height: 72px; }
.av-q { font-size: 36px; }
.ev-hero-text h2 { font-size: 18px; }
.ev-h .l { font-size: 22px; } .ev-h .k { font-size: 11px; }
.ev-leader { padding: 10px 12px; }
.ev-leader-name b { font-size: 19px; } .ev-amt { font-size: 21px; }
.ev-list li { padding: 6px 10px; font-size: 12.5px; }
.ev-feed { height: 38px; } .ev-feed .f { height: 38px; font-size: 12px; }
.ev-quick { padding: 9px 4px; } .ev-quick b { font-size: 15px; } .ev-quick small { font-size: 10px; }
.ev-custom input { padding: 11px 0; font-size: 15px; }
@media (max-height: 740px) { .ev-list { display: none; } .ev-hero-text .sub { display: none; } }

/* serbest kaydırmada üst bar arka planı ve offset */
body.has-nav .topbar { background: linear-gradient(180deg, rgba(10,3,6,.92), rgba(10,3,6,.6) 70%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-bottom: 10px; }
body.has-nav .stage[id] { scroll-margin-top: calc(60px + var(--safe-top)); }
body.has-nav #etkinlik.stage { scroll-margin-top: 0; }
/* mobilde şerit gereksiz (etkinlik zaten üstte) */
@media (max-width: 899px) { body.has-nav .ev-strip { display: none; } }
/* para birimi seçici: sağ altta, nav üstünde, küçük */
body.has-nav .cur-sel { left: auto; right: 10px; bottom: calc(74px + var(--safe-bottom)); opacity: .5; }
@media (min-width: 900px) { body.has-nav .cur-sel { left: 12px; right: auto; bottom: calc(10px + var(--safe-bottom)); } }
/* alt nav: merkez düğme pasifken sönük */
.bottom-nav a.center:not(.on) .lbl { color: var(--muted); }
.bottom-nav a.center:not(.on) .dot { filter: saturate(.6) brightness(.8); animation: none; }

/* ---- Nasıl çalışır? ---- */
.ev-how { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px auto 0; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--glass-line); background: rgba(255,255,255,.04); color: var(--text); font: 700 12.5px var(--font); cursor: pointer; }
.ev-how:hover { background: rgba(255,255,255,.08); }
.ev-how svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ev-how-secure { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; padding: 3px 8px 3px 6px; border-radius: 99px; background: rgba(46,204,113,.14); color: #6fe3a0; font-size: 10.5px; letter-spacing: .04em; }
.ev-how-secure svg { width: 12px; height: 12px; }
.sheet-how h2 { margin-bottom: 6px; }
.how-steps { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 14px 0 12px; }
.how-steps li { display: flex; gap: 12px; align-items: flex-start; }
.how-steps li > div { flex: 1; min-width: 0; }
.how-steps b { display: block; font-size: 15px; margin-bottom: 3px; }
.how-steps p { font-size: 13px; line-height: 1.45; color: var(--muted); }
.how-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; font-size: 13px; display: grid; place-items: center; box-shadow: 0 0 14px rgba(227,23,47,.5); margin-top: 1px; }
.how-ti { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.how-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 12px 0 14px; border-top: 1px solid var(--glass-line); }
