/* t29 "Yönlendirme" — `bahisoyna_redirect/style.css` portu. Yalnız <TemplateStylesheet> ile
   <link> olarak yüklenir (BU DOSYA HİÇBİR YERDEN import EDİLMEZ — CLAUDE.md ⛔). Tüm seçiciler
   `.t29-shell` altında scope'lanır; `html`/`body` seçicisi YAZILMAZ. Promo grid ve `.hide-mobile`
   kuralları tamamen düşürüldü (operatör kararı). Font: Inter zaten `fontVarsClassName` ile
   `<html>`e bağlı (`--font-inter`) — yeni font yüklenmez. */

.t29-shell {
  --t29-bg: #070a0f;
  --t29-surface: rgba(14, 19, 27, 0.92);
  --t29-border: rgba(255, 205, 47, 0.18);
  --t29-border-strong: rgba(255, 205, 47, 0.42);
  --t29-gold: #f5c328;
  --t29-gold-2: #ffe071;
  --t29-text: #f6f8fb;
  --t29-muted: #9ca7b5;
  --t29-success: #31d49a;
  --t29-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);

  display: block;
  min-height: 100vh;
  color-scheme: dark;
  background:
    radial-gradient(circle at 50% -10%, rgba(245, 195, 40, 0.1), transparent 34%),
    linear-gradient(180deg, #080c12 0%, var(--t29-bg) 100%);
  color: var(--t29-text);
  font-family: var(--font-inter), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.t29-shell button,
.t29-shell a {
  font: inherit;
}
.t29-shell button {
  color: inherit;
}

.t29-page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.t29-ambient {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(85px);
  opacity: 0.16;
}
.t29-ambient-a {
  width: 520px;
  height: 520px;
  background: #e0a800;
  right: -220px;
  top: 10%;
}
.t29-ambient-b {
  width: 420px;
  height: 420px;
  background: #365d8d;
  left: -220px;
  bottom: 0;
  opacity: 0.1;
}

.t29-topbar {
  position: relative;
  z-index: 4;
  border-bottom: 1px solid var(--t29-border);
  background: rgba(7, 10, 15, 0.82);
  backdrop-filter: blur(16px);
}
.t29-topbar-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 54px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.t29-official-badge,
.t29-domain-flow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--t29-muted);
  font-size: 12px;
}
.t29-shield {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: var(--t29-gold);
  border: 1px solid var(--t29-border-strong);
  background: rgba(245, 195, 40, 0.08);
  font-weight: 800;
}
.t29-domain-flow strong {
  color: var(--t29-gold-2);
  font-size: 12px;
}
.t29-domain-label {
  opacity: 0.78;
}
.t29-arrow {
  color: var(--t29-gold);
}

.t29-main-layout {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 54px;
}

.t29-redirect-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 36px;
  border: 1px solid var(--t29-border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 42%),
    var(--t29-surface);
  box-shadow: var(--t29-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.t29-redirect-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 220, 100, 0.8), transparent);
}
.t29-card-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  right: -120px;
  top: -180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 195, 40, 0.16), transparent 68%);
  pointer-events: none;
}

.t29-brand-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.t29-brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 190px;
  max-height: 68px;
  object-fit: contain;
}
/* Video logo: kesin yükseklik → satır içi aspect-ratio genişliği verir, metadata inince kayma (CLS) olmaz. */
video.t29-brand-logo { height: 68px; }
.t29-brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.t29-secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(49, 212, 154, 0.08);
  border: 1px solid rgba(49, 212, 154, 0.22);
  color: #b8f4df;
  font-size: 12px;
  font-weight: 700;
}
.t29-secure-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--t29-success);
  box-shadow: 0 0 16px rgba(49, 212, 154, 0.85);
}

.t29-hero-copy {
  margin-top: 38px;
  max-width: 680px;
}
.t29-eyebrow {
  display: inline-block;
  color: var(--t29-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.t29-hero-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.t29-hero-copy p {
  margin: 0;
  max-width: 620px;
  color: var(--t29-muted);
  font-size: 16px;
  line-height: 1.7;
}

.t29-no-target {
  margin-top: 30px;
  color: var(--t29-muted);
  font-size: 14px;
}

.t29-destination-box {
  margin-top: 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: rgba(6, 10, 15, 0.72);
}
.t29-destination-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--t29-gold-2), var(--t29-gold));
  color: #151002;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(245, 195, 40, 0.16);
}
.t29-destination-box span {
  display: block;
  color: var(--t29-muted);
  font-size: 11px;
  margin-bottom: 2px;
}
.t29-destination-box strong {
  font-size: 15px;
}
.t29-copy-btn {
  border: 1px solid var(--t29-border);
  border-radius: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: 0.2s ease;
}
.t29-copy-btn:hover {
  border-color: var(--t29-border-strong);
  background: rgba(245, 195, 40, 0.08);
}

.t29-progress-block {
  margin-top: 30px;
}
.t29-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--t29-muted);
}
.t29-progress-meta strong {
  color: var(--t29-text);
}
.t29-progress-track {
  height: 8px;
  border-radius: 999px;
  background: #151b24;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.t29-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9b6c00, var(--t29-gold), var(--t29-gold-2));
  box-shadow: 0 0 20px rgba(245, 195, 40, 0.38);
  transition: width 0.09s linear;
}

.t29-actions {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 12px;
  margin-top: 24px;
}
.t29-primary-btn,
.t29-secondary-btn {
  min-height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.t29-primary-btn {
  color: #161102;
  background: linear-gradient(135deg, var(--t29-gold-2), var(--t29-gold));
  box-shadow: 0 14px 32px rgba(245, 195, 40, 0.18);
}
.t29-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(245, 195, 40, 0.24);
}
.t29-secondary-btn {
  color: #c7ced7;
  background: #121821;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.t29-secondary-btn:hover {
  transform: translateY(-2px);
  border-color: var(--t29-border);
}
.t29-microcopy {
  margin: 14px 0 0;
  color: #778291;
  font-size: 12px;
  text-align: center;
}

.t29-footer {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 28px;
  color: #596474;
  text-align: center;
  font-size: 11px;
}

/* `data-stopped`, RedirectControls'un kendi kökünde (`.t29-controls`) VE bulunduğu
   `.t29-redirect-card` üzerinde ayrı ayrı işaretlenir (bkz. RedirectControls.tsx handleStop) —
   `.t29-secure-pill` kart düzeyinde, controls'un DIŞINDA render edildiği için tek bir ortak
   `[data-stopped]` ile hedeflenemez; iki ayrı ata kullanılır. */
.t29-controls[data-stopped] .t29-progress-fill {
  background: #424a55;
  box-shadow: none;
}
.t29-redirect-card[data-stopped] .t29-secure-pill {
  border-color: rgba(255, 255, 255, 0.1);
  color: #a4adb8;
  background: rgba(255, 255, 255, 0.03);
}
.t29-redirect-card[data-stopped] .t29-secure-pill i {
  background: #6f7b89;
  box-shadow: none;
}

/* Ekran okuyucuya özel tek-amaçlı durum anonsu (RedirectControls liveStatus) — görsel olarak
   gizli, erişilebilirlik ağacında kalır. */
.t29-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .t29-main-layout {
    padding-top: 36px;
  }
  .t29-redirect-card {
    padding: 28px;
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  .t29-topbar-inner {
    min-height: 48px;
  }
  .t29-official-badge span:last-child,
  .t29-domain-label,
  .t29-arrow {
    display: none;
  }
  .t29-main-layout {
    width: min(100% - 20px, 1180px);
    padding: 18px 0 36px;
  }
  .t29-redirect-card {
    padding: 20px;
    border-radius: 20px;
  }
  .t29-brand-row {
    align-items: flex-start;
  }
  .t29-brand-logo {
    max-width: 145px;
    max-height: 56px;
  }
  video.t29-brand-logo { height: 56px; }
  .t29-secure-pill {
    font-size: 10px;
    padding: 8px 10px;
  }
  .t29-hero-copy {
    margin-top: 28px;
  }
  .t29-hero-copy h1 {
    font-size: clamp(30px, 10vw, 42px);
  }
  .t29-hero-copy p {
    font-size: 14px;
  }
  .t29-destination-box {
    grid-template-columns: auto 1fr;
  }
  .t29-copy-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .t29-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .t29-shell *,
  .t29-shell *::before,
  .t29-shell *::after {
    transition: none !important;
  }
}
