/* static/css/showcase.css — CryptoSignalNews [⚡ AI Sinyal & Paketler] vitrini,
   misafir üst barı, parlayan çağrı düğmeleri, OTP modalı ve Telegram kart
   simülatörü. arkham.css tokenlarını kullanır; kart temaları gerçek kartın
   card_themes.css değerleriyle birebirdir. */

/* ── Üst bar: SVG logo + misafir giriş düğmesi + parlayan vitrin sekmesi ── */
img.logo-mark { background: none; border-radius: 0; display: block; }
.btn-auth {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--blue) 55%, transparent); background: var(--blue); color: #fff;
  font: 700 12.5px var(--mono); letter-spacing: .02em; cursor: pointer; white-space: nowrap;
}
.btn-auth:hover { background: var(--blue-2); }
.btn-auth[hidden], .main-tabs .tab[hidden], .sc-vid[hidden], .sc-flow[hidden] { display: none; }
.main-tabs .tab.tab-glow { color: #22D3EE; position: relative; animation: glow 2.4s ease-in-out infinite; }
.main-tabs .tab.tab-glow.on { background: color-mix(in srgb, #22D3EE 16%, transparent); color: #22D3EE; }
:root:not([data-theme="dark"]) .main-tabs .tab.tab-glow { color: #0E7490; }
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
  50% { box-shadow: 0 0 0 3px rgba(34, 211, 238, .18), 0 0 18px rgba(34, 211, 238, .35); }
}
.cta-glow {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 20px;
  border: 0; border-radius: 10px; cursor: pointer; white-space: nowrap; color: #04121C;
  font: 800 13.5px var(--mono); letter-spacing: .04em;
  background: linear-gradient(110deg, #22D3EE, #3B82F6 55%, #8B5CF6); background-size: 200% 100%;
  animation: glow 2.4s ease-in-out infinite, sheen 5s linear infinite;
}
.cta-glow:hover { filter: brightness(1.08); }
@keyframes sheen { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .cta-glow, .main-tabs .tab.tab-glow, .sc-link i, .sc-node { animation: none; } }

/* ── Portal hero şeridi (haber akışının üstünde) ── */
.hero-strip {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, #22D3EE 40%, var(--line));
  background: linear-gradient(110deg, color-mix(in srgb, #22D3EE 10%, var(--card)), var(--card) 60%);
}
.hero-strip .grow { display: grid; gap: 2px; }
.hs-title { font: 700 16px var(--head); }

/* ── OTP modalı ── */
.modal-box:has(.am-head) { max-width: 440px; }
.am-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.am-head .kicker { margin: 0 0 2px; }
.am-brand { font: 700 18px var(--head); } .am-brand span { color: var(--blue); }
.am-plan { font-size: 12px; padding: 8px 10px; border-radius: 8px; color: var(--violet); background: color-mix(in srgb, var(--violet) 10%, transparent); }
.am-wait { display: grid; justify-items: center; gap: 8px; padding: 18px 0; }

/* ── Vitrin yerleşimi ── */
.sc { display: grid; gap: 20px; }
.sc .panel { padding: 24px; }
.sc-sec-head { margin-bottom: 16px; } .sc-sec-head h2 { font-size: 21px; margin-bottom: 4px; }
.sc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center;
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, #22D3EE 9%, transparent), transparent 60%), var(--card); }
.sc-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #22D3EE; margin-bottom: 12px; }
:root:not([data-theme="dark"]) .sc-kicker { color: #0E7490; }
.sc-title { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; margin-bottom: 12px; }
.sc-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sc-actions .btn { width: auto; height: 44px; line-height: 42px; margin: 0; padding: 0 18px; }
.sc-langchip { display: inline-block; margin-top: 14px; font-size: 11.5px; color: var(--muted); padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }

/* A) 16:9 sinematik sahne: video ya da canlı mimari akış */
.sc-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid #1E2D4A;
  background: radial-gradient(90% 120% at 50% 0%, #10203A, #060A12 70%); box-shadow: 0 24px 60px -30px rgba(34, 211, 238, .45); }
.term-kicker { display: flex; align-items: center; gap: 8px; }
.sc-stage:has(.sc-vid:not([hidden])) { aspect-ratio: 16 / 9; min-height: 0; }
.sc-vid { width: 100%; height: 100%; object-fit: cover; background: #000; }
.sc-flow { position: absolute; inset: 0; display: grid; align-content: center; gap: 16px; padding: 18px; color: #E6EDF7;
  background-image: radial-gradient(#162033 1px, transparent 1.2px); background-size: 16px 16px; }
.sc-flow-row { display: flex; align-items: stretch; justify-content: center; }
.sc-node { flex: 1 1 0; min-width: 0; display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center;
  padding: 12px 6px; border-radius: 12px; border: 1px solid #1E2D4A; background: rgba(12, 19, 34, .85);
  animation: nodeOn 2.8s ease-in-out infinite; animation-delay: var(--d); }
.sc-node b { font: 700 12px/1.25 var(--head); } .sc-node small { font-size: 10.5px; color: #8A9BB8; line-height: 1.3; }
.sc-ic { font-size: 22px; }
@keyframes nodeOn { 0%, 100% { border-color: #1E2D4A; box-shadow: none; }
  25% { border-color: #22D3EE; box-shadow: 0 0 22px rgba(34, 211, 238, .35); } }
.sc-link { flex: 0 0 22px; align-self: center; height: 2px; background: #1E2D4A; position: relative; overflow: hidden; }
.sc-link i { position: absolute; top: 0; width: 10px; height: 2px; background: #22D3EE; box-shadow: 0 0 8px #22D3EE; animation: dash 1.4s linear infinite; }
@keyframes dash { from { left: -10px; } to { left: 22px; } }
.sc-langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sc-langs span { font-size: 10.5px; padding: 2px 7px; border-radius: 6px; border: 1px solid #1E2D4A; color: #8A9BB8; }
.sc-langs span.on { color: #04121C; background: #22D3EE; border-color: #22D3EE; }
.sc-soon { text-align: center; font-size: 11px; color: #8A9BB8; margin: 0; }

/* B) Simülatör */
.sim-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sim-tier { min-height: 56px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card-2);
  font: 700 14px var(--head); cursor: pointer; color: var(--text); }
.sim-tier.on { border-color: var(--blue); box-shadow: var(--ring); background: color-mix(in srgb, var(--blue) 10%, var(--card)); }
.sim-tier.t-elite { border-color: color-mix(in srgb, var(--violet) 45%, var(--line)); }
.sim-tier.t-elite.on { border-color: var(--violet); background: color-mix(in srgb, var(--violet) 14%, var(--card)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 25%, transparent), 0 0 26px color-mix(in srgb, var(--violet) 30%, transparent); }
.sim-themes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 18px; }
.sim-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.sim-aside { position: sticky; top: 84px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card-2); }
.sim-aside-head { font: 700 16px var(--head); margin-bottom: 10px; }
.sim-note { color: var(--muted); margin: 10px 0 0; }
.sc-feats { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.sc-feats li { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.4; }
.sc-feats li.off { color: var(--muted); opacity: .75; }
.sc-tick { flex: 0 0 18px; font-weight: 800; color: var(--green); }
.sc-plan-cta .btn { margin-top: 4px; }
.btn-elite { background: var(--violet); color: #fff; } .btn-elite:hover:not(:disabled) { filter: brightness(1.1); }

/* Telegram sohbet çerçevesi */
.tg-frame { max-width: 460px; margin: 0 auto; border-radius: 22px; overflow: hidden; border: 1px solid #22314B; background: #0E1621; box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .8); color: #E9EEF5; }
.tg-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #17212B; border-bottom: 1px solid #0B121A; }
.tg-head b { display: block; font-size: 14.5px; } .tg-head small { color: #6C7F95; font-size: 12px; }
.tg-ava { border-radius: 50%; background: #0B1426; }
.tg-menu { color: #6C7F95; font-size: 18px; }
.tg-chat { padding: 14px 10px 16px; background: #0E1621 radial-gradient(#15202D 1px, transparent 1.2px); background-size: 14px 14px; }
.tg-msg { position: relative; max-width: 100%; padding: 4px 4px 22px; border-radius: 14px 14px 14px 4px; background: #182533; }
.tg-cap { padding: 8px 8px 0; font-size: 13.5px; line-height: 1.45; }
.tg-link { color: #6AB2F2; }
.tg-time { position: absolute; right: 10px; bottom: 5px; font-size: 11px; color: #6C7F95; }

/* Kart: gerçek kartın 4 resmî tema token'ı (card_themes.css ile aynı HEX) */
.tc { --bg: #0B1120; --surface: #131C2E; --surface-2: #1B2740; --fg: #F8FAFC; --muted: #94A3B8; --border: #263552;
  --bull: #10B981; --bull-bg: rgba(16, 185, 129, .14); --bear: #F43F5E; --amber: #F59E0B; --amber-bg: rgba(245, 158, 11, .15);
  --tier-fg: #FCD34D; --tier-bg: rgba(245, 158, 11, .16);
  position: relative; display: grid; gap: 10px; padding: 14px; border-radius: 12px; background: var(--bg); color: var(--fg);
  font: 13px/1.4 var(--body); border: 1px solid var(--border); text-align: start; }
.tc[data-ctheme="ivory"] { --bg: #F6F7F9; --surface: #FFFFFF; --surface-2: #EEF2F6; --fg: #0F172A; --muted: #475569; --border: #CBD5E1;
  --bull: #059669; --bull-bg: #ECFDF5; --bear: #DC2626; --amber: #B45309; --amber-bg: #FFFBEB; --tier-fg: #92400E; --tier-bg: #FEF3C7; }
.tc[data-ctheme="amoled"] { --bg: #000000; --surface: #0E0E10; --surface-2: #18181B; --fg: #FFFFFF; --muted: #A1A1AA; --border: #27272A;
  --bull: #00E599; --bull-bg: rgba(0, 229, 153, .14); --bear: #FF4D4D; --amber: #FFB800; --amber-bg: rgba(255, 184, 0, .15); --tier-fg: #FFD166; --tier-bg: rgba(255, 209, 102, .16); }
.tc[data-ctheme="ocean"] { --bg: #061826; --surface: #0D2538; --surface-2: #13334C; --fg: #F0F7FF; --muted: #93B4D1; --border: #1E4464;
  --bull: #2DD4BF; --bull-bg: rgba(45, 212, 191, .14); --bear: #FB7185; --amber: #FBBF24; --amber-bg: rgba(251, 191, 36, .15); --tier-fg: #FDE68A; --tier-bg: rgba(251, 191, 36, .16); }
.tc .mono { font-family: var(--mono); }
.tc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.tc-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-pill { font: 700 10.5px var(--mono); padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.tc-dir { background: var(--bull); color: #fff; }
.tc[data-ctheme="amoled"] .tc-dir, .tc[data-ctheme="ocean"] .tc-dir { color: #032219; }
.tc-score { background: var(--bull-bg); color: var(--bull); }
.tc-tier { font: 800 10.5px var(--mono); padding: 3px 8px; border-radius: 6px; background: var(--tier-bg); color: var(--tier-fg); }
.tc-tier.free { background: var(--surface-2); color: var(--muted); }
.tc:not([data-ctheme="ivory"]) .tc-tier.pro { color: #60A5FA; }
.tc-hero { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.tc-hero-l { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tc-coin { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #F7931A; color: #fff; font-weight: 800; }
.tc-sym { font: 800 15px var(--head); } .tc-price { font-weight: 700; font-size: 14px; }
.tc-chg.up { color: var(--bull); } .tc-chg.down { color: var(--bear); } .tc-chg.flat { color: var(--muted); }
.tc-impulse { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--amber-bg); color: var(--amber); }
.tc-head { margin: 0; font: 700 15.5px/1.3 var(--head); color: var(--fg); }
.tc-cats { font-size: 10.5px; color: var(--muted); }
.tc-impact { padding: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.tc-label { display: block; font: 700 9.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.tc-impact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tc-impact li { display: flex; gap: 8px; } .tc-impact li i { flex: 0 0 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: var(--bull); }
.tc-lockbar { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 8px 10px; border-radius: 8px; font-size: 11.5px; background: var(--amber-bg); color: var(--amber); }
.tc-lock-cta { font-weight: 800; }
.tc-flow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 10.5px; color: var(--muted); }
.tc-flow-tag { padding: 3px 8px; border-radius: 6px; font-weight: 800; background: var(--bull-bg); color: var(--bull); }
.tc-range { padding: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: 11px; color: var(--muted); }
.tc-range-top { display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.tc-range-top b, .tc-strong { color: var(--fg); font-weight: 800; }
.tc-track { position: relative; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--bear), var(--amber), var(--bull)); }
.tc-track i { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--fg); border: 2px solid var(--bg); }
.tc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tc-box { position: relative; padding: 9px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); min-width: 0; }
.tc-val { display: block; font-size: 15px; } .tc-sub { font-size: 10.5px; color: var(--muted); }
.tc-pos { color: var(--bull); } .tc-neg { color: var(--bear); }
.tc-sides { display: flex; justify-content: space-between; gap: 4px; font-size: 10.5px; font-weight: 700; flex-wrap: wrap; }
.tc-split { height: 6px; margin-top: 6px; border-radius: 99px; background: var(--bear); overflow: hidden; }
.tc-split i { display: block; height: 100%; background: var(--bull); }
.tc-box.locked .tc-blur { filter: blur(5px); opacity: .6; }
.tc-lock { position: absolute; inset-inline-end: 8px; bottom: 8px; font-size: 10px; font-weight: 800; color: var(--tier-fg); background: var(--tier-bg); padding: 2px 6px; border-radius: 6px; }
.tc-foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 10px; color: var(--muted); padding-top: 8px; border-top: 1px solid var(--border); }
.tc-speed { color: var(--bull); } .tc-brand { font: 800 9.5px var(--mono); letter-spacing: .06em; }
.tc-demo { position: absolute; top: -9px; inset-inline-start: 12px; font-size: 9px; font-weight: 800; letter-spacing: .08em; padding: 2px 7px; border-radius: 5px; background: var(--amber); color: #111; }

/* C) Paket matrisi */
.sc-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.sc-plan { position: relative; display: flex; flex-direction: column; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--card-2); }
.sc-plan .sc-feats { flex: 1; }
.sc-plan.p-pro { border-color: color-mix(in srgb, var(--amber) 45%, var(--line)); }
.sc-plan.p-elite { border-color: var(--violet); box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 18%, transparent), 0 24px 50px -30px color-mix(in srgb, var(--violet) 60%, transparent); }
.sc-plan-name { font: 800 17px var(--head); }
.sc-price { margin: 6px 0 14px; } .sc-price b { font: 800 34px var(--head); }
.sc-reco { position: absolute; top: -11px; inset-inline-end: 16px; font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--violet); color: #fff; }

/* ── Duyarlı + RTL ── */
@media (max-width: 1000px) {
  .sc-hero, .sim-body { grid-template-columns: 1fr; }
  .sim-aside { position: static; }
  .sc-plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-strip { flex-wrap: wrap; } .hero-strip .cta-glow { width: 100%; }
  .main-tabs .tab.tab-glow { font-size: 12px; }
}
@media (max-width: 560px) {
  .sc .panel { padding: 16px; }
  .btn-auth { padding: 0 10px; font-size: 11.5px; }
  .sim-tiers { grid-template-columns: 1fr; }
  .sc-stage { aspect-ratio: auto; min-height: 340px; }
  .sc-flow { position: static; min-height: 340px; }
  .sc-flow-row { flex-direction: column; gap: 0; }
  .sc-link { flex-basis: 14px; width: 2px; height: 14px; }
  .sc-link i { width: 2px; height: 8px; animation-name: dashY; }
  .tc-grid { grid-template-columns: 1fr 1fr; }
  .tg-frame { border-radius: 16px; }
}
@keyframes dashY { from { top: -8px; } to { top: 14px; } }
[dir="rtl"] .sc-link i { animation-direction: reverse; }
/* Arapça harfleri birbirine bağlanır: harf aralığı bağı koparır → RTL'de sıfır. */
[dir="rtl"] .btn, [dir="rtl"] .cta-glow, [dir="rtl"] .btn-auth, [dir="rtl"] .sc-kicker,
[dir="rtl"] .kicker, [dir="rtl"] .sc-langchip, [dir="rtl"] .sc-soon, [dir="rtl"] .am-plan { letter-spacing: 0; }
