/* ── Giriş / kayıt ── */
.auth-page { min-height: calc(100vh - 120px); display: grid; place-items: center; padding: 20px 0; }
.auth-card {
  width: min(440px, 100%);
  padding: 28px 24px 24px;
  border-radius: 28px;
  background: linear-gradient(170deg, rgba(91, 33, 182, 0.35), rgba(26, 11, 46, 0.6) 60%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card), 0 0 80px rgba(139, 92, 246, 0.25);
  position: relative; overflow: hidden;
}
.auth-card::before {
  content: ''; position: absolute; top: -80px; right: -80px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.4), transparent 70%); pointer-events: none;
}
.auth-logo { font-family: var(--font-display); font-size: 42px; text-align: center; color: #fff; line-height: 1; }
.auth-logo span { color: var(--accent-2); }
.auth-sub { text-align: center; color: var(--muted); font-size: 14px; margin: 4px 0 20px; }
.auth-card form { display: grid; gap: 12px; margin-top: 16px; }

/* ── Gate ── */
.gate-card { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }
.gate-card .ch-icon { width: 44px; height: 44px; border-radius: 50%; background: #2aabee; display: grid; place-items: center; color: #fff; flex: 0 0 44px; }
.gate-card.ok .ch-icon { background: var(--yes); }

/* ── Profil / cüzdan ── */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat {
  padding: 16px; border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(139, 92, 246, 0.3), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
}
.stat .lbl { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.stat .val { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 28px; font-weight: 700; color: #fff; }
.stat.gold { background: linear-gradient(150deg, rgba(251, 191, 36, 0.3), rgba(255, 255, 255, 0.04)); }
.profile-head { display: flex; align-items: center; gap: 14px; margin: 8px 0 18px; }
.profile-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-deep); display: grid; place-items: center; font-family: var(--font-display); font-size: 28px; overflow: hidden; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.delta.plus { color: #86efac; }
.delta.minus { color: #fca5a5; }

/* ── Dizi & Film ── */
.vod-hero {
  position: relative; min-height: 300px; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; padding: 24px;
  background: #000 center / cover no-repeat;
  box-shadow: var(--shadow-card);
}
.vod-hero-bg { position: absolute; inset: 0; background: center / cover no-repeat; }
/* Gerçek afiş yoksa YouTube kapağı bulanık ve koyu gösterilir ("TRAILER" yazıları okunmaz) */
.vod-hero.noart .vod-hero-bg { filter: blur(18px) saturate(1.4) brightness(0.55); transform: scale(1.15); }
.vod-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(26, 11, 46, 0.95) 100%); }
.vod-hero-body { position: relative; z-index: 2; flex: 1; min-width: 0; }
.vod-hero-poster {
  position: absolute; right: 24px; top: 24px; bottom: 24px; z-index: 2;
  width: 150px; border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transform: rotate(3deg);
}
.vod-hero-poster img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 599px) { .vod-hero-poster { width: 96px; top: 16px; right: 16px; bottom: auto; aspect-ratio: 2 / 3; } .vod-hero-body { padding-right: 90px; } }
@media (min-width: 900px) { .vod-hero-poster { width: 240px; right: 36px; top: 36px; bottom: 36px; } }
.vod-hero .display { font-size: clamp(34px, 6vw, 64px); color: #fff; }
.vod-hero .meta { color: var(--muted); font-size: 13px; margin: 4px 0 10px; }
@media (min-width: 900px) { .vod-hero { min-height: 420px; padding: 36px; } }
.shelf { margin-top: 22px; }
.shelf-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.shelf-head h3 { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; }
.shelf-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.title-card {
  flex: 0 0 140px; scroll-snap-align: start;
  text-align: left; color: var(--text);
  transition: transform 0.2s var(--ease);
}
.title-card:hover { transform: translateY(-4px); }
.title-card .poster { aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-card); position: relative; }
.title-card .poster img { width: 100%; height: 100%; object-fit: cover; }
/* Gerçek afiş yoksa: kapak görseli (bulanık, koyu) + büyük başlık */
.poster.textposter {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 12px;
  background-size: cover; background-position: center;
  isolation: isolate;
}
.poster.textposter::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: inherit; background-size: cover; background-position: center;
  filter: blur(6px) saturate(1.3) brightness(0.55);
  transform: scale(1.15);
}
.poster.textposter::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 7, 38, 0.05) 30%, rgba(20, 7, 38, 0.85));
}
.poster.textposter .tp-type { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent-2); }
.poster.textposter .tp-title {
  font-family: var(--font-display); font-size: 22px; line-height: 1; text-transform: uppercase;
  color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.title-card .rating { position: absolute; top: 8px; left: 8px; }
.title-card .name { font-weight: 600; font-size: 13px; margin-top: 8px; line-height: 1.25; }
.title-card .sub { font-size: 12px; color: var(--muted); }
@media (min-width: 900px) { .title-card { flex-basis: 170px; } }
.vod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.vod-grid .title-card { flex: none; }
.trailer { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-card); }
.trailer iframe { width: 100%; height: 100%; border: 0; display: block; }
.vod-detail-head { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; margin: 16px 0; }
.vod-detail-poster .poster { aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; position: relative; }
.vod-detail-poster .poster img { width: 100%; height: 100%; object-fit: cover; }
.vod-detail-poster .tp-title { font-size: 16px; }

/* ── Mağaza ── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.product-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.product-card .pimg { aspect-ratio: 1; background: linear-gradient(150deg, rgba(251, 191, 36, 0.25), rgba(255, 255, 255, 0.04)); display: grid; place-items: center; }
.product-card .pimg img { width: 100%; height: 100%; object-fit: cover; }
.product-card .pimg svg { width: 48px; height: 48px; color: var(--gold); }
.product-card .pbody { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .pname { font-weight: 700; font-size: 14px; }
.product-card .pdesc { font-size: 12px; color: var(--muted); flex: 1; }
.product-card .pcost { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 700; color: var(--gold); }

/* ── Davet / siteler ── */
.invite-link { display: flex; gap: 8px; }
.invite-link .input { font-family: var(--font-mono); font-size: 13px; }
.lb-row { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lb-row:last-child { border-bottom: 0; }
.lb-row .rank { font-family: var(--font-display); font-size: 20px; color: var(--accent-2); }
.site-card { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius-md); background: linear-gradient(120deg, rgba(34, 197, 94, 0.15), rgba(255, 255, 255, 0.04)); border: 1px solid var(--line); }
.site-card .slogo { width: 64px; height: 64px; border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.site-card .slogo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.site-card .sname { font-weight: 800; font-size: 16px; }
.site-card .sbonus { color: #bbf7d0; font-size: 13px; font-weight: 600; }
.site-card .slic { font-size: 11px; color: var(--muted); }
.site-card.adult { background: linear-gradient(120deg, rgba(200, 22, 61, 0.18), rgba(255, 255, 255, 0.04)); }

/* ── 18+ video kataloğu ── */
.related-title { margin: 22px 0 12px; font-size: 18px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
@media (min-width: 900px) { .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } }
.video-card { display: block; color: inherit; }
.video-card .vthumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: #1c0a2e center / cover no-repeat; box-shadow: var(--shadow-card);
  display: grid; place-items: center;
}
.video-card .vplay {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.55); color: #fff; backdrop-filter: blur(6px);
  transition: transform 0.25s var(--ease), background 0.2s;
}
.video-card:hover .vplay { transform: scale(1.1); background: var(--no); }
.video-card .vdur { position: absolute; right: 8px; bottom: 8px; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: rgba(0, 0, 0, 0.7); color: #fff; font-variant-numeric: tabular-nums; }
.video-card .vfeat { position: absolute; left: 8px; top: 8px; }
.video-card .vtitle { font-weight: 600; font-size: 14px; margin-top: 8px; }
.video-card .vmeta { font-size: 12px; color: var(--muted); }
.player-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.site-card.adult .sbonus { color: #fecdd3; }
.stars { color: var(--gold); font-size: 12px; letter-spacing: 1px; }
