/* ============================================================
   YÖRÜKHAN GAMES — tasarım
   ============================================================ */
:root {
  --bg: #0f0f13;
  --bg-2: #16161b;
  --card: #1f1f25;
  --card-2: #2a2a31;
  --card-3: #34343c;
  --line: #2c2c34;
  --text: #f5f5f7;
  --muted: #a3a3ad;
  --dim: #6f6f7a;
  --accent: #ff8a1f;
  --accent-2: #ffc23d;
  --accent-ink: #1d0f02;
  --red: #ff5a5f;
  --green: #3ddc97;
  --radius: 14px;
  --radius-sm: 10px;
  --side: 232px;
  --top: 72px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.center { text-align: center; }

/* ============ İSKELET ============ */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--side); z-index: 60;
  background: var(--bg); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 18px 14px 16px; overflow-y: auto; scrollbar-width: thin;
}
.shell { margin-left: var(--side); min-height: 100vh; display: flex; flex-direction: column; }
.page { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 8px 32px 40px; }

.logo { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; }
.logo img { height: 36px; width: auto; flex: none; }

.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a, .side-nav button {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--muted);
  font-weight: 600; font-size: 14.5px; background: none; border: 0; cursor: pointer; text-align: left; width: 100%;
  transition: background .15s, color .15s;
}
.side-nav a:hover, .side-nav button:hover { background: var(--card); color: var(--text); }
.side-nav a.active { background: var(--card-2); color: var(--text); }
.side-nav .ico { width: 22px; text-align: center; font-size: 16px; flex: none; }
.side-nav svg { width: 20px; height: 20px; flex: none; }
.side-title { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; color: var(--dim); text-transform: uppercase; padding: 18px 12px 8px; }
.side-count { margin-left: auto; font-size: 12px; color: var(--dim); font-weight: 600; }
.side-cta {
  margin-top: auto; padding: 16px; border-radius: 14px; position: relative; overflow: hidden;
  background: linear-gradient(145deg, #3a2210, #221a14 60%); border: 1px solid #4a2e16;
}
.side-cta::before { content: ''; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(255,138,31,.45), transparent 70%); }
.side-cta b { display: block; font-size: 15px; position: relative; }
.side-cta p { margin: 4px 0 12px; font-size: 13px; color: #d9c2ad; position: relative; }
.side-cta .btn { width: 100%; position: relative; }

.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--top);
  display: flex; align-items: center; gap: 16px; padding: 0 32px;
  background: rgba(15,15,19,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.topbar .logo { display: none; padding: 0; }
.topbar .logo img { height: 34px; }
.search { position: relative; width: 100%; max-width: 360px; }
.search input {
  width: 100%; height: 44px; border-radius: 999px; border: 1px solid transparent; outline: none;
  background: var(--card); padding: 0 16px 0 44px; font-size: 14.5px; transition: border-color .15s, background .15s;
}
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: var(--card-3); background: var(--card-2); }
.search svg { position: absolute; left: 15px; top: 13px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.top-links { display: flex; gap: 4px; }
.top-links a { padding: 8px 14px; color: var(--muted); font-weight: 600; font-size: 14.5px; border-radius: 8px; }
.top-links a:hover, .top-links a.active { color: var(--text); }
.top-links a.active { box-shadow: inset 0 -2px 0 var(--text); border-radius: 0; }
.top-auth { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--card); display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }

.user-menu { position: relative; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--card); border: 0; cursor: pointer; font-weight: 600; font-size: 14px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); font-weight: 900; text-transform: uppercase; }
.dropdown { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.5); padding: 6px; display: none; }
.dropdown.open { display: block; }
.dropdown a, .dropdown button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; font-size: 14.5px; }
.dropdown a:hover, .dropdown button:hover { background: var(--card-2); }

/* mobil alt menü */
.tabbar { display: none; }

/* ============ BUTONLAR ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 10px; border: 0; background: var(--card-2); font-weight: 700; font-size: 14.5px; cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .1s, filter .15s;
}
.btn:hover { background: var(--card-3); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-white { background: #f5f5f7; color: #111; }
.btn-white:hover { background: #fff; filter: brightness(.95); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ff9c3d; }
.btn-ghost { background: rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-outline { background: transparent; box-shadow: inset 0 0 0 1.5px var(--card-3); }
.btn-outline:hover { background: var(--card); }
.btn-danger { background: rgba(255,90,95,.12); color: #ff9b9e; }
.btn-danger:hover { background: rgba(255,90,95,.2); }
.btn-success { background: rgba(61,220,151,.12); color: #7eeabc; }
.btn-success:hover { background: rgba(61,220,151,.2); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn.liked { color: var(--red); }
.btn.liked svg { fill: currentColor; }

/* ============ VİTRİN (hero) ============ */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 18px; margin-top: 8px; }
.hero-stage { position: relative; aspect-ratio: 16 / 8.2; border-radius: 18px; overflow: hidden; background: var(--card); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.slide.active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; transform: scale(1.04); transition: transform 7s linear; }
.slide.active img { transform: scale(1); }
.slide .fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,14,.92) 0%, rgba(10,10,14,.55) 38%, transparent 70%), linear-gradient(0deg, rgba(10,10,14,.7), transparent 45%); }
.slide-body { position: absolute; left: 44px; bottom: 44px; max-width: 440px; }
.slide-kicker { font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent-2); }
.slide-title { font-size: clamp(28px, 3.4vw, 48px); font-weight: 900; line-height: 1.02; margin: 10px 0 12px; letter-spacing: -.5px; }
.slide-desc { color: #d6d6dc; margin: 0 0 20px; font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-list { display: flex; flex-direction: column; gap: 6px; }
.hero-item {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; overflow: hidden;
  cursor: pointer; background: none; border: 0; text-align: left; width: 100%; flex: 1; min-height: 0; transition: background .2s;
}
.hero-item:hover { background: var(--card); }
.hero-item.active { background: var(--card-2); }
.hero-item .bar { position: absolute; inset: 0; background: var(--card-3); transform-origin: left; transform: scaleX(0); z-index: 0; }
.hero-item.active .bar { animation: fill var(--dur, 7s) linear forwards; }
.hero.paused .hero-item.active .bar { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero-item > *:not(.bar) { position: relative; z-index: 1; }
.hero-item img, .hero-item .thumb-fb { width: 52px; height: 68px; border-radius: 8px; object-fit: cover; object-position: 74% center; flex: none; font-size: 20px; }
.hero-item span { font-weight: 600; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-dots { display: none; }

/* ============ BÖLÜMLER / RAFLAR ============ */
.section { margin-top: 44px; }
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sec-head h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.2px; display: flex; align-items: center; gap: 6px; }
.sec-head h2 a { display: inline-flex; align-items: center; gap: 4px; }
.sec-head h2 a:hover { color: var(--accent-2); }
.sec-head h2 svg { width: 18px; height: 18px; }
.sec-head .spacer { flex: 1; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--card-2); display: grid; place-items: center; cursor: pointer; transition: background .15s, opacity .15s; }
.arrow:hover { background: var(--card-3); }
.arrow:disabled { opacity: .35; cursor: default; }
.arrow svg { width: 16px; height: 16px; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px 18px; }

/* oyun kartı */
.gcard { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gcard .thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--card); }
.gcard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease), filter .25s; }
.gcard:hover .thumb img { transform: scale(1.05); filter: brightness(1.1); }
.gcard .thumb::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }
.play-hover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.25); opacity: 0; transition: opacity .2s; }
.play-hover span { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.95); color: #111; display: grid; place-items: center; transform: scale(.85); transition: transform .2s var(--ease); }
.play-hover svg { width: 22px; height: 22px; margin-left: 3px; }
.gcard:hover .play-hover { opacity: 1; }
.gcard:hover .play-hover span { transform: scale(1); }
.gcard .t { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcard .m { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; white-space: nowrap; overflow: hidden; }
.gcard .m .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); flex: none; }
.gcard .info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tag {
  position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 9px; border-radius: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .6px;
  text-transform: uppercase; background: rgba(0,0,0,.7); backdrop-filter: blur(6px);
}
.tag-orig { background: var(--accent); color: var(--accent-ink); }
.tag-new { left: auto; right: 10px; background: var(--green); color: #032014; }
.thumb-fb { width: 100%; height: 100%; display: grid; place-items: center; font-weight: 900; font-size: 44px; color: rgba(255,255,255,.92); }

/* Orijinaller (büyük kartlar) */
.originals { background: linear-gradient(135deg, #22160d, #17151d 55%); border: 1px solid #33241a; border-radius: 20px; padding: 24px; }
.originals .sec-head h2 .badge { font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 4px 8px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); margin-left: 6px; }
.orig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.orig-card { display: flex; flex-direction: column; gap: 12px; }
.orig-card .thumb { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; position: relative; }
.orig-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.orig-card:hover .thumb img { transform: scale(1.04); }
.orig-card .ribbon { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 12.5px; letter-spacing: .8px; text-transform: uppercase; text-align: center; }
.orig-card .t { font-weight: 800; font-size: 16px; }
.orig-card .m { color: var(--muted); font-size: 13.5px; }

/* Top listeler */
.tops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.top-col { border-radius: 16px; padding: 6px 0; }
.top-col h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; }
.top-col h3 a { font-size: 13px; color: var(--muted); font-weight: 600; }
.top-col h3 a:hover { color: var(--text); }
.top-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; transition: background .15s; }
.top-item:hover { background: var(--card); }
.top-item .rank { width: 18px; font-weight: 900; color: var(--dim); font-size: 15px; text-align: center; flex: none; }
.top-item .thumb { width: 96px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; flex: none; background: var(--card); }
.top-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.top-item .t { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-item .m { font-size: 13px; color: var(--muted); }
.top-item > div:last-child { min-width: 0; }

/* Kategori kutuları */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.cat-tile {
  position: relative; overflow: hidden; border-radius: 14px; padding: 18px 16px; min-height: 104px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .2s var(--ease), filter .2s;
}
.cat-tile:hover { transform: translateY(-3px); filter: brightness(1.12); }
.cat-tile .e { position: absolute; right: -6px; top: -8px; font-size: 64px; opacity: .9; transform: rotate(12deg); filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); }
.cat-tile b { font-size: 16px; font-weight: 800; position: relative; }
.cat-tile span { font-size: 12.5px; color: rgba(255,255,255,.75); position: relative; }

/* Yükleme çağrısı bandı */
.cta-band {
  position: relative; overflow: hidden; border-radius: 20px; padding: 36px 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center;
  background: radial-gradient(600px 300px at 90% 20%, rgba(255,138,31,.35), transparent 60%), linear-gradient(135deg, #1d1a2b, #15131c);
  border: 1px solid var(--line);
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; letter-spacing: -.4px; }
.cta-band p { margin: 0 0 20px; color: var(--muted); font-size: 15.5px; max-width: 480px; }
.steps { display: grid; gap: 10px; }
.step { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 12px 14px; }
.step i { font-style: normal; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 900; flex: none; }
.step b { display: block; font-size: 14.5px; }
.step span { font-size: 13px; color: var(--muted); }

/* Göz at (arama/kategori) */
.browse-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 14px 0 18px; }
.browse-head h1 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -.4px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 18px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--card); color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { color: var(--text); background: var(--card-2); }
.chip.active { background: var(--text); color: #111; }
.select {
  height: 40px; padding: 0 36px 0 14px; border-radius: 10px; background: var(--card); border: 0; appearance: none; -webkit-appearance: none; cursor: pointer; font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a3a3ad' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}

.skel { background: linear-gradient(90deg, var(--card) 0%, var(--card-2) 50%, var(--card) 100%); background-size: 200% 100%; animation: sk 1.3s linear infinite; border-radius: 12px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 56px 20px; border-radius: 16px; background: var(--bg-2); color: var(--muted); }
.empty .big { font-size: 44px; margin-bottom: 8px; }
.empty h3 { color: var(--text); margin: 0 0 6px; font-size: 19px; }

/* ============ REKLAM ============ */
.ad { display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 12px; position: relative; }
.ad.placeholder { background: repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0 12px, transparent 12px 24px), var(--bg-2); color: var(--dim); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 700; }
.ad-wide { min-height: 100px; margin-top: 40px; }
.ad-box { min-height: 250px; }
.ad-below { min-height: 100px; margin-top: 18px; }

/* ============ OYUN SAYFASI ============ */
.crumb { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px; margin: 6px 0 12px; }
.crumb:hover { color: var(--text); }
.crumb svg { width: 16px; height: 16px; }
.g-title { margin: 0; font-size: clamp(26px, 3.2vw, 40px); font-weight: 900; letter-spacing: -.5px; line-height: 1.08; }
.g-sub { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 14px; margin: 10px 0 20px; }
.g-sub b { color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--card); font-weight: 600; font-size: 13px; color: var(--text); }
.pill-orig { background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.g-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: 'main side' 'about side'; column-gap: 32px; align-items: start; }
.g-main { grid-area: main; min-width: 0; }
.g-about { grid-area: about; min-width: 0; }
.g-side { grid-area: side; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player-cover { position: absolute; inset: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.player-cover img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(2px) brightness(.55); transform: scale(1.05); }
.player-cover .inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 20px; }
.big-play { width: 88px; height: 88px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.15); transition: transform .2s var(--ease), box-shadow .2s; }
.big-play svg { width: 34px; height: 34px; margin-left: 5px; }
.player-cover:hover .big-play { transform: scale(1.07); box-shadow: 0 0 0 16px rgba(255,255,255,.12); }
.player-cover .lbl { font-weight: 800; font-size: 18px; letter-spacing: .5px; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.player-cover .warn { font-size: 13px; color: #ffd9a8; background: rgba(0,0,0,.5); padding: 6px 12px; border-radius: 999px; }
.player-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); background: #000; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--card-2); border-top-color: var(--accent); animation: spin .8s linear infinite; margin: 0 auto 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
.player.pseudo-fs { position: fixed; inset: 0; z-index: 1000; aspect-ratio: auto; border-radius: 0; height: 100dvh; }
.fs-exit { position: absolute; top: 12px; right: 12px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.25); display: none; place-items: center; cursor: pointer; }
.player.pseudo-fs .fs-exit { display: grid; }
.player:fullscreen { aspect-ratio: auto; border-radius: 0; }
.player-bar { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.player-bar .grow { flex: 1; }

.g-side { position: sticky; top: calc(var(--top) + 12px); display: flex; flex-direction: column; gap: 14px; }
.g-cover { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--card); }
.g-cover img { width: 100%; height: 100%; object-fit: cover; }
.free { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; }
.free .pill { background: var(--card-2); }
.meta-list { border-top: 1px solid var(--line); }
.meta-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.meta-row span:first-child { color: var(--muted); }
.meta-row span:last-child { font-weight: 600; text-align: right; }
.meta-row a:hover { color: var(--accent-2); }
.side-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 13.5px; padding: 4px 0; text-align: left; }
.link-btn:hover { color: var(--text); }
.about { margin-top: 28px; }
.about h2 { font-size: 19px; margin: 0 0 10px; font-weight: 800; }
.about p { color: #cfcfd6; margin: 0; white-space: pre-wrap; word-break: break-word; line-height: 1.65; }
.kbd { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; background: var(--bg-2); border-radius: 12px; }
.kbd .ico { font-size: 20px; }
.kbd b { display: block; margin-bottom: 2px; }
.kbd span { color: var(--muted); font-size: 14px; }

/* ============ FORMLAR ============ */
.narrow { max-width: 780px; margin: 0 auto; }
.page-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; margin: 16px 0 6px; letter-spacing: -.4px; }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field > label { font-weight: 700; font-size: 14px; }
.hint { font-size: 13px; color: var(--dim); }
.input, .textarea, .field select { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; outline: none; font-size: 15.5px; transition: border-color .15s; }
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .textarea:focus, .field select:focus { border-color: var(--accent); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.check b { color: var(--text); }
.drop { border: 2px dashed var(--card-3); border-radius: 14px; padding: 26px; text-align: center; cursor: pointer; background: var(--card); transition: border-color .15s, background .15s; }
.drop:hover, .drop.drag { border-color: var(--accent); background: rgba(255,138,31,.06); }
.drop .icon { font-size: 32px; }
.drop strong { display: block; margin: 6px 0 2px; }
.drop .file-name { color: var(--green); font-weight: 700; margin-top: 8px; word-break: break-all; }
.thumb-preview { width: 100%; max-width: 340px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin: 12px auto 0; }
.progress { height: 8px; background: var(--card); border-radius: 4px; overflow: hidden; margin-top: 14px; }
.progress > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; line-height: 1.55; }
.alert-error { background: rgba(255,90,95,.1); border: 1px solid rgba(255,90,95,.3); color: #ffb3b5; }
.alert-ok { background: rgba(61,220,151,.08); border: 1px solid rgba(61,220,151,.3); color: #9ff0cb; }
.alert-info { background: rgba(120,160,255,.07); border: 1px solid rgba(120,160,255,.25); color: #c5d6ff; }
.alert code { background: rgba(255,255,255,.08); padding: 1px 5px; border-radius: 4px; }
.tabs { display: flex; gap: 4px; background: var(--card); padding: 4px; border-radius: 12px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tab { flex: 1 0 auto; white-space: nowrap; height: 40px; padding: 0 16px; border: 0; background: none; border-radius: 9px; cursor: pointer; font-weight: 700; color: var(--muted); }
.tab.active { background: var(--card-3); color: var(--text); }
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--top) - 60px); border-radius: 20px; overflow: hidden; margin-top: 8px; border: 1px solid var(--line); }
.auth-art { position: relative; background: #111 center/cover; display: flex; align-items: flex-end; padding: 36px; }
.auth-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,14,.95), rgba(10,10,14,.2) 60%); }
.auth-art div { position: relative; }
.auth-art h2 { margin: 0 0 8px; font-size: 30px; font-weight: 900; line-height: 1.1; }
.auth-art p { margin: 0; color: #d0d0d8; }
.auth-form { background: var(--bg-2); padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.auth-form h1 { margin: 0 0 6px; font-size: 26px; font-weight: 900; }

/* liste (panel/yönetim) */
.list { display: flex; flex-direction: column; gap: 10px; }
.list-item { display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.list-item .thumb { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--card); }
.list-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-item h4 { margin: 0 0 3px; font-size: 16px; }
.list-item .meta { font-size: 13px; color: var(--muted); }
.list-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.status { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-pending { background: rgba(255,194,61,.14); color: var(--accent-2); }
.status-approved { background: rgba(61,220,151,.14); color: var(--green); }
.status-rejected { background: rgba(255,90,95,.14); color: #ff9b9e; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 22px; }
.stat-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.stat-card .n { font-size: 28px; font-weight: 900; }
.stat-card .l { font-size: 13px; color: var(--muted); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.profile-hero { position: relative; border-radius: 20px; overflow: hidden; padding: 40px 32px; margin-top: 8px; background: radial-gradient(500px 250px at 85% 0%, rgba(255,138,31,.3), transparent 60%), linear-gradient(135deg, #1f1a2b, #15141b); display: flex; gap: 20px; align-items: center; }
.profile-hero .avatar { width: 84px; height: 84px; font-size: 36px; }
.profile-hero h1 { margin: 0; font-size: 30px; font-weight: 900; }

/* modal & bildirim */
.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; width: 100%; max-width: 520px; max-height: 90vh; overflow: auto; padding: 24px; }
.modal.wide { max-width: 1000px; }
.modal h3 { margin: 0 0 12px; font-size: 19px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); opacity: 0; background: #f5f5f7; color: #111; padding: 12px 20px; border-radius: 999px; font-weight: 700; z-index: 300; transition: all .25s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* metin sayfaları */
.prose { color: #c8c8d0; line-height: 1.75; }
.prose h2 { color: var(--text); font-size: 20px; margin: 30px 0 8px; }
.prose a { color: var(--accent-2); text-decoration: underline; }
.prose strong { color: var(--text); }
.prose code { background: var(--card); padding: 1px 6px; border-radius: 5px; }

/* alt bilgi */
.footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 32px 32px 28px; color: var(--muted); font-size: 14px; }
.footer-in { max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }
.footer .kilim { height: 6px; width: 90px; border-radius: 3px; margin-bottom: 12px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, var(--accent-2) 8px 16px); }

/* ============================================================
   DUYARLI
   ============================================================ */
@media (max-width: 1280px) {
  .rail { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-list { display: none; }
  .hero-dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
  .hero-dots button { width: 28px; height: 4px; border-radius: 2px; border: 0; background: var(--card-3); cursor: pointer; padding: 0; }
  .hero-dots button.active { background: var(--text); }
  .g-layout { grid-template-columns: 1fr; grid-template-areas: 'main' 'side' 'about'; }
  .g-side { margin-top: 18px; }
  .g-side { position: static; }
  .g-side .g-cover { display: none; }
  .tops { grid-template-columns: 1fr 1fr; }
  .tops .top-col:last-child { display: none; }
}
@media (max-width: 1024px) {
  :root { --top: 64px; }
  .sidebar { transform: translateX(-100%); transition: transform .25s var(--ease); box-shadow: 20px 0 50px rgba(0,0,0,.5); }
  .sidebar.open { transform: none; }
  .shell { margin-left: 0; }
  .menu-btn { display: grid; }
  .topbar { padding: 0 20px; }
  .topbar .logo { display: flex; }
  .top-links { display: none; }
  .page { padding: 8px 20px 40px; }
  .scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 55; display: none; }
  .scrim.open { display: block; }
  .orig-grid { grid-template-columns: repeat(2, 1fr); }
  .orig-grid > :nth-child(3) { display: none; }
  .cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .topbar { gap: 10px; padding: 0 14px; }
  .topbar .search { display: none; }
  .topbar .logo img { height: 30px; }
  .topbar .search.open { display: block; position: absolute; left: 12px; right: 12px; top: 10px; max-width: none; z-index: 5; }
  .top-auth .up-btn, .top-auth .user-chip .uname { display: none; }
  .user-chip { padding: 3px; }
  .page { padding: 4px 14px 32px; }
  .hero-stage { aspect-ratio: 4 / 4.2; border-radius: 16px; }
  .slide .fade { background: linear-gradient(0deg, rgba(10,10,14,.96) 12%, rgba(10,10,14,.5) 50%, transparent 75%); }
  .slide-body { left: 20px; right: 20px; bottom: 22px; }
  .slide-title { font-size: 30px; }
  .slide-desc { font-size: 14.5px; -webkit-line-clamp: 2; margin-bottom: 16px; }
  .slide-actions { flex-wrap: nowrap; }
  .slide-actions .btn { flex: 1; height: 46px; padding: 0 12px; font-size: 15px; }
  .sidebar { padding-bottom: 96px; }
  .section { margin-top: 34px; }
  .sec-head h2 { font-size: 18px; }
  .arrows { display: none; }
  .rail { grid-auto-columns: 62%; gap: 12px; margin: 0 -14px; padding: 0 14px 4px; scroll-padding: 0 14px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .gcard .t { font-size: 14px; }
  .gcard .m { font-size: 12px; }
  .originals { padding: 16px; border-radius: 16px; margin-left: -4px; margin-right: -4px; }
  .orig-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .orig-grid > :nth-child(3) { display: flex; }
  .orig-grid > * { scroll-snap-align: start; }
  .tops { grid-template-columns: 1fr; }
  .tops .top-col:last-child { display: block; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-tile { min-height: 88px; padding: 14px; }
  .cat-tile .e { font-size: 50px; }
  .cta-band { padding: 24px 20px; }
  .g-title { font-size: 26px; }
  .player { aspect-ratio: 4 / 3; border-radius: 12px; margin: 0 -14px; border-radius: 0; }
  .player-bar .hide-m { display: none; }
  .row { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .list-item { grid-template-columns: 100px 1fr; }
  .list-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .auth-wrap { grid-template-columns: 1fr; min-height: 0; border: 0; }
  .auth-art { min-height: 180px; border-radius: 16px; padding: 22px; }
  .auth-art h2 { font-size: 22px; }
  .auth-form { padding: 22px 4px; background: none; }
  .profile-hero { padding: 26px 20px; }
  .footer { padding: 24px 16px; }

  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(18,18,23,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); background: none; border: 0; cursor: pointer; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar .active { color: var(--text); }
  .tabbar .up { color: var(--accent-ink); }
  .tabbar .up span.circle { width: 42px; height: 42px; border-radius: 14px; background: var(--accent); display: grid; place-items: center; margin-top: -4px; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (hover: none) { .play-hover { display: none; } }
