/* ============================================
   Izmir Kiz Lisesi Podcast
   Aesthetic: Editorial Magazine / Frosted Glass
   Ported from original single-page design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

:root {
  --burgundy: #7B2D3B;
  --burgundy-d: #5C1F2B;
  --burgundy-l: #9E4A5A;
  --cream: #FFF8F0;
  --cream-d: #F5EDDF;
  --cream-dd: #E8DED0;
  --gold: #D4A853;
  --gold-l: #E4C577;
  --gold-d: #B8903E;
  --sage: #7A9E7E;
  --sage-l: #9BB89E;
  --sage-d: #5D7E61;
  --ink: #2C1810;
  --ink-l: #4A3228;
  --slate: #6B5E54;
  --slate-l: #8E7F73;
  --white: #FFFFFF;
  --danger: #C0392B;
  --danger-l: #E74C3C;
  --success: #27AE60;
  --info: #5C7CAF;

  --display: 'Playfair Display', 'Georgia', serif;
  --body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --r: 8px;
  --r-lg: 14px;
  --r-xl: 20px;
  --transition: 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Paper grain texture — the signature look */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: 9999; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(28px, 4vw, 42px); }
h2 { font-size: clamp(24px, 3.5vw, 36px); }
h3 { font-size: clamp(17px, 2.5vw, 22px); }

::selection { background: var(--burgundy); color: var(--cream); }

/* ============================================
   FROSTED GLASS TOPBAR
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,248,240,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(123,45,59,0.1);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled { box-shadow: 0 2px 20px rgba(44,24,16,0.08); }

.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}

.navbar-brand {
  font-family: var(--display); font-size: 15px; font-weight: 700;
  color: var(--burgundy); letter-spacing: 0.02em; text-decoration: none;
  transition: color var(--transition);
}
.navbar-brand:hover { color: var(--ink); }

.navbar-brand .brand-icon { display: none; }

.navbar-nav {
  display: flex; align-items: center; gap: 24px;
  list-style: none;
}

.navbar-nav a {
  font-family: var(--body); font-size: 13px; font-weight: 600;
  color: var(--slate); text-decoration: none;
  letter-spacing: 0.03em; text-transform: uppercase;
  transition: color 0.2s;
}
.navbar-nav a:hover { color: var(--burgundy); }
.navbar-nav a.active { color: var(--burgundy); }

.navbar-right { display: flex; align-items: center; gap: 12px; }

/* Language switcher — pill style like original */
.lang-toggle {
  font-family: var(--body); font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; padding: 5px 14px;
  border: none; border-radius: 100px; cursor: pointer;
  background: var(--burgundy); color: var(--cream);
  box-shadow: 0 1px 4px rgba(123,45,59,0.2);
  transition: all 0.25s ease;
}
.lang-toggle:hover { background: var(--burgundy-d); }

.navbar-toggle {
  display: none;
  background: none; border: none;
  color: var(--burgundy); font-size: 1.5rem;
  cursor: pointer; padding: 0.25rem;
}

/* Badge for "Deutschprojekt" */
.navbar-badge {
  font-family: var(--body); font-size: 10px; font-weight: 700;
  color: var(--cream); background: var(--burgundy);
  padding: 4px 10px; border-radius: 100px;
  letter-spacing: 0.08em; text-transform: uppercase;
}

@media (max-width: 768px) {
  .navbar-toggle { display: block; }
  .navbar-nav {
    display: none;
    position: absolute; top: 56px; left: 0; right: 0;
    background: rgba(255,248,240,0.96);
    backdrop-filter: blur(14px);
    flex-direction: column; padding: 16px 24px; gap: 8px;
    border-bottom: 1px solid rgba(123,45,59,0.1);
    box-shadow: 0 8px 32px rgba(44,24,16,0.08);
  }
  .navbar-nav.open { display: flex; }
  .navbar-nav a { padding: 8px 0; font-size: 14px; }
}

/* ============================================
   HERO — Full-height with school photo
   ============================================ */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 80px 24px;
}

.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://www.pigenclikdernegi.org/wp-content/uploads/2023/10/Sosyal-Medya-Fotografi-5-1024x582.jpeg');
  background-size: cover; background-position: center 30%;
  filter: saturate(0.6) contrast(1.1);
}

.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(123,45,59,0.75) 0%, rgba(92,31,43,0.82) 40%, rgba(44,24,16,0.92) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 740px;
}

.hero-est {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-l); margin-bottom: 28px;
  padding: 6px 18px; border: 1px solid rgba(212,168,83,0.3);
  border-radius: 100px;
  animation: fadeDown 0.8s ease 0.2s both;
}
.hero-est .dot { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }

.hero h1 {
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 800; line-height: 1.05;
  color: var(--cream); margin-bottom: 8px;
  letter-spacing: -0.02em;
  animation: fadeUp 0.8s ease 0.3s both;
}
.hero h1 em { font-style: italic; color: var(--gold-l); }

.hero-divider {
  width: 60px; height: 2px; background: var(--gold);
  margin: 24px auto; border-radius: 2px;
  animation: fadeUp 0.8s ease 0.5s both;
}

.hero .subtitle {
  font-family: var(--display); font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 400; font-style: italic;
  color: rgba(255,248,240,0.75); line-height: 1.5;
  margin-bottom: 36px;
  animation: fadeUp 0.8s ease 0.6s both;
}

.hero .lead { display: none; }

.hero-buttons {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.7s both;
}

/* Animated waveform */
.waveform {
  display: flex; align-items: center; justify-content: center;
  gap: 3px; height: 32px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease 0.8s both;
}
.waveform .bar {
  width: 3px; border-radius: 2px; background: var(--gold);
  opacity: 0.6; animation: waveBar 1.2s ease-in-out infinite;
}
.waveform .bar:nth-child(1)  { height: 8px;  animation-delay: 0s; }
.waveform .bar:nth-child(2)  { height: 16px; animation-delay: 0.1s; }
.waveform .bar:nth-child(3)  { height: 24px; animation-delay: 0.2s; }
.waveform .bar:nth-child(4)  { height: 12px; animation-delay: 0.15s; }
.waveform .bar:nth-child(5)  { height: 28px; animation-delay: 0.3s; }
.waveform .bar:nth-child(6)  { height: 18px; animation-delay: 0.05s; }
.waveform .bar:nth-child(7)  { height: 10px; animation-delay: 0.25s; }
.waveform .bar:nth-child(8)  { height: 22px; animation-delay: 0.35s; }
.waveform .bar:nth-child(9)  { height: 14px; animation-delay: 0.12s; }
.waveform .bar:nth-child(10) { height: 26px; animation-delay: 0.22s; }
.waveform .bar:nth-child(11) { height: 8px;  animation-delay: 0.18s; }
.waveform .bar:nth-child(12) { height: 20px; animation-delay: 0.08s; }
.waveform .bar:nth-child(13) { height: 12px; animation-delay: 0.28s; }

@keyframes waveBar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.3); } }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,248,240,0.4); font-family: var(--body);
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  animation: fadeUp 0.8s ease 1s both;
}
.hero-scroll svg { animation: scrollBounce 2s ease-in-out infinite; }
@keyframes scrollBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Hero for non-homepage */
.hero-mini {
  min-height: auto;
  padding: 100px 24px 48px;
}
.hero-mini .hero-bg { filter: saturate(0.4) contrast(1.05); }
.hero-mini .hero-bg::after {
  background: linear-gradient(180deg, rgba(92,31,43,0.88) 0%, rgba(44,24,16,0.94) 100%);
}
.hero-mini h1 { font-size: clamp(28px, 5vw, 48px); }
.hero-mini .hero-est,
.hero-mini .waveform,
.hero-mini .hero-scroll { display: none; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   SECTION LABELS (editorial style)
   ============================================ */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--burgundy); margin-bottom: 16px;
}
.section-label .line { width: 28px; height: 1.5px; background: var(--burgundy); border-radius: 1px; }

.section-title {
  font-family: var(--display); font-size: clamp(28px, 4vw, 42px);
  font-weight: 700; color: var(--ink); line-height: 1.15;
  margin-bottom: 12px; letter-spacing: -0.01em;
}

.section-subtitle {
  font-family: var(--display); font-size: 17px; font-style: italic;
  color: var(--slate); margin-bottom: 48px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: var(--r);
  font-family: var(--body); font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
}

.btn-primary {
  background: var(--gold); color: var(--ink);
  box-shadow: 0 2px 10px rgba(212,168,83,0.2);
}
.btn-primary:hover {
  background: var(--gold-l); color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212,168,83,0.3);
}

.btn-secondary {
  background: white; color: var(--burgundy);
  border: 1.5px solid rgba(123,45,59,0.2);
}
.btn-secondary:hover {
  background: var(--burgundy); color: var(--cream);
  border-color: var(--burgundy);
}

.btn-outline {
  background: transparent; color: var(--cream);
  border: 1.5px solid rgba(255,248,240,0.3);
}
.btn-outline:hover {
  background: rgba(255,248,240,0.08);
  border-color: rgba(255,248,240,0.6);
}

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: var(--danger-l); }

.btn-sm { padding: 6px 14px; font-size: 11px; }
.btn-lg { padding: 12px 30px; font-size: 14px; }

/* ============================================
   STATS GRID
   ============================================ */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-bottom: 48px;
}

.stat-card {
  background: var(--cream-d); border: 1px solid rgba(123,45,59,0.08);
  border-radius: var(--r-lg); padding: 28px 20px; text-align: center;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--burgundy); opacity: 0; transition: opacity 0.3s;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover { background: white; box-shadow: 0 4px 24px rgba(44,24,16,0.06); transform: translateY(-3px); }

.stat-card .stat-number {
  font-family: var(--display); font-size: 36px; font-weight: 800;
  color: var(--burgundy); line-height: 1; margin-bottom: 6px;
}
.stat-card .stat-label {
  font-family: var(--body); font-size: 13px; font-weight: 600;
  color: var(--slate); letter-spacing: 0.04em; text-transform: uppercase;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 20px 14px; }
  .stat-card .stat-number { font-size: 28px; }
}

/* ============================================
   CARDS — Episode cards
   ============================================ */
.card {
  background: white; border: 1px solid rgba(123,45,59,0.06);
  border-radius: var(--r-lg); overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  position: relative;
}
.card::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--burgundy); opacity: 0;
  transition: opacity 0.3s; border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(44,24,16,0.07), 0 2px 8px rgba(123,45,59,0.04);
  border-color: rgba(123,45,59,0.12);
}
.card:hover::after { opacity: 1; }

.card-body { padding: 24px 28px; }

/* Episode Card — Grid/Tile layout */
.episode-card {
  display: flex; flex-direction: column; height: 100%;
}

.episode-card .card-thumb {
  position: relative; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--burgundy-l), var(--burgundy-d));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.episode-card .card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.episode-card:hover .card-thumb img { transform: scale(1.04); }

.episode-card .card-thumb .play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to top, rgba(44,24,16,0.5), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.episode-card:hover .play-overlay { opacity: 1; }

.play-overlay .play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--burgundy); border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(123,45,59,0.3);
  transform: scale(0.9); transition: all var(--transition);
}
.episode-card:hover .play-btn { transform: scale(1); }
.play-btn:hover { background: var(--burgundy-d); }

.episode-card .thumb-placeholder {
  font-size: 2.5rem; color: rgba(255,255,255,0.15);
}

.episode-card .card-body {
  flex: 1; display: flex; flex-direction: column; padding: 20px 24px;
}

.episode-card .card-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--slate); margin-bottom: 8px;
  flex-wrap: wrap;
}

.episode-card .card-meta .category-badge {
  padding: 3px 10px; border-radius: 100px;
  font-size: 10px; font-weight: 700; color: white;
  letter-spacing: 0.06em; text-transform: uppercase;
}

.episode-card h3 {
  font-family: var(--display); font-size: 18px; font-weight: 700;
  margin-bottom: 6px; line-height: 1.3;
}
.episode-card h3 a { color: var(--ink); transition: color 0.2s; }
.episode-card h3 a:hover { color: var(--burgundy); }

.episode-card .card-desc {
  font-size: 14px; color: var(--slate); line-height: 1.55;
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.episode-card .card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; margin-top: auto;
  border-top: 1px solid var(--cream-dd);
}

.episode-card .speaker {
  font-family: var(--display); font-size: 14px; font-style: italic;
  color: var(--burgundy); font-weight: 600;
}

.episode-card .duration {
  font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--burgundy-l);
}

/* ---- Episode Grid ---- */
.episode-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

@media (max-width: 480px) {
  .episode-grid { grid-template-columns: 1fr; }
}

/* Stagger animation */
.episode-grid .card:nth-child(1) { animation: fadeUp 0.6s ease both; animation-delay: 0s; }
.episode-grid .card:nth-child(2) { animation: fadeUp 0.6s ease both; animation-delay: 0.08s; }
.episode-grid .card:nth-child(3) { animation: fadeUp 0.6s ease both; animation-delay: 0.16s; }
.episode-grid .card:nth-child(4) { animation: fadeUp 0.6s ease both; animation-delay: 0.24s; }
.episode-grid .card:nth-child(5) { animation: fadeUp 0.6s ease both; animation-delay: 0.32s; }
.episode-grid .card:nth-child(6) { animation: fadeUp 0.6s ease both; animation-delay: 0.4s; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 80px 0; position: relative; }

.section::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: min(90%, 600px);
  height: 1px; background: linear-gradient(90deg, transparent, var(--cream-dd), transparent);
}

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; flex-wrap: wrap; gap: 16px;
}

.section-header h2 { color: var(--ink); }

.section-episodes {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-d) 100%);
}

/* ---- Featured Episode ---- */
.featured-episode {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 0; background: white;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 4px 24px rgba(44,24,16,0.06);
  border: 1px solid rgba(123,45,59,0.06);
}

.featured-episode .featured-player {
  position: relative; min-height: 300px;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-d));
}
.featured-episode .featured-player iframe { width: 100%; height: 100%; border: none; }

.featured-episode .featured-info {
  padding: 36px 32px; display: flex; flex-direction: column; justify-content: center;
}
.featured-episode .featured-info h2 { margin-bottom: 8px; }

@media (max-width: 768px) {
  .featured-episode { grid-template-columns: 1fr; }
  .featured-episode .featured-player { min-height: 220px; }
}

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 32px; padding: 16px 20px;
  background: white; border-radius: var(--r-lg);
  border: 1px solid rgba(123,45,59,0.06);
  box-shadow: 0 2px 12px rgba(44,24,16,0.04);
}

.filter-bar input[type="text"],
.filter-bar select {
  padding: 8px 14px;
  border: 1.5px solid var(--cream-dd); border-radius: var(--r);
  font-family: var(--body); font-size: 14px;
  background: var(--cream); color: var(--ink);
  transition: all var(--transition);
}
.filter-bar input[type="text"] { flex: 1; min-width: 200px; }
.filter-bar input:focus, .filter-bar select:focus {
  outline: none; border-color: var(--burgundy-l);
  box-shadow: 0 0 0 3px rgba(123,45,59,0.06);
}

/* ============================================
   SINGLE EPISODE
   ============================================ */
.episode-detail { padding: 32px 0 48px; margin-top: 56px; }

.episode-player {
  aspect-ratio: 16/9; max-height: 500px;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 8px 32px rgba(44,24,16,0.1);
  margin-bottom: 32px; background: var(--ink);
}
.episode-player iframe { width: 100%; height: 100%; border: none; }

.episode-info {
  background: white; border-radius: var(--r-lg);
  padding: 32px; margin-bottom: 24px;
  border: 1px solid rgba(123,45,59,0.06);
  box-shadow: 0 2px 12px rgba(44,24,16,0.04);
}
.episode-info h1 { margin-bottom: 12px; color: var(--ink); }

.episode-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--cream-dd);
  font-size: 14px; color: var(--slate);
}
.episode-meta span { display: flex; align-items: center; gap: 6px; }

.episode-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

/* ============================================
   COMMENTS
   ============================================ */
.comments-section {
  background: white; border-radius: var(--r-lg);
  padding: 32px; border: 1px solid rgba(123,45,59,0.06);
  box-shadow: 0 2px 12px rgba(44,24,16,0.04);
}
.comments-section h3 { margin-bottom: 20px; color: var(--burgundy); }

.comment-form { display: flex; gap: 12px; margin-bottom: 28px; align-items: flex-start; }

.comment-form textarea {
  flex: 1; padding: 12px 16px;
  border: 1.5px solid var(--cream-dd); border-radius: var(--r);
  font-family: var(--body); font-size: 14px;
  resize: vertical; min-height: 80px;
  background: var(--cream); transition: all var(--transition); line-height: 1.6;
}
.comment-form textarea:focus {
  outline: none; border-color: var(--burgundy-l);
  box-shadow: 0 0 0 3px rgba(123,45,59,0.06);
}

.comment { padding: 14px 0; border-bottom: 1px solid var(--cream-dd); }
.comment:last-child { border-bottom: none; }

.comment-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.comment-author { font-family: var(--display); font-weight: 700; color: var(--burgundy); font-size: 15px; }
.comment-date { font-size: 12px; color: var(--slate-l); }
.comment-text { font-size: 14px; color: var(--ink-l); line-height: 1.65; }

.comment-delete {
  background: none; border: none; color: var(--slate-l);
  cursor: pointer; font-size: 11px; padding: 2px 6px;
  border-radius: var(--r); transition: all 0.2s;
  font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
}
.comment-delete:hover { color: var(--danger); background: rgba(192,57,43,0.06); }

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 80px 24px 40px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-d) 100%);
}

.auth-card {
  background: white; border-radius: var(--r-xl);
  box-shadow: 0 8px 40px rgba(44,24,16,0.08);
  padding: 40px 36px; width: 100%; max-width: 420px;
  border: 1px solid rgba(123,45,59,0.06);
  position: relative; overflow: hidden;
}
/* Gold top accent */
.auth-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--burgundy));
}

.auth-card h2 {
  text-align: center; font-size: 28px; color: var(--ink); margin-bottom: 4px;
}

.auth-card .auth-subtitle {
  text-align: center; color: var(--slate);
  margin-bottom: 28px; font-size: 15px;
  font-family: var(--display); font-style: italic;
}

.auth-tabs { display: flex; margin-bottom: 24px; border-bottom: 1.5px solid var(--cream-dd); }

.auth-tab {
  flex: 1; padding: 10px; text-align: center;
  background: none; border: none;
  font-family: var(--body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--slate-l); cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1.5px; transition: all 0.25s;
}
.auth-tab.active { color: var(--burgundy); border-bottom-color: var(--burgundy); }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block; font-weight: 600; font-size: 12px;
  color: var(--slate); margin-bottom: 6px;
  letter-spacing: 0.04em; text-transform: uppercase;
}

.form-control {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--cream-dd); border-radius: var(--r);
  font-family: var(--body); font-size: 14px;
  background: var(--cream); color: var(--ink);
  transition: all var(--transition);
}
.form-control:focus {
  outline: none; border-color: var(--burgundy-l); background: white;
  box-shadow: 0 0 0 3px rgba(123,45,59,0.06);
}

textarea.form-control { resize: vertical; min-height: 100px; line-height: 1.6; }
select.form-control { cursor: pointer; }

.form-hint { font-size: 12px; color: var(--slate-l); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; font-weight: 600; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================
   ADMIN DASHBOARD
   ============================================ */
.admin-layout {
  display: grid; grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 56px); margin-top: 56px;
}

.admin-sidebar {
  background: var(--ink); color: rgba(255,248,240,0.6); padding: 24px 0;
}

.admin-sidebar h3 {
  padding: 0 20px; margin-bottom: 20px;
  font-family: var(--body); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
}

.admin-sidebar nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; color: rgba(255,248,240,0.5);
  font-size: 14px; font-weight: 400; transition: all 0.2s;
}
.admin-sidebar nav a:hover {
  background: rgba(255,255,255,0.04); color: var(--cream);
}
.admin-sidebar nav a.active {
  background: rgba(212,168,83,0.08); color: var(--gold-l);
  border-left: 3px solid var(--gold);
}

.admin-main { padding: 32px; background: var(--cream); overflow-y: auto; }

.admin-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 12px;
}
.admin-header h2 { color: var(--ink); }

@media (max-width: 768px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar {
    display: flex; overflow-x: auto; padding: 8px 12px; gap: 4px;
  }
  .admin-sidebar h3 { display: none; }
  .admin-sidebar nav { display: flex; gap: 4px; }
  .admin-sidebar nav a {
    padding: 6px 12px; white-space: nowrap;
    border-radius: var(--r); border-left: none;
    font-size: 12px;
  }
}

/* Admin stat cards */
.admin-main .stats-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* ============================================
   TABLES
   ============================================ */
.table-wrapper {
  background: white; border-radius: var(--r-lg);
  border: 1px solid rgba(123,45,59,0.06);
  box-shadow: 0 2px 12px rgba(44,24,16,0.04);
  overflow-x: auto;
}

.data-table { width: 100%; border-collapse: collapse; }

.data-table th, .data-table td {
  padding: 12px 16px; text-align: left;
  font-size: 14px; border-bottom: 1px solid var(--cream-dd);
}
.data-table th {
  background: var(--cream-d); font-weight: 700;
  font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--slate);
  position: sticky; top: 0;
}
.data-table tr { transition: background 0.15s; }
.data-table tr:hover td { background: var(--cream); }
.data-table .actions { display: flex; gap: 6px; }

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(44,24,16,0.4);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000; padding: 16px;
  opacity: 0; visibility: hidden;
  transition: all 0.25s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  background: white; border-radius: var(--r-xl);
  box-shadow: 0 16px 48px rgba(44,24,16,0.14);
  width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
  border: 1px solid rgba(123,45,59,0.06);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--cream-dd);
}
.modal-header h3 { color: var(--ink); font-size: 20px; }

.modal-close {
  background: none; border: none; font-size: 24px;
  color: var(--slate-l); cursor: pointer; padding: 4px;
  line-height: 1; transition: color 0.2s;
}
.modal-close:hover { color: var(--ink); }

.modal-body { padding: 24px; }
.modal-footer {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 16px 24px; border-top: 1px solid var(--cream-dd);
}

/* ============================================
   PROFILE
   ============================================ */
.profile-header {
  position: relative; padding: 100px 0 48px;
  text-align: center; overflow: hidden;
}

.profile-header .hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://www.pigenclikdernegi.org/wp-content/uploads/2023/10/Sosyal-Medya-Fotografi-5-1024x582.jpeg');
  background-size: cover; background-position: center;
  filter: saturate(0.4) contrast(1.05);
}
.profile-header .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(92,31,43,0.88) 0%, rgba(44,24,16,0.92) 100%);
}

.profile-header .container { position: relative; z-index: 2; color: var(--cream); }

.profile-avatar {
  width: 80px; height: 80px; background: var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; font-family: var(--display);
  color: var(--ink); margin: 0 auto 12px;
  box-shadow: 0 0 20px rgba(212,168,83,0.3);
}

/* ============================================
   TOAST
   ============================================ */
.toast-container {
  position: fixed; top: 72px; right: 20px; z-index: 3000;
  display: flex; flex-direction: column; gap: 8px;
}

.toast {
  padding: 12px 20px; border-radius: var(--r);
  font-size: 13px; font-weight: 600;
  box-shadow: 0 4px 20px rgba(44,24,16,0.1);
  animation: toastIn 0.35s ease;
  min-width: 260px; background: white;
  border-left: 4px solid transparent;
}
.toast-success { color: var(--success); border-left-color: var(--success); }
.toast-error { color: var(--danger); border-left-color: var(--danger); }
.toast-info { color: var(--info); border-left-color: var(--info); }

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================
   FOOTER — Editorial style
   ============================================ */
.footer {
  background: var(--ink); color: rgba(255,248,240,0.6);
  padding: 56px 0 36px; margin-top: auto;
}

.footer-content {
  display: grid; grid-template-columns: 1fr auto; gap: 40px;
  align-items: start; margin-bottom: 36px;
}

.footer h4 {
  font-family: var(--display); font-size: 22px; font-weight: 700;
  color: var(--cream); margin-bottom: 12px;
}
.footer h4 em { font-style: italic; color: var(--gold); }

.footer p { font-size: 14px; line-height: 1.7; }
.footer a { color: rgba(255,248,240,0.6); transition: color 0.2s; }
.footer a:hover { color: var(--gold); }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }

.footer-instagram {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-size: 13px; font-weight: 600;
  color: var(--gold); text-decoration: none; transition: color 0.2s;
  margin-top: 10px;
}
.footer-instagram:hover { color: var(--gold-l); }

.footer-project {
  font-family: var(--display); font-style: italic; font-size: 14px;
  color: rgba(255,248,240,0.45); max-width: 300px; text-align: right; line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,248,240,0.08); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,248,240,0.3); }
.footer-meb {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(255,248,240,0.2);
}

@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr; gap: 24px; }
  .footer-project { text-align: left; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-burgundy { color: var(--burgundy); }
.text-gold { color: var(--gold); }
.text-slate { color: var(--slate); }
.text-sm { font-size: 13px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }

.badge {
  display: inline-block; padding: 3px 10px;
  border-radius: 100px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-admin { background: var(--gold); color: var(--ink); }
.badge-user { background: var(--sage); color: white; }

.empty-state { text-align: center; padding: 48px 16px; color: var(--slate); }
.empty-state .empty-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.3; }
.empty-state p { font-family: var(--display); font-style: italic; font-size: 16px; }

.category-badge {
  padding: 3px 10px; border-radius: 100px;
  font-size: 10px; font-weight: 700; color: white;
  letter-spacing: 0.06em; text-transform: uppercase;
}

.platform-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: var(--r);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.platform-youtube { background: rgba(255,0,0,0.08); color: #CC0000; }
.platform-spotify { background: rgba(29,185,84,0.08); color: #1AA34A; }
.platform-soundcloud { background: rgba(255,85,0,0.08); color: #CC4400; }
.platform-other { background: var(--cream-d); color: var(--slate); }

.fav-btn {
  background: none; border: none; cursor: pointer;
  font-size: 1.15rem; color: var(--slate-l);
  transition: all 0.2s; padding: 4px;
}
.fav-btn:hover { color: var(--danger-l); transform: scale(1.15); }
.fav-btn.active { color: var(--danger); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-d); }
::-webkit-scrollbar-thumb { background: var(--slate-l); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate); }

/* About section */
.about-section { padding: 100px 0 80px; position: relative; }
.about-text {
  max-width: 700px; margin: 0 auto;
}
.about-text p {
  font-size: 16px; color: var(--ink-l); line-height: 1.8; margin-bottom: 16px;
}
.about-text .highlight { color: var(--burgundy); font-weight: 600; }
.about-text .side-note {
  display: inline-block; margin-top: 8px;
  font-family: var(--display); font-style: italic; font-size: 15px;
  color: var(--sage-d); padding: 10px 18px;
  background: rgba(122,158,126,0.08);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--r) var(--r) 0;
}

/* Pages with navbar need top margin */
.page-content { margin-top: 56px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero { min-height: 80vh; }
  .hero h1 { font-size: 36px; }
  .section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .hero { min-height: 75vh; }
  .hero h1 { font-size: 32px; }
}
