:root {
  --bg: #f7f4ef;
  --fg: #1a2332;
  --muted: #5c6675;
  --card: #ffffff;
  --border: #e4ddd2;
  --brand: #0b3d5c;
  --brand-soft: #1a5a7a;
  --accent: #c4a35a;
  --accent-soft: #e8d9b0;
  --danger: #9b2c2c;
  --ok: #276749;
  --red: #e10600;
  --black: #0b0b0b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
}
h1,h2,h3,.display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1152px, calc(100% - 2rem)); margin-inline: auto; }
.muted { color: var(--muted); }

/* Header — local Next ile aynı koyu bar */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,11,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .75rem 0; flex-wrap: wrap;
}
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { height: 44px; width: auto; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 1.15rem; flex-wrap: wrap; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 600; text-decoration: none;
}
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border-radius: .375rem; padding: .7rem 1.15rem; font-weight: 600; border: 0;
  cursor: pointer; font-size: .925rem; text-decoration: none !important;
  transition: filter .15s ease, background .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-soft); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { filter: brightness(1.08); }
.btn-outline {
  background: transparent; border: 1px solid var(--border); color: var(--fg);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: rgba(255,255,255,.8); }
.btn-ghost:hover { color: #fff; }
.btn-outline-light {
  background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); }

/* Full-bleed hero */
.hero-live {
  position: relative;
  isolation: isolate;
  min-height: 78vh;
  overflow: hidden;
  background: var(--black);
  color: #fff;
}
.hero-live__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-live__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.25) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,.35) 100%);
}
.hero-live__inner {
  position: relative;
  width: min(1152px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem 0 4rem;
}
.hero-live__inner .hero-logo { height: 56px; width: auto; object-fit: contain; }
.hero-live__inner h1 {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.15;
}
.hero-live__inner p {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }

.section { padding: 4rem 0; }
.section.soft { background: rgba(255,255,255,.6); }
.section h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--brand);
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap;
}

.grid-3 {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links.desktop { display: none; }
}

.video-card {
  overflow: hidden; border-radius: .5rem;
  border: 1px solid var(--border); background: #fff;
  display: flex; flex-direction: column;
}
.video-card__media {
  position: relative; aspect-ratio: 16/9; overflow: hidden; background: rgba(11,61,92,.1);
}
.video-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.video-card:hover .video-card__media img { transform: scale(1.03); }
.video-card__dur {
  position: absolute; right: .5rem; bottom: .5rem;
  background: rgba(0,0,0,.75); color: #fff;
  font-size: .75rem; padding: .15rem .5rem; border-radius: .25rem;
}
.video-card__body { padding: 1rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.video-card__meta { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .75rem; color: var(--muted); }
.video-card__meta .chip {
  background: var(--accent-soft); color: var(--brand);
  border-radius: .25rem; padding: .1rem .45rem;
}
.video-card__body h3 {
  margin: 0; font-size: 1.25rem; line-height: 1.3; color: var(--brand);
}
.video-card__body h3 a { color: inherit; text-decoration: none; }
.video-card__body h3 a:hover { text-decoration: underline; }
.video-card__desc {
  margin: 0; font-size: .9rem; color: rgba(26,35,50,.8);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-card__actions { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: .25rem; }

.cta-box {
  margin: 0 auto; width: min(1152px, calc(100% - 2rem));
  background: var(--black); color: #fff;
  border-radius: 1rem; padding: 3rem 2rem; overflow: hidden;
}
.cta-box h2 { margin: 0; color: #fff; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.cta-box p { margin: .75rem 0 0; max-width: 36rem; color: rgba(255,255,255,.75); }

.site-footer {
  margin-top: 4rem; background: var(--black); color: #fff;
  border-top: 1px solid rgba(255,255,255,.1);
}
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 3rem 0;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0; text-align: center;
  font-size: .75rem; color: rgba(255,255,255,.5);
}

.auth-wrap { max-width: 480px; margin: 2.5rem auto; padding: 0 1rem 3rem; }
.auth-panel {
  background: #fff; border: 1px solid var(--border); border-radius: .5rem; padding: 1.5rem;
}
.label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.input, select, textarea {
  width: 100%; border: 1px solid var(--border); border-radius: .375rem;
  padding: .7rem .9rem; font: inherit; background: #fff;
}
.input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11,61,92,.12);
}
.field { margin-bottom: 1rem; }
.alert { padding: .85rem 1rem; border-radius: .375rem; margin-bottom: 1rem; font-size: .95rem; }
.alert-error { background: #fde8e8; color: var(--danger); }
.alert-ok { background: #e6f4ea; color: var(--ok); }
.alert-info { background: #e8f1f7; color: var(--brand); }
.video-wrap {
  position: relative; width: 100%; padding-bottom: 56.25%;
  background: #000; border-radius: .5rem; overflow: hidden;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.page-section { padding: 3rem 0; }
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-side { background: #1d2327; color: #fff; padding: 1.25rem 1rem; }
.admin-side a { display: block; color: #dcdcde; padding: .45rem .6rem; border-radius: .3rem; text-decoration: none; margin-bottom: .2rem; }
.admin-side a:hover, .admin-side a.active { background: #2c3338; color: #fff; }
.admin-main { padding: 1.5rem; background: #f0f0f1; }
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { border-bottom: 1px solid #dcdcde; padding: .7rem .8rem; text-align: left; font-size: .92rem; }
.table th { background: #f6f7f7; }
@media (max-width: 800px) { .admin-shell { grid-template-columns: 1fr; } }

/* Program poster — local Next ile aynı */
.program-poster {
  background: #0b0b0b; color: #fff; min-height: 78vh;
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1rem;
}
.program-poster__inner {
  width: min(56rem, 100%);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.program-poster__logo { height: 56px; width: auto; object-fit: contain; }
.program-poster__thumb {
  margin-top: 2.5rem; width: 100%; max-width: 36rem;
  border-radius: .2rem; box-shadow: 0 25px 50px rgba(0,0,0,.45);
  display: block;
}
.program-poster__title { margin: 2rem 0 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.program-poster__sub { margin: .75rem 0 0; color: rgba(255,255,255,.7); max-width: 28rem; }
.program-poster__actions {
  margin-top: 2rem; width: 100%; max-width: 28rem;
  display: flex; flex-direction: column; gap: .75rem;
}
@media (min-width: 640px) {
  .program-poster__actions { flex-direction: row; }
}

/* Auth split */
.auth-split {
  display: grid; min-height: calc(100vh - 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .auth-split { grid-template-columns: 1fr 1fr; }
}
.auth-brand {
  display: none; color: #fff; padding: 2.5rem;
  flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(196,163,90,.18), transparent 50%),
    linear-gradient(160deg, #071a2a, #0b3d5c);
}
@media (min-width: 1024px) { .auth-brand { display: flex; } }
.auth-brand h1 {
  margin: 2.5rem 0 0; max-width: 26rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.2;
}
.auth-brand p { margin: 1rem 0 0; max-width: 26rem; color: rgba(255,255,255,.75); }
.auth-brand ul { list-style: none; padding: 0; margin: 0; }
.auth-brand li {
  display: flex; align-items: center; gap: .6rem;
  margin-top: .75rem; font-size: .92rem; color: rgba(255,255,255,.85);
}
.auth-brand li::before {
  content: ""; width: .4rem; height: .4rem; border-radius: 999px; background: var(--accent);
}
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1rem; }
.auth-form-inner { width: min(32rem, 100%); }
.auth-panel-card {
  margin-top: 1.5rem; background: #fff; border: 1px solid var(--border);
  border-radius: .5rem; padding: 1.5rem; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.reg-grid-2 {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .reg-grid-2 { grid-template-columns: 1fr 1fr; }
}
.consent-row {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .9rem; margin: .85rem 0; color: var(--fg); cursor: pointer;
}
.consent-row input {
  margin-top: .2rem; width: 1.05rem; height: 1.05rem; flex-shrink: 0;
  accent-color: var(--brand);
}
.consent-row a {
  color: var(--brand); text-decoration: underline; font-weight: 600;
}

/* Video player locked */
.player-shell { margin-bottom: 2rem; }
.player-locked {
  position: relative; aspect-ratio: 16/9; border-radius: .5rem; overflow: hidden; background: #000;
}
.player-locked img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.45); }
.player-locked__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem; text-align: center; color: #fff;
}
.detail-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr 320px; }
}
