/* ============================================================
   MA ACADEMY — Yeni Tasarım
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=JetBrains+Mono:wght@400;600&display=swap');

/* === TOKENS === */
:root {
  /* Arkaplan katmanları */
  --bg:      #060610;
  --bg2:     #090918;
  --bg3:     #0e0e22;
  --bg4:     #13132e;
  --bg5:     #1a1a3a;
  --surface: #111128;

  /* Kenarlıklar */
  --border:  rgba(255,255,255,.07);
  --border2: rgba(255,255,255,.13);
  --border3: rgba(255,255,255,.22);

  /* Metinler */
  --text:    #f0f0fa;
  --text2:   #8888b0;
  --text3:   #4a4a72;

  /* Marka renkleri */
  --amber:   #f5a623;
  --amber2:  #e09210;
  --amber3:  #ffd57e;
  --cyan:    #22d3ee;
  --cyan2:   #0ea5e9;
  --magenta: #d946ef;
  --green:   #22c55e;
  --red:     #ef4444;
  --purple:  #a855f7;

  /* Glow */
  --glow-a: rgba(245,166,35,.22);
  --glow-c: rgba(34,211,238,.16);

  /* Şekil */
  --radius:    14px;
  --radius-sm: 9px;
  --radius-xs: 6px;

  /* Gölge */
  --shadow:    0 8px 48px rgba(0,0,0,.7);
  --shadow-sm: 0 4px 24px rgba(0,0,0,.5);

  --font:  'Inter', system-ui, sans-serif;
  --mono:  'JetBrains Mono', monospace;
  --ease:  cubic-bezier(.4,0,.2,1);
  --t:     all .2s var(--ease);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main.main-content { flex: 1; }
::selection { background: rgba(245,166,35,.3); color: #fff; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--bg5); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text3); }

/* === CONTAINER === */
.container { max-width: 1220px; margin: 0 auto; padding: 0 1.75rem; }

/* === LOADING BAR === */
#nprogress-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 9999;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(6,6,16,.88);
  backdrop-filter: blur(28px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 8px 40px rgba(0,0,0,.5); }

/* Gradient top line */
.site-header::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--amber) 25%,
    var(--cyan) 55%,
    var(--magenta) 80%,
    transparent 100%);
  opacity: .6;
}

.nav {
  display: flex; align-items: center;
  height: 64px; gap: 0;
}
.nav-logo {
  display: flex; align-items: center; gap: .55rem;
  font-size: 1.05rem; font-weight: 800;
  color: var(--text); margin-right: 2.5rem;
  letter-spacing: -.02em; flex-shrink: 0;
}
.logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--amber), var(--amber2));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #000;
  box-shadow: 0 0 18px rgba(245,166,35,.45);
  transition: var(--t);
}
.nav-logo:hover .logo-icon { box-shadow: 0 0 30px rgba(245,166,35,.7); }
.nav-logo strong { color: var(--amber); font-weight: 900; }

.nav-links {
  display: flex; gap: .15rem;
  list-style: none; flex: 1;
}
.nav-links a {
  color: var(--text2); font-size: .875rem;
  font-weight: 500; padding: .45rem .9rem;
  border-radius: var(--radius-xs); transition: var(--t);
  position: relative;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.active {
  color: var(--amber);
  background: rgba(245,166,35,.08);
}

.nav-auth { display: flex; align-items: center; gap: .5rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border2);
  color: var(--text); font-size: 1.1rem; cursor: pointer;
  padding: .35rem .55rem; border-radius: var(--radius-xs);
  transition: var(--t);
}
.nav-toggle:hover { border-color: var(--amber); color: var(--amber); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center;
  justify-content: center; gap: .45rem;
  padding: .6rem 1.3rem;
  border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: var(--t);
  font-family: inherit; white-space: nowrap;
  letter-spacing: .01em; line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber2) 100%);
  color: #000;
  box-shadow: 0 4px 20px rgba(245,166,35,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,166,35,.5);
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber); background: rgba(245,166,35,.06); }
.btn-ghost {
  background: rgba(255,255,255,.06); color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--border2); }
.btn-sm { padding: .38rem .9rem; font-size: .8rem; border-radius: var(--radius-xs); }
.btn-lg { padding: .85rem 2.1rem; font-size: .98rem; border-radius: var(--radius); }
.btn-block { width: 100%; }
.btn-danger { background: rgba(239,68,68,.1); color: #fca5a5; border: 1px solid rgba(239,68,68,.25); }
.btn-danger:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn-cyan {
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #000;
  box-shadow: 0 4px 20px rgba(34,211,238,.25);
}
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(34,211,238,.4); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 8rem 0 6rem;
}

/* Arka plan ışık efekti */
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
}
.hero-orb-1 {
  width: 700px; height: 500px;
  top: -15%; left: -10%;
  background: radial-gradient(ellipse, rgba(245,166,35,.12) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 600px; height: 400px;
  top: -10%; right: -5%;
  background: radial-gradient(ellipse, rgba(34,211,238,.09) 0%, transparent 70%);
}
.hero-orb-3 {
  width: 400px; height: 300px;
  bottom: 0; left: 40%;
  background: radial-gradient(ellipse, rgba(217,70,239,.06) 0%, transparent 70%);
}

/* Alt çizgi */
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,.3), var(--cyan), rgba(245,166,35,.3), transparent);
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center; position: relative;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(245,166,35,.07);
  border: 1px solid rgba(245,166,35,.2);
  color: var(--amber); font-size: .72rem; font-weight: 700;
  padding: .35rem 1rem; border-radius: 20px;
  margin-bottom: 1.5rem; letter-spacing: .07em; text-transform: uppercase;
}
.hero-badge-dot {
  width: 6px; height: 6px; background: var(--amber);
  border-radius: 50%; animation: pulse-dot 2s infinite;
  box-shadow: 0 0 8px var(--amber);
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%     { opacity:.35; transform:scale(.6); }
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900; line-height: 1.06;
  letter-spacing: -.04em; margin-bottom: 1.3rem;
}
.gradient-text {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber3) 45%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text > p {
  color: var(--text2); font-size: 1.02rem;
  line-height: 1.82; margin-bottom: 2.2rem; max-width: 490px;
}
.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 2.5rem;
  padding-top: 2.2rem; margin-top: 2.2rem;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  display: block; font-size: 1.8rem; font-weight: 900;
  color: var(--amber); line-height: 1;
  text-shadow: 0 0 24px rgba(245,166,35,.4);
}
.hero-stat-label {
  font-size: .7rem; color: var(--text3);
  margin-top: .25rem; text-transform: uppercase; letter-spacing: .07em;
}

/* Hero visual — yeniden tasarlandı */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.console-card {
  width: 340px; background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(245,166,35,.06);
  position: relative;
}
.console-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), var(--cyan), transparent);
}
.console-header {
  background: var(--bg4); padding: .7rem 1rem;
  display: flex; align-items: center; gap: .5rem;
  border-bottom: 1px solid var(--border);
}
.console-dots { display: flex; gap: .35rem; }
.console-dot {
  width: 11px; height: 11px; border-radius: 50%;
}
.console-dot:nth-child(1) { background: #ff5f57; }
.console-dot:nth-child(2) { background: #febc2e; }
.console-dot:nth-child(3) { background: #28c840; }
.console-title {
  flex: 1; text-align: center;
  font-size: .72rem; color: var(--text3); letter-spacing: .04em;
}

.console-body { padding: 1.1rem; font-family: var(--mono); font-size: .78rem; }
.console-line { padding: .18rem 0; display: flex; gap: .6rem; }
.con-prompt { color: var(--amber); }
.con-cmd    { color: var(--cyan); }
.con-str    { color: var(--green); }
.con-num    { color: var(--magenta); }
.con-out    { color: var(--text3); padding-left: 1rem; }
.con-cursor {
  display: inline-block; width: 8px; height: 14px;
  background: var(--amber); vertical-align: middle;
  animation: blink .9s steps(1) infinite;
}
@keyframes blink { 0%,49% { opacity:1; } 50%,100% { opacity:0; } }

.console-metrics {
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
}
.metric-item {
  padding: .85rem 1rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.metric-item:nth-child(2) { border-right: none; }
.metric-item:nth-child(3) { border-bottom: none; }
.metric-item:nth-child(4) { border-right: none; border-bottom: none; }
.metric-label { font-size: .67rem; color: var(--text3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
.metric-val   { font-size: 1rem; font-weight: 800; }
.metric-val.amber   { color: var(--amber); }
.metric-val.cyan    { color: var(--cyan); }
.metric-val.green   { color: var(--green); }
.metric-val.magenta { color: var(--magenta); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg2); position: relative; }
.section-alt::before,
.section-alt::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
}
.section-alt::before { top: 0; }
.section-alt::after  { bottom: 0; }

.section-head {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 2.5rem;
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--amber); margin-bottom: .55rem;
}
.section-eyebrow::before {
  content: ''; width: 20px; height: 1px; background: var(--amber);
}
.section-title {
  font-size: 1.65rem; font-weight: 900;
  letter-spacing: -.03em; line-height: 1.2;
}
.section-title span { color: var(--amber); }
.section-head > div > p { color: var(--text2); font-size: .9rem; margin-top: .4rem; }

.link-all {
  color: var(--amber); font-size: .85rem; font-weight: 600;
  display: flex; align-items: center; gap: .35rem;
  transition: var(--t); white-space: nowrap;
  padding: .4rem .85rem; border: 1px solid rgba(245,166,35,.2);
  border-radius: 20px; background: rgba(245,166,35,.06);
}
.link-all:hover { gap: .6rem; background: rgba(245,166,35,.12); }

/* ============================================================
   CATEGORY ACCORDION (home)
   ============================================================ */
.accordion { display: flex; flex-direction: column; gap: .6rem; }

.accordion-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.accordion-item:has(.accordion-head[aria-expanded="true"]) {
  border-color: rgba(245,166,35,.2);
}

.accordion-head {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding: 1rem 1.2rem;
  background: none; border: none; cursor: pointer;
  color: var(--text); font-family: inherit;
  transition: background .2s;
}
.accordion-head:hover { background: rgba(255,255,255,.03); }
.accordion-head[aria-expanded="true"] { border-bottom: 1px solid var(--border); }

.acc-left  { display: flex; align-items: center; gap: .7rem; }
.acc-dot   { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 8px currentColor; }
.acc-name  { font-weight: 700; font-size: .95rem; }
.acc-count {
  font-size: .72rem; color: var(--text2);
  background: rgba(255,255,255,.07); padding: .12rem .5rem;
  border-radius: 20px; border: 1px solid var(--border);
}
.acc-right { display: flex; align-items: center; gap: .75rem; }
.acc-progress-wrap {
  width: 80px; height: 3px; background: rgba(255,255,255,.08);
  border-radius: 3px; overflow: hidden;
}
.acc-progress-bar { height: 100%; border-radius: 3px; transition: width .5s; }
.acc-pct  { font-size: .73rem; color: var(--text2); min-width: 2.5rem; text-align: right; }
.acc-chevron { font-size: .75rem; color: var(--text3); transition: transform .25s var(--ease); }
.accordion-head[aria-expanded="true"] .acc-chevron { transform: rotate(180deg); }
.acc-all-link {
  font-size: .75rem; color: var(--amber); opacity: .8;
  transition: opacity .2s; padding: .2rem .5rem;
  border-radius: 4px;
}
.acc-all-link:hover { opacity: 1; background: rgba(245,166,35,.1); }
.cat-icon-sm { font-size: 1.15rem; line-height: 1; }

.accordion-body { padding: .3rem 0; }

.acc-tabs {
  display: flex; gap: .3rem;
  padding: .65rem .9rem .35rem;
  border-bottom: 1px solid var(--border);
}
.acc-tab {
  background: none; border: none;
  color: var(--text2); font-family: inherit;
  font-size: .78rem; font-weight: 600;
  padding: .35rem .8rem; border-radius: var(--radius-xs);
  cursor: pointer; transition: var(--t);
  display: flex; align-items: center; gap: .35rem;
}
.acc-tab:hover { background: rgba(255,255,255,.05); color: var(--text); }
.acc-tab.active { background: rgba(245,166,35,.12); color: var(--amber); }
.acc-tab-count {
  background: rgba(255,255,255,.08);
  border-radius: 10px; padding: .05rem .42rem;
  font-size: .68rem;
}

.acc-video-list { list-style: none; }
.acc-video-item { border-bottom: 1px solid var(--border); }
.acc-video-item:last-child { border-bottom: none; }

.acc-video-link {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem 1.1rem; color: var(--text2);
  transition: background .15s, color .15s;
}
.acc-video-link:hover { background: rgba(255,255,255,.03); color: var(--text); }

.acc-video-icon { width: 20px; text-align: center; flex-shrink: 0; font-size: .8rem; }
.vi-check   { color: var(--green); font-weight: 700; }
.vi-playing { color: var(--amber); }
.vi-idle    { color: var(--text3); }

.acc-video-title { flex: 1; font-size: .87rem; }
.is-completed .acc-video-title { color: var(--text3); text-decoration: line-through; }
.is-completed .acc-video-link:hover .acc-video-title { text-decoration: none; color: var(--text2); }

.acc-video-meta { display: flex; align-items: center; gap: .5rem; font-size: .73rem; color: var(--text3); flex-shrink: 0; }
.acc-video-prog { color: var(--amber); }
.acc-article-summary { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-empty { padding: 1.1rem 1.1rem; color: var(--text3); font-size: .83rem; }

/* ============================================================
   CARDS (Video & Genel)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--t); display: flex; flex-direction: column;
  position: relative;
}
.card:hover {
  border-color: rgba(245,166,35,.22);
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(0,0,0,.6), 0 0 0 1px rgba(245,166,35,.06);
}

.card-thumb {
  position: relative; aspect-ratio: 16/9;
  background: var(--bg4); overflow: hidden;
}
.card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .card-thumb img { transform: scale(1.06); }

.thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: var(--text3);
  background: linear-gradient(135deg, var(--bg4) 0%, var(--bg3) 100%);
}

.card-duration {
  position: absolute; bottom: .6rem; right: .6rem;
  background: rgba(0,0,0,.85); color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: .2rem .55rem; border-radius: 5px;
  backdrop-filter: blur(4px); font-family: var(--mono);
}

/* Play overlay */
.card-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.4);
  opacity: 0; transition: opacity .25s;
}
.card-play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber2));
  display: flex; align-items: center; justify-content: center;
  color: #000; font-size: 1.1rem;
  transform: scale(.75); transition: transform .25s var(--ease);
  box-shadow: 0 0 32px rgba(245,166,35,.6);
}
.card:hover .card-play-overlay { opacity: 1; }
.card:hover .card-play-btn { transform: scale(1); }

.card-body { padding: 1.15rem 1.2rem; flex: 1; display: flex; flex-direction: column; gap: .38rem; }
.card-tag {
  font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em;
}
.card-body h3 {
  font-size: .93rem; font-weight: 700;
  line-height: 1.45; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-desc {
  font-size: .78rem; color: var(--text2); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { font-size: .73rem; color: var(--text3); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.card-meta-dot { width: 3px; height: 3px; background: var(--text3); border-radius: 50%; }

/* Progress bar alt çizgi (dashboard) */
.progress-bar-wrap { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,.1); }
.progress-bar-fill { height: 100%; background: var(--amber); transition: width .4s; }

/* ============================================================
   ARTICLES LIST
   ============================================================ */
.articles-list { display: flex; flex-direction: column; gap: .6rem; }

.article-row {
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem 1.4rem;
  transition: var(--t);
}
.article-row:hover {
  border-color: rgba(245,166,35,.2);
  background: var(--bg4);
  transform: translateX(5px);
  box-shadow: 4px 0 0 var(--amber) inset;
}
.article-row-thumb {
  width: 90px; height: 67px; flex-shrink: 0;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--bg4);
  display: flex; align-items: center; justify-content: center;
}
.article-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-row-left { flex: 1; min-width: 0; }
.article-row-left h3 { font-size: .9rem; font-weight: 700; margin: .25rem 0; line-height: 1.4; }
.article-row-left p  { font-size: .78rem; color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-row-right { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; flex-shrink: 0; }
.article-date { font-size: .7rem; color: var(--text3); font-variant-numeric: tabular-nums; }
.arrow { color: var(--amber); font-size: 1rem; transition: transform .2s; }
.article-row:hover .arrow { transform: translateX(5px); }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex; gap: .4rem;
  margin-bottom: 2rem;
  overflow-x: auto; padding-bottom: .35rem;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text2); padding: .42rem 1.1rem;
  border-radius: 20px; font-size: .82rem; font-weight: 500;
  transition: var(--t); cursor: pointer; white-space: nowrap; flex-shrink: 0;
}
.filter-btn:hover { border-color: var(--border2); color: var(--text); }
.filter-btn.active { background: var(--amber); border-color: var(--amber); color: #000; font-weight: 700; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 3.5rem; flex-wrap: wrap; }
.page-btn {
  width: 38px; height: 38px; display: flex;
  align-items: center; justify-content: center;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: .83rem;
  transition: var(--t); color: var(--text2);
}
.page-btn:hover { border-color: var(--border2); color: var(--text); }
.page-btn.active { background: var(--amber); border-color: var(--amber); color: #000; font-weight: 800; }

/* ============================================================
   VIDEO PAGE
   ============================================================ */
.video-page {
  display: grid; grid-template-columns: 1fr 310px;
  gap: 2.2rem; padding: 2rem 0;
}
.video-main { min-width: 0; }

.player-wrap {
  position: relative; background: #000;
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 0 0 1px var(--border), var(--shadow);
}
.player-wrap video { width: 100%; height: 100%; display: block; }

.player-controls {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.92) 80%);
  padding: 2.5rem .9rem .8rem;
  opacity: 0; transition: opacity .3s;
}
.player-wrap:hover .player-controls,
.player-wrap.paused .player-controls { opacity: 1; }

.player-progress-wrap { margin-bottom: .6rem; cursor: pointer; padding: .3rem 0; }
.player-progress-bg {
  height: 3px; background: rgba(255,255,255,.2);
  border-radius: 3px; position: relative; transition: height .15s;
}
.player-progress-wrap:hover .player-progress-bg { height: 5px; }
.player-progress-bar { height: 100%; background: var(--amber); border-radius: 3px; width: 0; position: relative; }
.player-progress-bar::after {
  content: '';
  position: absolute; right: -5px; top: 50%;
  transform: translateY(-50%) scale(0);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--amber); transition: transform .15s;
}
.player-progress-wrap:hover .player-progress-bar::after { transform: translateY(-50%) scale(1); }

.player-bottom { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.player-left, .player-right { display: flex; align-items: center; gap: .3rem; }
.ctrl-btn {
  background: none; border: none; color: rgba(255,255,255,.85);
  cursor: pointer; font-size: .8rem; padding: .35rem .5rem;
  border-radius: var(--radius-xs); transition: var(--t); white-space: nowrap;
}
.ctrl-btn:hover { background: rgba(255,255,255,.15); color: #fff; }
.player-time { color: rgba(255,255,255,.55); font-size: .73rem; font-family: var(--mono); padding: 0 .2rem; }
.speed-select {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: #fff; border-radius: var(--radius-xs); padding: .2rem .4rem;
  font-size: .75rem; cursor: pointer; font-family: var(--mono);
}

/* Video bilgi */
.video-info { padding: 1.5rem 0; }
.video-meta {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .9rem; flex-wrap: wrap;
  font-size: .78rem; color: var(--text3);
}
.meta-dot { width: 3px; height: 3px; background: var(--text3); border-radius: 50%; }
.video-info h1 {
  font-size: 1.55rem; font-weight: 900;
  letter-spacing: -.03em; margin-bottom: 1rem; line-height: 1.3;
}
.video-desc { color: var(--text2); font-size: .9rem; line-height: 1.8; }

/* Video sidebar */
.video-sidebar { padding-top: .3rem; }
.sidebar-title {
  font-size: .72rem; font-weight: 800; color: var(--text3);
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: 1rem; padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-video-list { display: flex; flex-direction: column; gap: .5rem; }
.sidebar-video-item {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .65rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg3);
  transition: var(--t);
}
.sidebar-video-item:hover { border-color: rgba(245,166,35,.2); background: var(--bg4); }
.sidebar-video-item.current { border-color: rgba(245,166,35,.35); background: rgba(245,166,35,.05); }
.sidebar-video-thumb {
  width: 80px; height: 46px; flex-shrink: 0;
  border-radius: var(--radius-xs); overflow: hidden; background: var(--bg4);
}
.sidebar-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-video-info h4 { font-size: .78rem; font-weight: 600; line-height: 1.4; color: var(--text); }
.sidebar-video-info span { font-size: .68rem; color: var(--text3); font-family: var(--mono); }
.sidebar-back { margin-bottom: 1.2rem; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-page {
  display: grid; grid-template-columns: 1fr 260px;
  gap: 4.5rem; padding: 3rem 0;
}
.article-header { margin-bottom: 2.2rem; }
.article-meta {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 1rem; font-size: .78rem; color: var(--text3);
  flex-wrap: wrap;
}
.article-header h1 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900; letter-spacing: -.035em;
  line-height: 1.18; margin-bottom: 1rem;
}
.article-summary {
  color: var(--text2); font-size: 1.05rem; line-height: 1.72;
  padding-bottom: 1.6rem; border-bottom: 1px solid var(--border);
  margin-bottom: 1.6rem;
}
.article-cover { width: 100%; border-radius: var(--radius); margin-bottom: 2.2rem; }

.article-content { color: var(--text); font-size: .93rem; line-height: 1.9; }
.article-content h1,
.article-content h2,
.article-content h3 { font-weight: 800; letter-spacing: -.025em; margin: 2.2rem 0 .9rem; line-height: 1.3; }
.article-content h1 { font-size: 1.6rem; }
.article-content h2 { font-size: 1.3rem; border-bottom: 1px solid var(--border); padding-bottom: .5rem; }
.article-content h3 { font-size: 1.05rem; color: var(--amber); }
.article-content p  { margin-bottom: 1.15rem; }
.article-content pre {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); padding: 1.3rem 1.5rem;
  overflow-x: auto; margin: 1.4rem 0;
  font-family: var(--mono); font-size: .83rem;
  position: relative;
}
.article-content code {
  background: var(--bg4); border: 1px solid var(--border);
  border-radius: 4px; padding: .15em .45em;
  font-size: .83em; color: var(--cyan); font-family: var(--mono);
}
.article-content pre code { background: none; border: none; padding: 0; color: var(--text); font-size: .83rem; }
.article-content ul, .article-content ol { padding-left: 1.6rem; margin-bottom: 1.1rem; }
.article-content li { margin-bottom: .45rem; }
.article-content blockquote {
  border-left: 3px solid var(--amber);
  padding: .9rem 1.3rem;
  background: rgba(245,166,35,.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text2); margin: 1.4rem 0; font-style: italic;
}
.article-content a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.article-content img { border-radius: var(--radius-sm); margin: 1.4rem 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; }
.article-content th {
  background: var(--bg4); padding: .65rem 1rem; text-align: left;
  font-size: .8rem; font-weight: 700; color: var(--text2);
  border: 1px solid var(--border);
}
.article-content td { padding: .65rem 1rem; border: 1px solid var(--border); font-size: .85rem; }
.article-content tr:hover td { background: rgba(255,255,255,.02); }

.article-sidebar { position: sticky; top: 82px; }
.article-sidebar-nav { display: flex; flex-direction: column; gap: .5rem; }
.sidebar-share-btn {
  display: flex; align-items: center; gap: .5rem;
  width: 100%; padding: .55rem .9rem;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text2); font-size: .82rem; font-weight: 500;
  cursor: pointer; font-family: inherit; transition: var(--t);
  text-align: left;
}
.sidebar-share-btn:hover { border-color: var(--amber); color: var(--amber); background: rgba(245,166,35,.06); }

/* ============================================================
   ACCESS GATE
   ============================================================ */
.access-gate {
  text-align: center; padding: 4rem 2rem;
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius); max-width: 480px; margin: 2rem auto;
  position: relative; overflow: hidden;
}
.access-gate::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
}
.gate-icon { font-size: 3rem; margin-bottom: 1.2rem; line-height: 1; }
.access-gate h2 { font-size: 1.5rem; font-weight: 900; letter-spacing: -.025em; margin-bottom: .7rem; }
.access-gate p { color: var(--text2); margin-bottom: 1.5rem; line-height: 1.65; }
.gate-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.gate-note { font-size: .83rem; color: var(--text3); margin-top: 1rem !important; margin-bottom: 0 !important; }

/* ============================================================
   ACCESS BADGE
   ============================================================ */
.access-badge {
  display: inline-block; font-size: .67rem; font-weight: 700;
  letter-spacing: .05em; padding: .15rem .5rem;
  border-radius: 4px; border: 1px solid; vertical-align: middle;
}
.access-badge-premium { color: var(--amber); border-color: rgba(245,166,35,.3); background: rgba(245,166,35,.1); }
.access-badge-member  { color: var(--cyan);  border-color: rgba(34,211,238,.25);   background: rgba(34,211,238,.08); }

/* ============================================================
   AUTH
   ============================================================ */
.auth-page {
  display: flex; align-items: center;
  justify-content: center; min-height: 84vh; padding: 2rem;
  position: relative;
}
.auth-page::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at top, rgba(245,166,35,.08), transparent 70%);
  pointer-events: none;
}
.auth-card {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 18px; padding: 3rem;
  width: 100%; max-width: 430px;
  box-shadow: var(--shadow); position: relative;
}
.auth-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), var(--cyan), transparent);
  border-radius: 18px 18px 0 0;
}
.auth-logo {
  display: flex; align-items: center; gap: .55rem;
  font-size: 1.05rem; font-weight: 800; color: var(--amber);
  margin-bottom: 2rem;
}
.auth-card h1 { font-size: 1.7rem; font-weight: 900; letter-spacing: -.035em; margin-bottom: .35rem; }
.auth-card > p { color: var(--text2); font-size: .88rem; margin-bottom: 1.8rem; }
.auth-switch { text-align: center; margin-top: 1.5rem; font-size: .84rem; color: var(--text3); }
.auth-switch a { color: var(--amber); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dash-hero {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  border-bottom: 1px solid var(--border);
  padding: 2.8rem 0; position: relative; overflow: hidden;
}
.dash-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), var(--cyan), transparent);
}
.dash-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.dash-hero h1 { font-size: 1.9rem; font-weight: 900; letter-spacing: -.035em; }
.dash-hero p { color: var(--text2); margin-top: .35rem; font-size: .9rem; }
.dash-hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .9rem; border-radius: 20px;
  border: 1px solid rgba(34,197,94,.25); background: rgba(34,197,94,.08);
  color: var(--green); font-size: .75rem; font-weight: 700;
  white-space: nowrap;
}

.dash-content { padding: 2.5rem 0; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2.8rem; }

.stat-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  position: relative; overflow: hidden; transition: var(--t);
}
.stat-card:hover { border-color: rgba(245,166,35,.2); transform: translateY(-3px); }
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
}
.stat-num { display: block; font-size: 2.2rem; font-weight: 900; color: var(--amber); line-height: 1; margin-bottom: .35rem; }
.stat-label { font-size: .72rem; color: var(--text3); text-transform: uppercase; letter-spacing: .06em; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block; font-size: .81rem; font-weight: 600;
  margin-bottom: .42rem; color: var(--text2);
}
.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=password],
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border2);
  color: var(--text); padding: .7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem; font-family: inherit;
  transition: var(--t);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--amber);
  background: rgba(245,166,35,.04);
  box-shadow: 0 0 0 3px rgba(245,166,35,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text3); }
.form-group select option { background: var(--bg3); color: var(--text); }
.form-group input[type=file] { color: var(--text2); font-size: .82rem; padding: .55rem; }
.form-hint { font-size: .73rem; color: var(--text3); margin-top: .35rem; }
.form-check label { display: flex; align-items: center; gap: .5rem; cursor: pointer; color: var(--text); font-size: .88rem; }
.form-check input { width: auto; accent-color: var(--amber); }
.form-actions { display: flex; gap: .7rem; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: .8rem 1.1rem; border-radius: var(--radius-sm);
  margin-bottom: 1.2rem; font-size: .85rem;
  display: flex; align-items: flex-start; gap: .65rem;
}
.alert-error   { background: rgba(239,68,68,.08);  border: 1px solid rgba(239,68,68,.22);  color: #fca5a5; }
.alert-success { background: rgba(34,197,94,.08);  border: 1px solid rgba(34,197,94,.22);  color: #86efac; }
.alert-info    { background: rgba(34,211,238,.07); border: 1px solid rgba(34,211,238,.2);  color: #67e8f9; }

/* ============================================================
   SEARCH
   ============================================================ */
.search-wrap { max-width: 680px; margin: 0 auto 3rem; }
.search-input-wrap {
  display: flex; gap: .6rem;
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: .4rem .4rem .4rem 1.1rem;
  transition: var(--t);
}
.search-input-wrap:focus-within {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,166,35,.1);
}
.search-input-wrap input {
  flex: 1; background: none; border: none;
  color: var(--text); font-size: 1rem; font-family: inherit;
}
.search-input-wrap input:focus { outline: none; }
.search-input-wrap input::placeholder { color: var(--text3); }
.search-results-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.8rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.search-count { color: var(--text2); font-size: .9rem; flex: 1; }
.search-count strong { color: var(--amber); }
.search-empty {
  text-align: center; padding: 5rem 2rem;
  color: var(--text3);
}
.search-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.search-empty h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; color: var(--text2); }

/* ============================================================
   PAGE WRAP
   ============================================================ */
.page-wrap { padding: 3rem 0; }
.page-head { margin-bottom: 2.8rem; }
.page-head h1 { font-size: 2.2rem; font-weight: 900; letter-spacing: -.04em; }
.page-head p { color: var(--text2); margin-top: .55rem; font-size: .95rem; }

.empty-state { text-align: center; padding: 5rem 2rem; color: var(--text3); }
.empty-state-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; color: var(--text2); }
.empty-state p { margin-bottom: 1.5rem; font-size: .9rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center; padding: 5rem 0;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(245,166,35,.08), transparent 70%);
  pointer-events: none;
}
.cta-inner { max-width: 560px; margin: 0 auto; position: relative; }
.cta-inner h2 { font-size: 2.2rem; font-weight: 900; letter-spacing: -.04em; margin-bottom: .9rem; }
.cta-inner p { color: var(--text2); margin-bottom: 2rem; font-size: .95rem; line-height: 1.7; }
.cta-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  margin-top: auto; position: relative;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,.25), var(--cyan), rgba(245,166,35,.25), transparent);
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem; padding: 4rem 0 3rem;
}
.footer-brand .nav-logo { margin-bottom: .7rem; font-size: 1rem; }
.footer-brand p { font-size: .82rem; color: var(--text3); max-width: 260px; line-height: 1.72; }
.footer-col h4 {
  font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text3); margin-bottom: 1.1rem;
}
.footer-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { font-size: .84rem; color: var(--text2); transition: var(--t); }
.footer-col a:hover { color: var(--amber); padding-left: .35rem; }
.footer-bottom {
  padding: 1.3rem 0; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .77rem; color: var(--text3); flex-wrap: wrap; gap: .5rem;
}
.footer-bottom a { color: var(--text3); transition: var(--t); }
.footer-bottom a:hover { color: var(--amber); }

/* ============================================================
   QUILL / Rich Text içerik
   ============================================================ */
.ql-content .ql-align-center { text-align: center; }
.ql-content .ql-align-right  { text-align: right; }
.ql-content strong { font-weight: 700; }
.ql-content em     { font-style: italic; }
.ql-content u      { text-decoration: underline; }
.ql-content a      { color: var(--amber); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { gap: 3rem; }
  .console-card { width: 300px; }
  .video-page { grid-template-columns: 1fr 280px; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { display: none; }
  .video-page, .article-page { grid-template-columns: 1fr; }
  .video-sidebar, .article-sidebar { order: -1; position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-hero-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 5rem 0 3.5rem; }
  .hero-text h1 { font-size: 2.2rem; }
  .hero-stats { gap: 1.5rem; }
  .dash-stats { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .article-page { gap: 2rem; }
  .auth-card { padding: 2rem 1.5rem; }
}
@media (max-width: 400px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ============================================================
   MOBILE NAV MENU
   ============================================================ */
.nav-mobile-menu {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(6,6,16,.97);
  backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
  z-index: 199; padding: 1rem 1.75rem 1.5rem;
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu a {
  display: block; padding: .65rem 0;
  color: var(--text2); font-size: .9rem; font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover, .nav-mobile-menu a.active { color: var(--amber); }
.nav-mobile-auth { margin-top: 1rem; display: flex; gap: .5rem; }
