:root{
  --bg:#0b0f17;
  --card:#101826;
  --muted:#8aa0b8;
  --text:#e8f0ff;
  --accent:#6ee7ff;
  --accent2:#a78bfa;
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:linear-gradient(180deg,#070a10,#0b0f17);
  color:var(--text);
}
a{ color:inherit; text-decoration:none; }

.container{ max-width:1100px; margin:0 auto; padding:20px; }

.nav{
  position:sticky; top:0; z-index:9;
  backdrop-filter: blur(10px);
  background:rgba(7,10,16,.70);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:14px 20px;
  max-width:1100px; margin:0 auto;
}
.brand{ font-weight:800; letter-spacing:.5px; }
.brand span{ color:var(--accent); }
.menu{ display:flex; flex-wrap:wrap; gap:10px; }

.pill{
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  color:var(--muted);
  background:transparent;
}
.pill:hover{ border-color:rgba(110,231,255,.35); color:var(--text); }

.hero{
  padding:38px 20px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  background:
    radial-gradient(1200px 400px at 20% 0%, rgba(110,231,255,.16), transparent 60%),
    rgba(16,24,38,.65);
}
.h1{ font-size:34px; margin:0 0 10px; }
.sub{ color:var(--muted); margin:0; max-width:70ch; line-height:1.5; }

.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
  margin-top:16px;
}
.card{
  grid-column:span 6;
  background:rgba(16,24,38,.65);
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  overflow:hidden;
}
.card .pad{ padding:14px; }
.card h3{ margin:0 0 6px; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(167,139,250,.14);
  border:1px solid rgba(167,139,250,.25);
  color:#e9ddff;
  font-size:12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(110,231,255,.25);
  background:rgba(110,231,255,.12);
}
.btn:hover{ background:rgba(110,231,255,.18); }

.footer{
  margin-top:26px;
  padding:18px 0;
  color:var(--muted);
  border-top:1px solid rgba(255,255,255,.06);
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
}
.kicker{ color:var(--muted); font-size:13px; }

iframe{
  width:100%;
  border:0;
  display:block;
  background:#000;
}

/* tables / inputs */
.table{ width:100%; border-collapse:collapse; }
.table th,.table td{
  padding:10px;
  border-bottom:1px solid rgba(255,255,255,.06);
  text-align:left;
  color:var(--muted);
}
.table th{ color:var(--text); font-weight:700; }

.input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(7,10,16,.55);
  color:var(--text);
}
.row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }

/* ✅ Yayıncı kart grid (yan yana) */
.stream-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
  margin-top:16px;
}
.stream-card{
  grid-column:span 6;
  background:rgba(16,24,38,.65);
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  overflow:hidden;
  cursor:pointer;
  transition:transform .12s ease, border-color .12s ease;
}
.stream-card:hover{
  transform:translateY(-2px);
  border-color:rgba(110,231,255,.25);
}
.stream-thumb{
  width:100%;
  height:320px;
  background:#000;
}
.stream-card .pad{ padding:12px; }

/* ✅ Yayın detay sayfası (video + chat yan yana) */
.watch-layout{
  display:grid;
  grid-template-columns: 8fr 4fr;
  gap:14px;
  margin-top:16px;
}
.player-box, .chat-box{
  background:rgba(16,24,38,.65);
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  overflow:hidden;
}
.player-box iframe{ height:520px; }
.chat-box iframe{ height:520px; }

/* responsive */
@media(max-width:1000px){
  .card{ grid-column:span 12; }
  .stream-card{ grid-column:span 12; }
  .watch-layout{ grid-template-columns:1fr; }
  .stream-thumb{ height:260px; }
  .player-box iframe,.chat-box iframe{ height:420px; }
}
@media(max-width:700px){
  .row{ grid-template-columns:1fr; }
}

/* ===== HOME UPGRADE ===== */
.hero-pro{
  position:relative;
  overflow:hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.grad{
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-actions{
  margin-top:16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* glow orbs */
.hero-orbs{
  position:absolute;
  inset:-40px;
  pointer-events:none;
  z-index:0;
}
.hero-pro > *:not(.hero-orbs){ position:relative; z-index:1; }

.orb{
  position:absolute;
  width:520px; height:520px;
  border-radius:50%;
  filter: blur(18px);
  opacity:.26;
  animation: floaty 8s ease-in-out infinite;
}
.o1{ left:-120px; top:-140px; background: radial-gradient(circle at 30% 30%, rgba(110,231,255,.55), transparent 60%); }
.o2{ right:-180px; top:-60px; background: radial-gradient(circle at 30% 30%, rgba(167,139,250,.55), transparent 60%); animation-duration: 10s; }
.o3{ left:25%; bottom:-220px; background: radial-gradient(circle at 30% 30%, rgba(110,231,255,.35), transparent 60%); animation-duration: 12s; }

.gridline{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity:.12;
  mask-image: radial-gradient(circle at 40% 0%, rgba(0,0,0,1), rgba(0,0,0,0) 70%);
}

@keyframes floaty{
  0%,100%{ transform: translateY(0) translateX(0) scale(1); }
  50%{ transform: translateY(18px) translateX(10px) scale(1.03); }
}

/* quick stats */
.quick-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:12px;
}
.quick-card{
  grid-column:span 3;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(7,10,16,.35);
  border-radius:16px;
  padding:14px;
}
.quick-top{ color:var(--muted); font-size:12px; letter-spacing:.3px; }
.quick-num{ font-size:22px; font-weight:900; margin-top:6px; }
.quick-sub{ color:var(--muted); margin-top:6px; font-size:12px; }

/* sections */
.section{ margin-top:18px; }
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin:14px 0 10px;
}
.h2{ margin:0; font-size:18px; letter-spacing:.2px; }

/* featured cards */
.feature-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
}
.feature-card{
  grid-column:span 6;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(16,24,38,.55);
  border-radius:16px;
  padding:14px;
  transition: transform .12s ease, border-color .12s ease;
  position:relative;
  overflow:hidden;
}
.feature-card:before{
  content:"";
  position:absolute; inset:-80px;
  background: radial-gradient(500px 220px at 20% 0%, rgba(110,231,255,.18), transparent 60%);
  opacity:.7;
}
.feature-card > *{ position:relative; z-index:1; }
.feature-card:hover{ transform: translateY(-2px); border-color: rgba(110,231,255,.25); }

.feature-top{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:12px;
}
.live-dot{
  width:10px;height:10px;border-radius:50%;
  background:#ff3b30;
  box-shadow: 0 0 0 rgba(255,59,48,0);
  animation: pulse 1.2s infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(255,59,48,.35); }
  100%{ box-shadow:0 0 0 14px rgba(255,59,48,0); }
}
.feature-title{ margin-top:10px; font-size:16px; font-weight:900; }
.feature-cta{
  margin-top:10px;
  display:inline-flex;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(110,231,255,.22);
  background: rgba(110,231,255,.10);
  color:var(--text);
  font-size:12px;
}

/* mini shortcuts */
.mini-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
}
.mini-card{
  grid-column:span 3;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(16,24,38,.45);
  border-radius:16px;
  padding:14px;
  transition: transform .12s ease, border-color .12s ease;
}
.mini-card:hover{ transform: translateY(-2px); border-color: rgba(167,139,250,.25); }
.mini-ico{ font-size:18px; }
.mini-title{ margin-top:10px; font-weight:900; }
.mini-sub{ margin-top:6px; color:var(--muted); font-size:12px; }

/* responsive */
@media(max-width:1000px){
  .quick-card{ grid-column:span 6; }
  .feature-card{ grid-column:span 12; }
  .mini-card{ grid-column:span 6; }
}
@media(max-width:700px){
  .quick-card,.mini-card{ grid-column:span 12; }
}
/* ✅ Ana sayfa "Öne Çıkan" kartlarında iframe'i ortada küçük göster */
.feat-slide .stream-thumb{
  position: relative;
  height: 260px;           /* kart içi siyah alan yüksekliği */
  background:#000;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* iframe küçülür + ortalanır */
.feat-slide .stream-thumb iframe{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);

  width: min(520px, 76%);  /* masaüstünde max 520px, küçük kalır */
  height: 180px;           /* küçük görünüm */
  border-radius: 14px;
  overflow: hidden;

  pointer-events: none;    /* ✅ etrafı + üstü tıklanabilir kalsın */
}

/* mobilde biraz daha büyük gösterebiliriz */
@media(max-width:700px){
  .feat-slide .stream-thumb{ height: 240px; }
  .feat-slide .stream-thumb iframe{
    width: 88%;
    height: 190px;
  }
}
/* ===== ÖNE ÇIKANLAR: YATAY SLIDER (ZORLA) ===== */
.feat-slider{
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:14px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  padding-bottom:10px !important;
  scroll-snap-type:x mandatory !important;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
}

.feat-slide{
  flex:0 0 auto !important;      /* ✅ yan yana diz */
  width:520px !important;        /* kart genişliği */
  scroll-snap-align:start;
}

@media(max-width:1000px){
  .feat-slide{ width:88vw !important; }
}
/* Öne Çıkanlar slider scrollbar gizle (premium) */
.feat-slider{
  overflow: hidden !important;     /* görünür scrollbarı bitirir */
}

.feat-slider::-webkit-scrollbar{
  width: 0 !important;
  height: 0 !important;
}
.feat-slider{
  scrollbar-width: none !important; /* Firefox */
}
