/* ============================================================
   MODERN NGE-STYLE ANIME SITE — s1-style.css
   Ana yapı korundu, görsel modernleştirildi
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800&family=Rajdhani:wght@400;500;600&display=swap');

/* ─── CSS Değişkenleri ─── */
:root {
  --accent-green:   #00e676;
  --accent-purple:  #ce93d8;
  --purple-deep:    #7b1fa2;
  --purple-bright:  #ab47bc;
  --bg-dark:        #0a0a0f;
  --bg-card:        rgba(20, 12, 30, 0.85);
  --bg-panel:       rgba(15, 8, 25, 0.92);
  --border-glow:    rgba(0, 230, 118, 0.35);
  --border-purple:  rgba(206, 147, 216, 0.45);
  --text-primary:   #e8e8f0;
  --text-muted:     #9090aa;
  --shadow-green:   0 0 18px rgba(0, 230, 118, 0.4);
  --shadow-purple:  0 0 18px rgba(171, 71, 188, 0.5);
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ab47bc, #00e676);
  border-radius: 3px;
}

/* ─── Body ─── */
body {
  background: url('../hero.jfif') no-repeat center center fixed;
  background-size: cover;
  color: var(--text-primary);
  font-family: 'Rajdhani', Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  position: relative;
  font-size: 15px;
  letter-spacing: 0.02em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: inherit;
  background-size: cover;
  filter: blur(10px) brightness(0.25) saturate(1.4);
  z-index: -2;
}

/* Scanline efekti – hafif retro dokunuş */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.07) 3px,
    rgba(0, 0, 0, 0.07) 4px
  );
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* ─── Header ─── */
header {
  background: linear-gradient(135deg, #0d0d18 0%, #12071e 100%);
  padding: 14px 24px;
  border-bottom: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 2px 0 var(--accent-green), 0 4px 20px rgba(0, 230, 118, 0.2);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
}

/* ─── Geri Butonu ─── */
.back-btn {
  background: linear-gradient(135deg, #00c853, #00e676);
  color: #0a0a0f;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 0 14px rgba(0, 230, 118, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.back-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.back-btn:hover::before { transform: translateX(100%); }

.back-btn:hover {
  background: linear-gradient(135deg, #8e24aa, #ab47bc);
  color: #fff;
  box-shadow: var(--shadow-purple);
  transform: translateY(-1px);
}

/* ─── Nav ─── */
nav { margin-top: 0; display: flex; align-items: center; gap: 4px; }

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-green);
  border-radius: 1px;
  transition: width var(--transition);
}

nav a:hover {
  color: var(--accent-green);
  border-color: var(--border-glow);
  background: rgba(0, 230, 118, 0.06);
}
nav a:hover::after { width: 70%; }

/* ─── Bölüm Listesi (Sağ Panel) ─── */
.episode-list {
  position: fixed;
  right: 0;
  top: 0;
  width: 300px;
  height: 100%;
  background: var(--bg-panel);
  border-left: 2px solid transparent;
  box-shadow: -1px 0 0 var(--purple-deep), -6px 0 30px rgba(123, 31, 162, 0.35);
  overflow-y: auto;
  padding: 70px 16px 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Panel başlık çizgisi */
.episode-list::before {
  content: "◆ BÖLÜMLER";
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent-purple);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-purple);
}

.episode { margin-bottom: 8px; }

.episode button {
  width: 100%;
  background: linear-gradient(135deg, rgba(123,31,162,0.5) 0%, rgba(74,20,140,0.6) 100%);
  color: var(--text-primary);
  border: 1px solid rgba(206, 147, 216, 0.2);
  padding: 10px 12px;
  font-size: 13px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  text-align: left;
  transition: var(--transition);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.episode button::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--purple-bright);
  border-radius: 2px 0 0 2px;
  transition: width var(--transition);
}

.episode button:hover {
  background: linear-gradient(135deg, rgba(0,200,83,0.25) 0%, rgba(0,230,118,0.15) 100%);
  border-color: rgba(0, 230, 118, 0.45);
  color: var(--accent-green);
  transform: translateX(-3px);
  box-shadow: 4px 0 16px rgba(0, 230, 118, 0.2);
}
.episode button:hover::before { background: var(--accent-green); }

.episode button.active {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.3) 0%, rgba(0, 230, 118, 0.2) 100%);
  border-color: rgba(0, 230, 118, 0.6);
  color: var(--accent-green);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.25), inset 0 0 8px rgba(0,230,118,0.08);
}
.episode button.active::before { background: var(--accent-green); width: 4px; }

/* Bölüm açıklamaları */
.episode p {
  color: var(--text-muted);
  font-size: 12px;
  margin: 4px 8px 0;
  line-height: 1.5;
}

/* ─── Ana İçerik ─── */
.content {
  margin-right: 316px;
  padding: 24px 28px;
  text-align: center;
  min-height: calc(100vh - 60px);
}

/* ─── Video Oynatıcı ─── */
video {
  width: 100%;
  max-width: 840px;
  /*border: 2px solid rgba(171, 71, 188, 0.6);*/
  border-radius: 12px;
  margin: 20px auto;
  display: block;
  box-shadow:
    0 0 0 1px rgba(0,230,118,0.1),
    0 8px 40px rgba(123, 31, 162, 0.5),
    0 2px 10px rgba(0,0,0,0.8);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #000;
}

video:hover-deactive {
  border-color: rgba(0, 230, 118, 0.7);
  box-shadow:
    0 0 0 1px rgba(0,230,118,0.3),
    0 8px 50px rgba(0, 230, 118, 0.3),
    0 2px 10px rgba(0,0,0,0.8);
}

/* ─── Kart / Section ─── */
.section {
  background: var(--bg-card);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: 12px;
  padding: 24px 26px;
  margin-bottom: 24px;
  box-shadow:
    0 0 0 1px rgba(171,71,188,0.1),
    0 6px 30px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
  opacity: 0.6;
}

.section:hover {
  border-color: rgba(0, 230, 118, 0.45);
  box-shadow:
    0 0 0 1px rgba(0,230,118,0.15),
    0 8px 40px rgba(0,0,0,0.7),
    0 0 20px rgba(0, 230, 118, 0.1);
}

/* ─── Başlıklar ─── */
h1, h2, h3 {
  font-family: 'Orbitron', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  position: relative;
}

h1 {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #00e676 0%, #a5d6a7 40%, #ce93d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 8px rgba(0, 230, 118, 0.5));
}

h2 {
  font-size: 1.2rem;
  color: var(--accent-green);
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}

h3 {
  font-size: 1rem;
  color: var(--accent-purple);
  text-shadow: 0 0 8px rgba(206, 147, 216, 0.4);
}

/* ─── İzleme Sırası / Watch Order ─── */
.watch-order {
  background: rgba(20, 10, 35, 0.7);
  border: 1px solid rgba(171, 71, 188, 0.3);
  border-left: 4px solid var(--purple-bright);
  padding: 14px 18px;
  margin-bottom: 14px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.watch-order::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(171,71,188,0.05), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.watch-order:hover {
  background: rgba(30, 15, 50, 0.85);
  border-color: rgba(171, 71, 188, 0.6);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(123,31,162,0.25);
}
.watch-order:hover::after { opacity: 1; }

/* ─── Genel Butonlar ─── */
button {
  background: linear-gradient(135deg, #00c853, #00e676);
  color: #0a0a0f;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 0 14px rgba(0, 230, 118, 0.4);
  position: relative;
  overflow: hidden;
}

button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 60%);
  opacity: 1;
}

button:hover {
  background: linear-gradient(135deg, #8e24aa, #ab47bc);
  color: #fff;
  box-shadow: var(--shadow-purple);
  transform: translateY(-2px);
}

button:active { transform: translateY(0); }

/* ─── Parlama Animasyonu (isteğe bağlı süs) ─── */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 230, 118, 0.3); }
  50%       { box-shadow: 0 0 24px rgba(0, 230, 118, 0.7), 0 0 40px rgba(0,230,118,0.2); }
}

.episode button.active { animation: glow-pulse 2.5s ease-in-out infinite; }

/* ─── Responsive: 768px altı ─── */
@media (max-width: 768px) {
  .episode-list {
    position: relative;
    width: 100%;
    height: auto;
    border-left: none;
    border-top: 2px solid var(--purple-deep);
    padding: 16px;
    box-shadow: 0 -4px 20px rgba(123,31,162,0.3);
  }

  .content {
    margin-right: 0;
    padding: 16px;
  }

  h1 { font-size: 1.2rem; }
}
.html, body {
  overflow: hidden;
}
