/* ==========================================================================
   SUPIRE — Arayüz
   ==========================================================================

   Yapı kararları:

   • YAYIN KAHRAMAN. Ziyaretçi siteye yayını izlemeye geliyor; ilk gördüğü şey
     oynatıcı ve sohbet. İstatistikler başlığın altında ince bir bilgi şeridi —
     eskiden üç büyük kart olarak en üstte durup asıl içeriği aşağı itiyorlardı.

   • TEK İÇERİK BÖLÜMÜ. Klipler, geçmiş yayınlar ve YouTube için üç ayrı ve
     birbirinin aynısı ızgara vardı. Hepsi tek sekmeli bölümde toplandı.

   • TEK VURGU RENGİ. Turuncu yalnızca birincil eylemde ve marka işaretinde.
     Her yüzeyde kullanılınca hiçbir şey öne çıkmıyordu.

   • PARILTI YOK. Derinlik renkli glow ile değil, yüzey tonlarının
     katmanlanmasıyla kuruluyor.
   ========================================================================== */

:root {
  --bg:            #08080a;
  --surface-1:     #0e0e11;
  --surface-2:     #141418;
  --surface-3:     #1c1c21;

  --border:        #212127;
  --border-strong: #2e2e36;

  --text:          #f4f4f5;
  --text-muted:    #a0a0aa;
  --text-dim:      #6d6d78;

  --accent:        #ff6a1a;
  --accent-hover:  #ff8340;
  --accent-soft:   rgba(255, 106, 26, 0.10);
  --accent-line:   rgba(255, 106, 26, 0.32);

  --live:          #ff4747;
  --live-soft:     rgba(255, 71, 71, 0.16);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-full: 999px;

  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);

  --t: 150ms cubic-bezier(0.4, 0, 0.2, 1);

  --wrap: 1360px;
  --pad: 28px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sabit başlık, bölüme atlarken içeriği kesmesin */
  scroll-padding-top: 80px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10001;
  padding: 10px 18px;
  background: var(--accent);
  color: #14100c;
  font-weight: 600;
  border-radius: 0 0 var(--r-md) 0;
}

.skip-link:focus { left: 0; }

/* ==========================================================================
   Butonlar
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t);
}

.btn-primary {
  background: var(--accent);
  color: #14100c;
}

.btn-primary:hover { background: var(--accent-hover); }

/* ==========================================================================
   Başlık çubuğu
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 var(--pad);
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 3px;
  height: 18px;
  background: var(--accent);
  border-radius: var(--r-full);
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.site-nav a {
  padding: 7px 12px;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t), background var(--t);
}

.site-nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--surface-1);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}

/* Canlı yayındayken sayfadaki tek kırmızı öğe budur. */
.dot.live {
  background: var(--live);
  box-shadow: 0 0 0 3px var(--live-soft);
  animation: livePulse 2.4s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--live-soft); }
  50%      { box-shadow: 0 0 0 7px transparent; }
}

/* ==========================================================================
   Kahraman bölüm — yayın + sohbet
   ========================================================================== */

.hero {
  padding: 26px 0 32px;
  border-bottom: 1px solid var(--border);
  /* Üstte çok hafif bir aydınlanma; oynatıcıyı sayfadan ayırır. */
  background:
    radial-gradient(1200px 320px at 50% -120px, rgba(255, 106, 26, 0.05), transparent 70%),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 20px;
  align-items: stretch;
}

.hero-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.player {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.hero-title {
  font-size: 1.32rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

/* Bilgi şeridi — dört değer, aralarında ince ayraç */
.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-1);
  overflow: hidden;
}

.meta-item {
  flex: 1 1 130px;
  min-width: 0;
  padding: 11px 16px;
  border-right: 1px solid var(--border);
}

.meta-item:last-child { border-right: none; }

.meta-item dt {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 3px;
}

.meta-item dd {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atam-image {
  height: 50px;
  width: auto;
  opacity: 0.7;
}

.atam-image[hidden] { display: none; }

/* ==========================================================================
   Panel — sohbet, takipçiler, bağlantılar, sistem için ortak kabuk
   ========================================================================== */

.panel {
  display: flex;
  flex-direction: column;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  flex-shrink: 0;
}

.panel-title {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  transition: color var(--t);
}

.panel-link:hover { color: var(--accent); }

.panel-link i { font-size: 0.62rem; }

/* --- Sohbet -------------------------------------------------------------- */

/* Sag sutun: sohbet + son takip edenler. Sohbet kalan boşluğu doldurur,
   takipçi paneli sabit kalır; ikisi birlikte oynatıcının yüksekliğine oturur. */
.hero-chat {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-panel {
  flex: 1 1 auto;
  min-height: 0;
}

.followers-panel { flex-shrink: 0; }

/* Panel başlığındaki küçük nabız: bu alanın canlı güncellendiğini gösterir. */
.panel-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: panelPulse 2.4s ease-in-out infinite;
}

@keyframes panelPulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 var(--accent-soft); }
  50%      { opacity: 0.5; box-shadow: 0 0 0 5px transparent; }
}

.chat-messages {
  flex: 1;
  min-height: 200px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--r-full);
}

.chat-msg {
  font-size: 0.855rem;
  line-height: 1.5;
  word-break: break-word;
  animation: msgIn 180ms ease-out;
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(3px); }
  to   { opacity: 1; transform: none; }
}

/* main.js kullanıcı adını kendi sarmalayıcısında üretiyor; satır içi kalmalı. */
.chat-user-row { display: inline; }

.chat-username {
  font-weight: 650;
  margin-right: 6px;
}

.chat-text { color: var(--text-muted); }

.chat-emoji {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: -4px;
  margin: 0 2px;
  object-fit: contain;
}

/* ==========================================================================
   Sponsor şeridi
   ========================================================================== */

.sponsor-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 58px;
  margin-top: 24px;
  padding: 0 16px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.sponsor-label {
  flex-shrink: 0;
  padding: 4px 9px;
  border: 1px solid var(--accent-line);
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sponsor-track {
  position: relative;
  flex: 1;
  height: 100%;
  min-width: 0;
}

.sponsor-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 380ms ease;
}

.sponsor-item.active {
  opacity: 1;
  pointer-events: auto;
}

.sponsor-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sponsor-name {
  font-size: 0.87rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sponsor-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sponsor-action {
  flex-shrink: 0;
  padding: 8px 15px;
  border-radius: var(--r-sm);
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 0.79rem;
  font-weight: 600;
  transition: background var(--t), border-color var(--t), color var(--t);
}

.sponsor-item:hover .sponsor-action {
  background: var(--accent);
  border-color: var(--accent);
  color: #14100c;
}

/* ==========================================================================
   Bölümler ve sekmeler
   ========================================================================== */

.section { padding: 44px 0 0; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-1);
}

.tab {
  padding: 7px 15px;
  border: none;
  border-radius: var(--r-sm);
  background: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--text-dim);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--t), background var(--t);
}

.tab:hover { color: var(--text-muted); }

.tab.is-active {
  background: var(--surface-3);
  color: var(--text);
}

.tab-panel[hidden] { display: none; }

/* Sekme paneli geçiş animasyonu.
   Panel [hidden] iken display:none olduğu için, görünür olduğu an animasyon
   kendiliğinden yeniden tetiklenir — JS'te ayrıca sıfırlamaya gerek yok.
   Yön sınıfını (ileri/geri) JS ekler; otomatik döngü daima ileri gider. */
.tab-panel:not([hidden]) {
  animation: tab-in-next 420ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.tab-panel.from-prev:not([hidden]) {
  animation-name: tab-in-prev;
}

@keyframes tab-in-next {
  from { opacity: 0; transform: translate3d(18px, 0, 0); }
  to   { opacity: 1; transform: none; }
}

@keyframes tab-in-prev {
  from { opacity: 0; transform: translate3d(-18px, 0, 0); }
  to   { opacity: 1; transform: none; }
}

/* Otomatik geçiş sayacı: aktif sekmenin altında ilerleyen ince çizgi.
   Kullanıcı sekmeye tıkladığında otomatik geçiş durur ve çizgi kaybolur. */
.tab { position: relative; overflow: hidden; }

.tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent, currentColor);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}

.tabs.is-autoplaying .tab.is-active::after {
  opacity: 0.55;
  animation: tab-progress var(--tab-interval, 10s) linear both;
}

.tabs.is-autoplaying.is-paused .tab.is-active::after {
  animation-play-state: paused;
}

@keyframes tab-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}


/* ==========================================================================
   İçerik kartları
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 16px;
}

.video-card {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}

.video-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-color: #000;
  background-size: cover;
  background-position: center;
}

.video-badge,
.duration-tag,
.views-tag {
  position: absolute;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  background: rgba(8, 8, 10, 0.8);
  backdrop-filter: blur(6px);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 600;
}

.video-badge { top: 10px; right: 10px; }
.video-badge.yt { background: rgba(255, 0, 51, 0.9); }
.duration-tag  { bottom: 10px; left: 10px; }
.views-tag     { bottom: 10px; right: 10px; }

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 10, 0.45);
  opacity: 0;
  transition: opacity var(--t);
}

.video-card:hover .play-overlay { opacity: 1; }

.play-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #14100c;
  font-size: 0.92rem;
  padding-left: 3px;
}

.play-icon.yt {
  background: #ff0033;
  color: #fff;
  padding-left: 0;
}

.video-card-info { padding: 12px 14px 14px; }

.video-card-title {
  font-size: 0.87rem;
  font-weight: 550;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-meta {
  margin-top: 5px;
  font-size: 0.74rem;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grid-placeholder {
  grid-column: 1 / -1;
  padding: 40px 16px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-dim);
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
}

/* ==========================================================================
   Topluluk
   ========================================================================== */

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

/* --- Takipçiler ---------------------------------------------------------- */

.followers-list {
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 1px;
  max-height: 264px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.followers-list::-webkit-scrollbar { width: 6px; }
.followers-list::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--r-full);
}

.follower-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  transition: background var(--t);
}

.follower-row:hover { background: var(--surface-2); }

.follower-row.is-new { animation: followerIn 2s ease-out; }

@keyframes followerIn {
  0%   { background: var(--accent-soft); }
  100% { background: transparent; }
}

.follower-avatar,
.follower-avatar-fallback {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--surface-3);
  border: 1px solid var(--border);
  object-fit: cover;
}

.follower-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.7rem;
}

.follower-name {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.follower-time {
  flex-shrink: 0;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.followers-empty {
  padding: 20px 16px;
  text-align: center;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--text-dim);
}

/* --- Bağlantılar --------------------------------------------------------- */

.link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.link-tile {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 14px;
  background: var(--surface-1);
  transition: background var(--t);
}

.link-tile i {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 4px;
  transition: color var(--t);
}

/* Marka renkleri yalnızca üzerine gelindiğinde; dördü birden renkliyken
   panel karnavala dönüyordu. */
.link-tile:hover               { background: var(--surface-2); }
.link-tile.discord:hover i     { color: #5865f2; }
.link-tile.tiktok:hover i      { color: #f4f4f5; }
.link-tile.youtube:hover i     { color: #ff0033; }
.link-tile.mail:hover i        { color: var(--accent); }

.link-name {
  font-size: 0.86rem;
  font-weight: 600;
}

.link-handle {
  font-size: 0.73rem;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Sistem -------------------------------------------------------------- */

.spec-list { padding: 4px 0; }

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
}

.spec-row:last-child { border-bottom: none; }

.spec-row dt {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.spec-row dd {
  font-size: 0.85rem;
  font-weight: 550;
  text-align: right;
}

/* ==========================================================================
   Modallar
   ========================================================================== */

.modal,
.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 5, 6, 0.9);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active,
.image-modal.active {
  display: flex;
  animation: modalIn 160ms ease-out;
}

@keyframes modalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body.modal-open { overflow: hidden; }

.modal-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-modal .modal-content {
  max-width: 1150px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.modal-title {
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.close-btn {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--r-sm);
  background: none;
  color: var(--text-dim);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--t), background var(--t);
}

.close-btn:hover {
  color: var(--text);
  background: var(--surface-3);
}

.modal-video-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.modal-video-box iframe,
.modal-video-box video,
.modal-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.modal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.modal-image-box {
  overflow: auto;
  background: #000;
}

.modal-image-box img {
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
}

/* ==========================================================================
   Alt bilgi
   ========================================================================== */

.site-footer {
  margin-top: 56px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.79rem;
}

.footer-inner .brand-name {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ==========================================================================
   Duyarlı düzen
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .chat-messages { min-height: 300px; max-height: 340px; }

  /* Hero tek sütuna düştüğünde sohbet ve takipçiler alt alta akar. */
  .hero-chat { gap: 14px; }
}

@media (max-width: 860px) {
  /* Gezinme bağlantıları dar ekranda başlığı taşırıyor; sayfa zaten kısa. */
  .site-nav { display: none; }

  .header-cta span { display: none; }
  .header-cta { padding: 9px 12px; }
}

@media (max-width: 720px) {
  :root { --pad: 16px; }

  body { font-size: 14px; }

  .hero { padding: 18px 0 24px; }

  .hero-title { font-size: 1.12rem; }

  .meta-item { flex: 1 1 50%; border-bottom: 1px solid var(--border); }

  /* Dar ekranda "Yayın şu an aktif değil" gibi değerler kesiliyordu;
     tek satır zorunluluğu kaldırılıyor. */
  .meta-item dd { white-space: normal; }
  .meta-item:nth-child(2n) { border-right: none; }
  .meta-item:nth-last-child(-n+2) { border-bottom: none; }

  .section { padding: 32px 0 0; }

  .section-head { align-items: flex-start; flex-direction: column; }

  .tabs { width: 100%; overflow-x: auto; }
  .tab { flex: 1; }

  .community-grid { grid-template-columns: minmax(0, 1fr); }

  .card-grid { grid-template-columns: minmax(0, 1fr); }

  /* Dar ekranda sponsor açıklaması ve etiket yer bırakmıyordu. */
  .sponsor-label,
  .sponsor-note { display: none; }

  .modal,
  .image-modal { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
