/* icerik.css — paylaşılan içerik sayfası tasarımı */
:root {
  --accent: #f43f5e;
  --accent-2: #b91c1c;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #f5f5f5;
  --muted: #a1a1aa;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100vh; background: #000; color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; }
body { background: transparent !important; }

#bg-video { position: fixed; inset: 0; width: 100vw; height: 100vh;
  object-fit: cover; z-index: 0; pointer-events: none; }
#bg-overlay { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at top, rgba(0,0,0,.5), rgba(0,0,0,.85)),
              linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.75)); }

::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--accent), var(--accent-2)); border-radius: 10px; }

.page-wrap { position: relative; z-index: 2; padding-top: 76px; }

/* === Birleşik üst bar (anasayfa React bar'ıyla aynı tasarım) === */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  background: rgba(8,8,10,.96);
  /* backdrop-filter kaldırıldı — scroll performansı için (sticky bar'da blur pahalı) */
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.top-bar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px;
}
.tb-brand {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
  position: relative;
}
.tb-brand img.tb-logo {
  height: 50px; width: auto; display: block;
  transition: transform .2s ease;
}
.tb-brand:hover img.tb-logo { transform: scale(1.04); }
/* Eski span-tabanlı wordmark fallback (img yoksa) */
.tb-brand .a, .tb-brand .b, .tb-brand .c {
  font-size: 22px; font-weight: 900; font-style: italic;
  letter-spacing: -.02em; white-space: nowrap;
}
.tb-brand .a { color: #fff; }
.tb-brand .b { color: var(--accent); }
.tb-brand .c { color: rgba(255,255,255,.4); }
.tb-brand .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  margin-left: 4px; animation: tb-pulse 2s ease-in-out infinite;
}
@keyframes tb-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.7); }
}

.tb-nav {
  display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center;
  overflow-x: auto; scrollbar-width: none;
}
.tb-nav::-webkit-scrollbar { display: none; }
.tb-nav a {
  position: relative; padding: 8px 12px; color: rgba(255,255,255,.78);
  text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap;
  transition: color .15s;
}
.tb-nav a::after {
  content: ''; position: absolute; bottom: 4px; left: 12px; right: 12px;
  height: 1px; background: var(--accent); transform: scaleX(0);
  transform-origin: left; transition: transform .25s ease;
}
.tb-nav a:hover { color: #fff; }
.tb-nav a:hover::after, .tb-nav a.active::after { transform: scaleX(1); }
.tb-nav a.active { color: var(--accent); }

.tb-cta {
  background: #fff; color: #000; text-decoration: none;
  padding: 10px 22px; font-weight: 900; font-size: 13px; letter-spacing: .04em;
  transform: skewX(-12deg); display: inline-block;
  transition: all .25s; flex-shrink: 0;
}
.tb-cta span { display: inline-block; transform: skewX(12deg); }
.tb-cta:hover {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 20px rgba(220,38,38,.6);
}

@media (max-width: 900px) {
  .top-bar-inner { padding: 10px 14px; gap: 8px; }
  .tb-brand { font-size: 17px; }
  .tb-brand img.tb-logo { height: 40px; }
  .tb-nav a { padding: 6px 8px; font-size: 12px; }
  .tb-cta { padding: 8px 14px; font-size: 11px; }
}
@media (max-width: 560px) {
  .page-wrap { padding-top: 110px; }
  .top-bar-inner { flex-wrap: wrap; }
  .tb-nav { order: 3; width: 100%; justify-content: flex-start; }
}

/* Hero */
.hero { max-width: 980px; margin: 50px auto 30px; padding: 0 24px; text-align: center; }
.hero .badge { display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(244,63,94,.12); color: var(--accent); font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(244,63,94,.3); margin-bottom: 16px; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); margin: 0 0 12px;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.hero p { color: var(--muted); margin: 0 auto; max-width: 620px;
  font-size: 16px; line-height: 1.5; }

/* Container */
.container { max-width: 1200px; margin: 0 auto 80px; padding: 0 24px; }

/* Empty state */
.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state h3 { color: var(--text); margin: 0 0 8px; font-size: 20px; }
.empty-state p { margin: 0; font-size: 14px; }

/* Card grid (episodes, gallery, sponsors, stories, press) */
.grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card-tile {
  background: rgba(20,20,24,.72); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform .18s, border-color .18s, box-shadow .18s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.card-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(244,63,94,.4);
  box-shadow: 0 16px 40px -12px rgba(244,63,94,.25);
}
.card-tile .cover {
  aspect-ratio: 16/10; overflow: hidden;
  background: linear-gradient(135deg, rgba(244,63,94,.15), rgba(185,28,28,.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: rgba(255,255,255,.3);
}
.card-tile .cover img { width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease; }
.card-tile:hover .cover img { transform: scale(1.04); }
.card-tile .body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.card-tile h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.3; }
.card-tile .meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.card-tile .desc { color: var(--muted); font-size: 13px; line-height: 1.5; flex: 1; }
.card-tile .ep-no { font-size: 11px; letter-spacing: .12em; color: var(--accent);
  font-weight: 700; text-transform: uppercase; }

/* Sponsor — özel tasarım */
.sponsor-tile { aspect-ratio: 3/2; padding: 24px; align-items: center; justify-content: center;
  display: flex; }
.sponsor-tile img { max-width: 100%; max-height: 80%; object-fit: contain;
  filter: grayscale(0.3) opacity(0.85); transition: filter .2s; }
.sponsor-tile:hover img { filter: none; }
.sponsor-tile .fallback { font-weight: 700; font-size: 18px; color: rgba(255,255,255,.6); }
.sponsor-section h2 { margin: 30px 0 16px; font-size: 14px; color: var(--muted);
  letter-spacing: .14em; text-transform: uppercase; text-align: center; }

/* Gallery — masonry-ish */
.gallery-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery-tile { aspect-ratio: 1; overflow: hidden; border-radius: 10px;
  background: rgba(255,255,255,.05); position: relative; cursor: pointer;
  transition: transform .15s; }
.gallery-tile:hover { transform: scale(1.02); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tile .caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  font-size: 12px; color: #fff; opacity: 0; transition: opacity .2s;
}
.gallery-tile:hover .caption { opacity: 1; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 800px; margin: 0 auto; }
.faq-item {
  background: rgba(20,20,24,.72); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; backdrop-filter: blur(10px);
  transition: border-color .15s;
}
.faq-item.open { border-color: rgba(244,63,94,.4); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; cursor: pointer; user-select: none;
  font-weight: 600; font-size: 15px;
}
.faq-q .ic { color: var(--accent); font-size: 20px; transition: transform .2s; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .15s;
  padding: 0 20px; color: var(--muted); line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 20px 18px; }

/* Lightbox */
#lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.94); backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
}
#lightbox.show { display: flex; }
#lightbox img { max-width: 95vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
#lightbox .close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.2); color: #fff;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 18px;
}

/* Footer */
.foot { text-align: center; padding: 30px 20px 80px; color: rgba(255,255,255,.4); font-size: 12px; }
.foot a { color: var(--accent); text-decoration: none; }
.foot .valentura { display: inline-block; margin-top: 10px; padding: 6px 12px;
  border-radius: 999px; background: rgba(0,0,0,.4); border: 1px solid var(--line);
  font-size: 11px; color: var(--muted); }
.foot .valentura:hover { color: #fff; }
.foot .valentura b { color: var(--accent); font-weight: 700; }

@media (max-width: 640px) {
  .nav { padding: 14px 16px; flex-wrap: wrap; gap: 10px; }
  .nav .links { order: 3; flex: 1 1 100%; justify-content: center; }
  .container { padding: 0 16px; }
}
