/* Oyun Kulübü */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #7C3AED; --primary-light: #A78BFA;
  --secondary: #EC4899; --accent-yellow: #FBBF24;
  --bg: #0B0B1F; --bg-soft: #15152E; --bg-card: #1A1A33; --bg-hover: #21214A;
  --text: #F3F4F6; --text-soft: #9CA3AF; --text-dim: #6B7280;
  --border: rgba(255,255,255,0.08);
  --header-h: 64px;
}
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh; line-height: 1.5; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.4); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124,58,237,0.6); }

/* HEADER */
header.site-header {
  background: rgba(11,11,31,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 10px 16px;
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
}
.header-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; gap: 12px; height: 100%; }
.logo-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-svg { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text {
  font-size: 20px; font-weight: 900;
  background: linear-gradient(135deg, #FBBF24 0%, #EC4899 50%, #A78BFA 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; letter-spacing: -0.5px;
}
@media (max-width: 700px) { .logo-text { display: none; } .logo-svg { width: 36px; height: 36px; } }

.search-bar-header { flex: 1; max-width: 480px; position: relative; margin: 0 8px; }
.search-input {
  width: 100%; padding: 9px 18px 9px 40px;
  border: 1.5px solid var(--border); border-radius: 50px;
  font-size: 14px; font-family: inherit;
  background: rgba(255,255,255,0.04); color: var(--text);
  outline: none; transition: all 0.2s;
}
.search-input:focus {
  border-color: var(--primary); background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.15);
}
.search-input::placeholder { color: var(--text-dim); }
.search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; pointer-events: none; fill: var(--text-soft);
}
.header-actions { display: flex; gap: 6px; align-items: center; }
nav.top-nav { display: flex; gap: 6px; }
nav.top-nav a {
  color: var(--text-soft); font-weight: 600; font-size: 13px;
  padding: 6px 12px; border-radius: 8px; transition: all 0.2s; white-space: nowrap;
}
nav.top-nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
@media (max-width: 900px) { nav.top-nav { display: none; } }
.lang-switch { display: flex; gap: 2px; background: rgba(255,255,255,0.05); padding: 3px; border-radius: 14px; flex-shrink: 0; }
.lang-switch a { padding: 4px 10px; border-radius: 11px; font-size: 12px; font-weight: 700; color: var(--text-soft); }
.lang-switch a.active { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; }

/* LAYOUT */
.main-layout { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr; }
@media (max-width: 1024px) { .main-layout { grid-template-columns: 1fr; } }

/* SIDEBAR */
aside.sidebar {
  position: sticky; top: var(--header-h);
  height: calc(100vh - var(--header-h)); overflow-y: auto;
  padding: 16px 12px; border-right: 1px solid var(--border);
}
aside.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-dim); font-weight: 700; padding: 10px 12px 8px;
}
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--text-soft);
  cursor: pointer; transition: all 0.15s;
  position: relative;
}
.sidebar-link:hover { background: var(--bg-hover); color: var(--text); }
.sidebar-link.active {
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(236,72,153,0.2));
  color: var(--text); border: 1px solid rgba(124,58,237,0.4);
}
.sidebar-icon {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.sidebar-link span:nth-child(2) { flex: 1; }
.cat-count {
  font-size: 11px; font-weight: 700;
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
  padding: 2px 7px; border-radius: 8px;
}
.sidebar-link.active .cat-count { background: rgba(124,58,237,0.4); color: white; }

@media (max-width: 1024px) {
  aside.sidebar {
    position: sticky !important; top: var(--header-h) !important; z-index: 50 !important;
    height: auto !important;
    border-right: none !important; border-bottom: 1px solid var(--border) !important;
    padding: 10px 12px !important; display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important; overflow-y: hidden !important; gap: 6px !important;
    background: rgba(11,11,31,0.95) !important; backdrop-filter: blur(10px) !important;
    white-space: nowrap;
  }
  aside.sidebar::-webkit-scrollbar { height: 0 !important; display: none !important; }
  .sidebar h4 { display: none !important; }
  .sidebar-link { padding: 7px 12px !important; flex-shrink: 0 !important; font-size: 13px !important; }
  .cat-count { display: none !important; }
  #cat-list { display: flex !important; flex-direction: row !important; gap: 6px !important; flex: 1; }
}

/* HERO */
.hero-banner {
  position: relative;
  background: linear-gradient(135deg, #1A1A33 0%, #15152E 100%);
  overflow: hidden; padding: 28px 24px;
  border-radius: 20px; margin: 16px;
  border: 1px solid var(--border);
}
.hero-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(124,58,237,0.4), transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(236,72,153,0.35), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(245,158,11,0.15), transparent 60%);
  animation: bgmove 15s ease-in-out infinite;
}
@keyframes bgmove {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
  50% { transform: scale(1.15) rotate(2deg); opacity: 1; }
}
.hero-content {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 24px;
  max-width: 1100px; margin: 0 auto;
}
.hero-text { flex: 1; min-width: 0; }
.hero-badge {
  display: inline-block;
  background: rgba(251,191,36,0.15); color: #FCD34D;
  padding: 5px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700; margin-bottom: 10px;
  border: 1px solid rgba(251,191,36,0.3);
}
.hero-text h1 {
  font-size: clamp(22px, 4vw, 36px); font-weight: 900; line-height: 1.05;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FCD34D 50%, #F472B6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}
.hero-text p { font-size: clamp(13px, 2vw, 15px); color: var(--text-soft); margin-bottom: 14px; }
.hero-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stat { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-soft); }
.hero-stat strong { color: var(--text); font-weight: 800; font-size: 15px; }
.hero-mascot {
  width: clamp(110px, 16vw, 180px); flex-shrink: 0;
  filter: drop-shadow(0 10px 30px rgba(124,58,237,0.4));
  animation: bob 3s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
@media (max-width: 600px) { .hero-mascot { display: none; } .hero-banner { padding: 22px 18px; margin: 12px; } }

/* CONTENT */
.content-area { padding: 16px; min-width: 0; }
@media (max-width: 600px) { .content-area { padding: 12px; } }

.section { margin-bottom: 32px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.section-title {
  font-size: clamp(17px, 2.5vw, 22px); font-weight: 800;
  display: flex; align-items: center; gap: 10px; color: var(--text);
}
.section-emoji {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 4px 14px rgba(124,58,237,0.3);
}
.section-emoji.cyan { background: linear-gradient(135deg, #06B6D4, #3B82F6); box-shadow: 0 4px 14px rgba(6,182,212,0.3); }
.section-emoji.green { background: linear-gradient(135deg, #10B981, #06B6D4); box-shadow: 0 4px 14px rgba(16,185,129,0.3); }
.category-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -4px 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(6,182,212,0.07));
}
.category-intro-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 13px;
  background: rgba(255,255,255,0.07);
  font-size: 22px;
}
.category-intro strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.2;
}
.category-intro p {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 3px;
}

.scroll-controls { display: flex; gap: 6px; }
.scroll-btn {
  width: 36px; height: 36px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); border-radius: 50%;
  cursor: pointer; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; line-height: 1;
}
.scroll-btn:hover { background: var(--primary); border-color: var(--primary); transform: scale(1.05); }
.scroll-btn:active { transform: scale(0.95); }

/* GAME GRID */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
@media (min-width: 600px) { .game-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); } }
@media (min-width: 1024px) { .game-grid { gap: 14px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }

/* GAME ROW (yatay scrollable - scrollbar GİZLİ, oklarla kontrol) */
.game-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 150px;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin: 0 -4px; padding-left: 4px; padding-right: 4px;
}
.game-row::-webkit-scrollbar { height: 0; display: none; }
@media (min-width: 600px) { .game-row { grid-auto-columns: 170px; } }
@media (min-width: 1024px) { .game-row { grid-auto-columns: 180px; gap: 14px; } }

/* GAME CARD */
.game-card {
  background: var(--bg-card); border-radius: 14px;
  overflow: hidden; cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: block; position: relative;
  scroll-snap-align: start;
}
.game-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 12px 30px rgba(124,58,237,0.25);
}
.game-card-thumb-wrap {
  width: 100%; aspect-ratio: 1/1;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1F1F35, #16162A);
}
.game-card-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.game-card:hover .game-card-thumb { transform: scale(1.08); }
.game-card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; color: white; font-weight: 900;
}
.play-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85) 100%);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 12px; opacity: 0; transition: opacity 0.25s;
}
.game-card:hover .play-overlay { opacity: 1; }
.play-btn-mini {
  background: white; color: var(--primary);
  padding: 7px 16px; border-radius: 18px;
  font-size: 12px; font-weight: 800;
}
.game-card-body { padding: 10px 12px 12px; }
.game-card h3 {
  font-size: 13px; font-weight: 700; color: var(--text);
  line-height: 1.25;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  min-height: 32px;
}
.hot-badge, .new-badge {
  position: absolute; top: 8px;
  color: white; padding: 3px 8px; border-radius: 6px;
  font-size: 10px; font-weight: 800; z-index: 2;
}
.hot-badge { left: 8px; background: linear-gradient(135deg, #EF4444, #F97316); box-shadow: 0 2px 8px rgba(239,68,68,0.4); }
.new-badge { left: 8px; background: linear-gradient(135deg, #10B981, #06B6D4); box-shadow: 0 2px 8px rgba(16,185,129,0.4); }

/* FAV BUTTON (kalp) */
.fav-btn {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 32px; height: 32px;
  border: none; border-radius: 50%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  padding: 0;
}
.fav-btn:hover { background: rgba(239,68,68,0.85); color: #fff; transform: scale(1.1); }
.fav-btn.active { background: rgba(239,68,68,0.95); color: #fff; }
.fav-btn.active:hover { background: rgba(220,38,38,1); }
.fav-btn.pop { animation: popHeart 0.3s ease-out; }
@keyframes popHeart {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}
/* Kalp butonu her kartta tam gorunsun; rozetler solda, kalp sag ustte kalir. */
.game-card .fav-btn {
  top: 8px;
  right: 8px;
  left: auto;
  transform: none;
}

/* RANDOM BUTTON (header'da) */
.random-btn {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  border: none; border-radius: 12px;
  font-size: 20px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(251,191,36,0.3);
  transition: all 0.2s;
}
.random-btn:hover { transform: rotate(15deg) scale(1.08); box-shadow: 0 6px 18px rgba(251,191,36,0.5); }
.random-btn:active { transform: rotate(360deg) scale(0.95); transition: transform 0.4s; }
@media (max-width: 480px) {
  .random-btn { width: 34px; height: 34px; font-size: 18px; }
}

/* BACK PILL (oyun sayfası) */
.back-pill {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-soft);
  padding: 7px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}
.back-pill:hover { background: var(--bg-hover); color: var(--text); transform: translateX(-2px); }

/* PAGE FAV BUTTON (oyun sayfası header'da) */
.fav-btn.page-fav {
  position: static;
  width: 38px; height: 38px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-soft);
}
.fav-btn.page-fav:hover { background: rgba(239,68,68,0.2); color: #FCA5A5; border-color: rgba(239,68,68,0.4); }
.fav-btn.page-fav.active { background: rgba(239,68,68,0.95); color: #fff; border-color: #EF4444; }

/* SKELETON */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.skeleton-card {
  background: var(--bg-card); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border);
}
.skeleton-thumb {
  width: 100%; aspect-ratio: 1/1;
  background: linear-gradient(90deg, #1F1F35 0%, #2A2A40 50%, #1F1F35 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
}
.skeleton-line {
  height: 12px; border-radius: 4px;
  background: linear-gradient(90deg, #1F1F35, #2A2A40, #1F1F35);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
  margin: 10px 12px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.bg-loader {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-dim);
  padding: 5px 12px; border-radius: 10px;
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.2);
}
.bg-loader.hidden { display: none; }
.bg-spinner {
  width: 12px; height: 12px;
  border: 2px solid var(--border); border-top-color: var(--primary);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.load-more {
  display: block; margin: 28px auto 0;
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; border: none; border-radius: 50px;
  font-size: 15px; font-weight: 800; cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 20px rgba(124,58,237,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}
.load-more:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,58,237,0.5); }

.random-picker {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6,6,18,0.76);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(16px);
  transition: opacity 0.18s ease;
}
.random-picker.show {
  opacity: 1;
  pointer-events: auto;
}
.random-picker-card {
  position: relative;
  width: min(620px, 100%);
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(26,26,51,0.98), rgba(15,15,35,0.98));
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.18s ease;
}
.random-picker.show .random-picker-card {
  transform: translateY(0) scale(1);
}
.random-picker-kicker {
  margin-bottom: 16px;
  color: #FDE68A;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.random-picker-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--text-soft);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.random-picker-close:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.random-picker-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.random-picker-strip::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -8px;
  bottom: -8px;
  width: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, #FBBF24, transparent);
  box-shadow: 0 0 18px rgba(251,191,36,0.6);
  opacity: 0.8;
  pointer-events: none;
}
.random-picker-item {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  animation: none;
}
.random-picker-strip.is-spinning .random-picker-item {
  animation: randomPulse 0.22s ease-in-out infinite alternate;
}
.random-picker-strip.is-spinning .random-picker-item:nth-child(2) { animation-delay: 0.04s; }
.random-picker-strip.is-spinning .random-picker-item:nth-child(3) { animation-delay: 0.08s; }
.random-picker-strip.is-spinning .random-picker-item:nth-child(4) { animation-delay: 0.12s; }
.random-picker-strip.is-spinning .random-picker-item:nth-child(5) { animation-delay: 0.16s; }
.random-picker-item.is-picked {
  border-color: rgba(251,191,36,0.7);
  box-shadow: 0 0 0 3px rgba(251,191,36,0.12);
  background: rgba(251,191,36,0.10);
  transform: translateY(-6px) scale(1.04);
}
.random-picker-item img,
.random-picker-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
}
.random-picker-item.thumb-failed img {
  display: none;
}
.random-picker-item.thumb-failed::before {
  content: '🎮';
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 1;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 34px;
}
.random-picker-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
}
.random-picker-item span {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.random-picker-card p {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 14px;
}
.random-picker-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}
.random-picker-primary {
  min-width: 170px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(124,58,237,0.42);
}
.random-picker-primary:disabled {
  cursor: wait;
  opacity: 0.78;
}
@media (max-width: 520px) {
  .random-picker {
    padding: 14px;
  }
  .random-picker-card {
    padding: 18px;
    border-radius: 18px;
  }
  .random-picker-strip {
    gap: 9px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .random-picker-item:first-child,
  .random-picker-item:last-child {
    display: none;
  }
  .random-picker-item {
    padding: 7px;
    border-radius: 14px;
  }
  .random-picker-item span {
    font-size: 11px;
  }
}
@keyframes randomPulse {
  from { transform: translateY(0); }
  to { transform: translateY(-5px); }
}

.no-results { text-align: center; padding: 60px 20px; color: var(--text-soft); }
.no-results-emoji { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }

/* SEO İÇERİK BLOĞU */
.seo-content {
  max-width: 920px; margin: 40px auto 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 30px;
}
.seo-content h2 {
  font-size: clamp(20px, 3vw, 26px); font-weight: 800;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #FBBF24, #EC4899, #A78BFA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.seo-content h3 {
  font-size: clamp(15px, 2vw, 18px); font-weight: 700;
  color: var(--text);
  margin: 22px 0 8px;
  display: flex; align-items: center; gap: 8px;
}
.seo-content h3::before {
  content: ''; width: 4px; height: 18px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
}
.seo-content p {
  color: var(--text-soft); font-size: 14px;
  line-height: 1.7; margin-bottom: 10px;
}
.seo-content strong { color: var(--text); font-weight: 700; }
.seo-content details {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 8px 0;
  transition: all 0.2s;
}
.seo-content details[open] { background: rgba(124,58,237,0.06); border-color: rgba(124,58,237,0.3); }
.seo-content summary {
  cursor: pointer; font-weight: 700;
  color: var(--text); font-size: 14px;
  list-style: none;
  display: flex; align-items: center; gap: 10px;
}
.seo-content summary::before {
  content: '+'; font-size: 18px;
  color: var(--primary-light); font-weight: 900;
  width: 20px; text-align: center;
}
.seo-content details[open] summary::before { content: '−'; }
.seo-content details p {
  margin-top: 10px; padding-left: 30px;
  font-size: 13px;
}
@media (max-width: 600px) {
  .seo-content { margin: 28px 12px 0; padding: 20px 18px; border-radius: 14px; }
}

/* FOOTER */
footer.site-footer {
  background: #06061A; border-top: 1px solid var(--border);
  padding: 32px 20px 18px; margin-top: 40px;
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
footer h4 {
  color: var(--text); font-size: 12px;
  margin-bottom: 12px; text-transform: uppercase;
  letter-spacing: 1.5px; font-weight: 700;
}
footer ul { list-style: none; }
footer li { padding: 4px 0; }
footer a { color: var(--text-soft); font-size: 13px; transition: color 0.2s; }
footer a:hover { color: var(--text); }
.footer-desc { font-size: 13px; color: var(--text-soft); }
.footer-bottom {
  border-top: 1px solid var(--border); margin-top: 24px;
  padding-top: 16px; text-align: center;
  color: var(--text-soft); font-size: 12px;
  max-width: 1400px; margin-left: auto; margin-right: auto;
}

/* OYUN SAYFASI ÖZGÜLLERİ */
.game-page-grid {
  max-width: 1600px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px; padding: 12px;
}
@media (max-width: 900px) { .game-page-grid { grid-template-columns: 1fr; gap: 14px; padding: 12px; } }
@media (max-width: 600px) { .game-page-grid { padding: 8px; gap: 10px; } }

.game-section {
  background: var(--bg-card); border-radius: 18px;
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.game-page-header {
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(236,72,153,0.1));
}
.game-page-header h1 {
  font-size: clamp(15px, 2.2vw, 20px); font-weight: 800;
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cat-badge {
  background: rgba(124,58,237,0.25); color: #C4B5FD;
  padding: 4px 10px; border-radius: 8px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  flex-shrink: 0;
}
.fullscreen-btn {
  background: rgba(251,191,36,0.14); border: 1px solid rgba(251,191,36,0.36); color: #FDE68A;
  padding: 7px 11px; border-radius: 8px;
  cursor: pointer; font-size: 14px; font-weight: 700;
  flex-shrink: 0; transition: all 0.2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.fullscreen-btn:hover { background: #FBBF24; border-color: #FBBF24; color: #17100A; }
.fullscreen-icon { font-size: 16px; line-height: 1; }
.fullscreen-label { font-size: 12px; line-height: 1; }

.game-frame-wrap {
  position: relative; width: 100%;
  background: black;
  /* Ekrana sığsın, kaydırmaya gerek kalmasın */
  height: calc(100vh - var(--header-h) - 110px);
  max-height: 760px;
  min-height: 380px;
}
@media (max-width: 1024px) {
  .game-frame-wrap {
    height: calc(100vh - var(--header-h) - 100px);
    max-height: 600px;
    min-height: 340px;
  }
}
@media (max-width: 768px) {
  .game-frame-wrap {
    height: calc(100vh - var(--header-h) - 90px);
    max-height: 520px;
    min-height: 280px;
  }
}
@media (max-width: 480px) {
  .game-frame-wrap {
    height: calc(100vh - var(--header-h) - 80px);
    min-height: 260px;
  }
}
.game-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

html.mobile-game-fullscreen,
body.mobile-game-fullscreen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body.mobile-game-fullscreen .site-header,
body.mobile-game-fullscreen .sidebar,
body.mobile-game-fullscreen .game-info,
body.mobile-game-fullscreen .footer {
  display: none !important;
}
body.mobile-game-fullscreen .main,
body.mobile-game-fullscreen .game-layout,
body.mobile-game-fullscreen .game-section {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
body.mobile-game-fullscreen .game-page-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  z-index: 100000;
  border-radius: 0;
  background: rgba(10, 10, 18, 0.96);
}
body.mobile-game-fullscreen .game-page-header .back-pill,
body.mobile-game-fullscreen .game-page-header .cat-badge,
body.mobile-game-fullscreen .game-page-header .page-fav {
  display: none;
}
body.mobile-game-fullscreen .game-frame-wrap {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  width: 100vw;
  height: calc(100dvh - 48px);
  max-height: none;
  min-height: 0;
}
body.mobile-game-fullscreen .fullscreen-btn {
  background: var(--primary);
  border-color: var(--primary);
}

.play-overlay-big {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  cursor: pointer; z-index: 5;
}
.play-overlay-big::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}
.play-overlay-big.hidden { display: none; }
.play-now-btn {
  position: relative; z-index: 1;
  width: 90px; height: 90px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 40px rgba(124,58,237,0.6);
  transition: transform 0.2s;
  animation: pulsex 2s ease-in-out infinite;
}
.play-overlay-big:hover .play-now-btn { transform: scale(1.1); }
@keyframes pulsex {
  0%, 100% { box-shadow: 0 12px 40px rgba(124,58,237,0.6); }
  50% { box-shadow: 0 12px 60px rgba(236,72,153,0.7); }
}
.play-now-btn::after {
  content: '';
  width: 0; height: 0;
  border-style: solid; border-width: 18px 0 18px 28px;
  border-color: transparent transparent transparent white;
  margin-left: 6px;
}
.play-now-label {
  position: relative; z-index: 1;
  margin-top: 18px;
  color: white; font-size: 17px; font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  letter-spacing: 0.5px;
}

.frame-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--bg-card); color: var(--text-soft);
  z-index: 1;
  /* Tiklamalari iframe'e gecir - mobilde load event'i bazen gec geliyor,
     loading div ekranda kalsa da kullanicinin tiklamasi iframe'deki PLAY'a ulasmali. */
  pointer-events: none;
}
.frame-loading.hidden { display: none; }
/* iframe'i loading'in uzerinde tut - default stacking yetmiyor */
.game-frame { z-index: 2; }
.spinner {
  width: 50px; height: 50px;
  border: 4px solid rgba(124,58,237,0.2); border-top-color: var(--primary);
  border-radius: 50%; animation: spin 0.9s linear infinite;
  margin-bottom: 14px;
}

.game-info { padding: 18px 20px; border-top: 1px solid var(--border); }
.game-info-block { margin-bottom: 16px; }
.game-info-block:last-child { margin-bottom: 0; }
.info-label {
  font-size: 11px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 700; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.info-label::before {
  content: ''; width: 4px; height: 14px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
}
.info-text { color: var(--text-soft); font-size: 14px; line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); color: var(--text-soft);
  padding: 4px 11px; border-radius: 12px;
  font-size: 12px; transition: all 0.2s;
}
.tag:hover { background: rgba(124,58,237,0.2); color: var(--primary-light); border-color: var(--primary); }

aside.game-sidebar {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
  min-width: 300px;
  align-self: start;
}
.meta-card {
  background: var(--bg-card); border-radius: 14px;
  border: 1px solid var(--border); padding: 14px;
}
.meta-card h3 {
  font-size: 12px; font-weight: 700;
  color: var(--text); margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
}
.meta-card h3::before {
  content: ''; width: 4px; height: 14px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
}
.meta-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.meta-row:last-child { border-bottom: none; }
.meta-row span:first-child { color: var(--text-dim); }
.meta-row span:last-child { color: var(--text); font-weight: 600; }

.related-list { display: flex; flex-direction: column; gap: 8px; }
.related-card {
  display: flex; gap: 10px;
  padding: 6px; border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.related-card:hover { background: var(--bg-hover); border-color: rgba(124,58,237,0.5); transform: translateX(2px); }
.related-thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 8px; object-fit: cover; }
.related-thumb-placeholder {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: white; font-weight: 900;
}
.related-info { flex: 1; min-width: 0; }
.related-info h4 {
  font-size: 13px; font-weight: 700; color: var(--text);
  line-height: 1.3; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  margin-bottom: 4px;
}
.related-info span {
  font-size: 10px; color: var(--text-dim);
  background: rgba(124,58,237,0.15); padding: 2px 6px; border-radius: 4px;
  display: inline-block;
}

@media (max-width: 900px) {
  aside.game-sidebar {
    min-width: 0;
    width: 100%;
  }
  aside.game-sidebar .meta-card:nth-child(2) {
    order: -1;
  }
  aside.game-sidebar .related-list {
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    margin: 0 -2px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  aside.game-sidebar .related-list::-webkit-scrollbar {
    display: none;
  }
  aside.game-sidebar .related-card {
    flex: 0 0 142px;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    scroll-snap-align: start;
  }
  aside.game-sidebar .related-card:hover {
    transform: translateY(-2px);
  }
  aside.game-sidebar .related-thumb,
  aside.game-sidebar .related-thumb-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
  }
  aside.game-sidebar .related-info h4 {
    font-size: 12px;
    min-height: 32px;
  }
}

.error-screen { text-align: center; padding: 80px 20px; }
.error-screen .emoji { font-size: 56px; margin-bottom: 14px; opacity: 0.5; }
.error-screen h2 { color: var(--text); margin-bottom: 8px; font-size: 22px; }
.error-screen p { color: var(--text-soft); margin-bottom: 20px; }
.error-screen a {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; padding: 12px 28px; border-radius: 24px;
  font-weight: 700; display: inline-block;
}

/* === MOBILE FIXES === */
@media (max-width: 700px) {
  header.site-header { padding: 8px 10px; height: auto; min-height: 56px; }
  .header-inner { gap: 6px; flex-wrap: wrap; align-items: center; }
  .logo-svg { width: 34px !important; height: 34px !important; }
  .search-bar-header {
    order: 3; flex-basis: 100%; max-width: 100%;
    margin: 6px 0 2px 0;
  }
  .search-input { padding: 9px 16px 9px 38px; font-size: 14px; }
  .search-icon { left: 12px; width: 16px; height: 16px; }
  .header-actions { margin-left: auto; gap: 4px; }
  .lang-switch a { padding: 3px 8px; font-size: 11px; }
}
/* Mobilde sidebar (yatay scroll) opsiyonel gizle - drawer'da zaten var */
@media (max-width: 700px) {
  .main-layout > aside.sidebar { display: none !important; }
}
@media (max-width: 480px) {
  .hero-banner { padding: 18px 14px; margin: 10px; }
  .hero-content { gap: 12px; }
  .hero-text h1 { font-size: 22px; line-height: 1.1; margin-bottom: 6px; }
  .hero-text p { font-size: 13px; margin-bottom: 10px; }
  .hero-badge { font-size: 11px; padding: 4px 10px; margin-bottom: 8px; }
  .hero-stats { gap: 10px; }
  .hero-stat { font-size: 11px; }
  .hero-stat strong { font-size: 13px; }
  .scroll-btn { width: 32px; height: 32px; font-size: 18px; }
  .section-emoji { width: 28px; height: 28px; font-size: 15px; }
  .section-title { font-size: 16px; gap: 8px; }
}

/* MOBİL NAV - tüm sayfalarda görsün */
@media (max-width: 900px) {
  nav.top-nav.mobile-show { display: flex !important; }
  nav.top-nav.mobile-show a { padding: 5px 10px; font-size: 12px; }
}

/* GAME PAGE MOBILE */
@media (max-width: 768px) {
  .game-page-header .back-pill { padding: 6px 10px; font-size: 12px; }
  .game-page-header .cat-badge { display: none; }
  .game-page-header h1 { font-size: 14px; }
  .fav-btn.page-fav { width: 36px; height: 36px; }
}
@media (max-width: 600px) {
  .game-page-header { padding: 8px 10px; gap: 6px; }
  .game-page-header h1 { font-size: 13px; }
  .cat-badge { font-size: 10px; padding: 3px 8px; }
  .fullscreen-btn { width: 36px; height: 36px; padding: 0; font-size: 14px; display: flex; align-items: center; justify-content: center; }
  .fullscreen-btn {
    width: auto;
    min-width: 92px;
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: #FBBF24;
    border-color: #FBBF24;
    color: #17100A;
    box-shadow: 0 8px 20px rgba(251,191,36,0.28);
  }
  .fullscreen-label { display: inline; font-size: 11px; font-weight: 900; }
  .game-info { padding: 14px 16px; }
  .play-now-btn { width: 70px; height: 70px; }
  .play-now-btn::after { border-width: 14px 0 14px 22px; }
  .play-now-label { font-size: 14px; margin-top: 14px; }
  .meta-card { padding: 12px; }
  .back-pill { padding: 6px 10px; font-size: 11px; }
}
@media (max-width: 420px) {
  /* Çok dar ekranda h1 gizle, back ve butonlar kalsın */
  .game-page-header h1 { display: none; }
}

/* HAMBURGER + DRAWER (Poki/CrazyGames stili - SOL drawer) */
.hamburger-btn {
  display: none;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; padding: 0;
  flex-shrink: 0;
  margin-right: 4px;
}
.hamburger-btn:hover { background: rgba(255,255,255,0.1); }
.hamburger-btn span {
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}
@media (max-width: 1024px) {
  .hamburger-btn { display: flex !important; }
}

/* Drawer (sol slide-in) */
.drawer {
  position: fixed; top: 0; left: 0;
  width: 86%; max-width: 320px; height: 100vh;
  background: rgba(11,11,31,0.98);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  overflow-y: auto;
  box-shadow: 8px 0 40px rgba(0,0,0,0.6);
}
.drawer.open { transform: translateX(0); }
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 199;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
body.drawer-open { overflow: hidden; }

.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: rgba(11,11,31,0.98);
  backdrop-filter: blur(20px);
  z-index: 1;
}
.drawer-title {
  font-size: 17px; font-weight: 800;
  background: linear-gradient(135deg, #FBBF24, #EC4899, #A78BFA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.drawer-close {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.05); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 22px; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.drawer-close:hover { background: rgba(239,68,68,0.2); border-color: #EF4444; }

.drawer-nav { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.drawer-secondary-nav {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.drawer-nav a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 15px; font-weight: 600;
  transition: all 0.15s;
}
.drawer-nav a:hover, .drawer-nav a:active {
  background: var(--bg-hover); color: var(--text);
  transform: translateX(2px);
}
.drawer-section-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-dim); font-weight: 700;
  padding: 14px 22px 8px;
  border-top: 1px solid var(--border);
  margin-top: 6px;
}
.drawer-cat-list { padding: 4px 12px 24px; display: flex; flex-direction: column; gap: 2px; }
.drawer-cat-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--text-soft); font-weight: 600; font-size: 14px;
  cursor: pointer; transition: all 0.15s;
}
.drawer-cat-link:hover, .drawer-cat-link:active {
  background: var(--bg-hover); color: var(--text);
}
.drawer-cat-link.active {
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(236,72,153,0.2));
  color: var(--text); border: 1px solid rgba(124,58,237,0.4);
}
.drawer-cat-link .cat-icon { font-size: 16px; width: 22px; text-align: center; }
.drawer-cat-link .cat-name { flex: 1; }
.drawer-cat-link .cat-num {
  font-size: 11px; font-weight: 700;
  background: rgba(255,255,255,0.05); color: var(--text-dim);
  padding: 2px 7px; border-radius: 8px;
}
.drawer-cat-link.active .cat-num { background: rgba(124,58,237,0.4); color: white; }

/* Desktop'ta drawer gizli */
@media (min-width: 1025px) {
  .drawer, .drawer-backdrop { display: none !important; }
}

/* Eski .mobile-menu (oyun sayfası) - basit dropdown */
.mobile-menu {
  display: none;
  position: fixed; top: var(--header-h);
  left: 0; width: 100%; max-width: 320px;
  background: rgba(11,11,31,0.98);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-bottom-right-radius: 16px;
  padding: 12px;
  z-index: 99;
  box-shadow: 8px 8px 30px rgba(0,0,0,0.5);
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 15px; font-weight: 600;
}
.mobile-menu a:hover { background: var(--bg-hover); color: var(--text); }
@media (min-width: 1025px) { .mobile-menu { display: none !important; } }

/* MOBİLDE SLOGAN GARANTİLİ GÖRÜNSÜN */
@media (max-width: 700px) {
  .hero-banner { margin: 8px; padding: 18px 14px; }
  .hero-content { display: block; }
  .hero-mascot { display: none; }
  .hero-text h1 { font-size: 24px; line-height: 1.1; margin-bottom: 8px; }
  .hero-text p { font-size: 13px; line-height: 1.4; }
}

/* === ARCADE COMPACT PASS === */
body { background: #080815; }
header.site-header {
  background: rgba(8,8,21,0.96);
  padding: 8px 14px;
}
.logo-text { font-size: 18px; letter-spacing: 0; }
.search-input {
  border-radius: 12px;
  background: rgba(255,255,255,0.055);
}
.main-layout {
  max-width: 1520px;
  grid-template-columns: 200px 1fr;
}
aside.sidebar {
  background: rgba(255,255,255,0.015);
  padding: 12px 10px;
}
.sidebar-link {
  border-radius: 8px;
  padding: 8px 10px;
}
.sidebar-link.active {
  background: rgba(124,58,237,0.20);
  border-color: rgba(251,191,36,0.22);
}
.content-area { padding: 10px 14px 18px; }
.hero-banner {
  margin: 10px 0 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26,26,51,0.95), rgba(12,18,32,0.98));
}
.hero-banner::before {
  background:
    linear-gradient(90deg, rgba(251,191,36,0.10), transparent 30%),
    radial-gradient(circle at 88% 40%, rgba(6,182,212,0.20), transparent 34%),
    radial-gradient(circle at 20% 20%, rgba(236,72,153,0.16), transparent 30%);
  animation: bgmove 15s ease-in-out infinite;
}
.hero-content {
  max-width: none;
  gap: 18px;
}
.hero-badge {
  margin-bottom: 6px;
  padding: 4px 10px;
  border-radius: 8px;
}
.hero-text h1 {
  font-size: clamp(20px, 3vw, 30px);
  margin-bottom: 5px;
  letter-spacing: 0;
}
.hero-text p {
  max-width: 520px;
  margin-bottom: 10px;
}
.hero-stats { gap: 10px; }
.hero-stat {
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255,255,255,0.035);
}
.hero-mascot {
  width: clamp(110px, 14vw, 170px);
  animation: bob 3s ease-in-out infinite;
}
.section { margin-bottom: 22px; }
.section-header { margin-bottom: 10px; }
.section-title { font-size: clamp(16px, 2vw, 20px); }
.section-emoji {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: none;
}
.game-grid { gap: 10px; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); }
.game-row {
  grid-auto-columns: 138px;
  gap: 10px;
}
.game-card {
  border-radius: 9px;
  background: #141426;
}
.game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}
.game-card-body { padding: 8px 9px 10px; }
.game-card h3 { font-size: 12px; min-height: 30px; }
.play-overlay { padding-bottom: 10px; }
.load-more {
  border-radius: 12px;
  box-shadow: none;
}
.seo-content {
  max-width: none;
  margin: 22px 0 0;
  padding: 18px 20px;
  border-radius: 10px;
  background: rgba(255,255,255,0.012);
}
.seo-content h2 {
  font-size: 18px;
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--text-soft);
}
.seo-content h3 {
  font-size: 15px;
  margin-top: 16px;
}
.seo-content p { font-size: 13px; line-height: 1.6; }
footer.site-footer {
  margin-top: 24px;
  padding-top: 22px;
}
@media (min-width: 600px) {
  .game-row { grid-auto-columns: 150px; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (min-width: 1024px) {
  .game-row { grid-auto-columns: 158px; gap: 12px; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
}
@media (max-width: 1024px) {
  .main-layout { grid-template-columns: 1fr; }
  aside.sidebar { display: none !important; }
  .content-area { padding-top: 8px; }
}
@media (max-width: 700px) {
  .header-inner { gap: 8px; }
  .search-bar-header { margin: 0; }
  .hero-banner {
    margin: 8px 0 12px;
    padding: 12px;
    border-radius: 10px;
  }
  .hero-text h1 { font-size: 21px; }
  .hero-text p { margin-bottom: 8px; }
  .hero-stats { display: none; }
  .section { margin-bottom: 18px; }
  .game-row {
    grid-auto-columns: 132px;
    gap: 9px;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .seo-content { margin-top: 18px; padding: 14px; }
}
@media (max-width: 380px) {
  .game-row { grid-auto-columns: 124px; }
}

/* === MOBILE APP FEEL === */
.mobile-tabbar { display: none; }
.orientation-toast { display: none; }
.orientation-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-top: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(0,0,0,0.42);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}
@media (max-width: 700px) {
  body:has(.mobile-tabbar) {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }
  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1300;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255,255,255,0.10);
    border-radius: 0;
    background: rgba(11,11,29,0.96);
    box-shadow: 0 -10px 26px rgba(0,0,0,0.42);
    backdrop-filter: blur(14px);
  }
  .mobile-tab {
    display: flex;
    min-width: 0;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(255,255,255,0.64);
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
  }
  .mobile-tab.active,
  .mobile-tab:focus-visible {
    background: rgba(251,191,36,0.14);
    color: #fff;
    outline: none;
  }
  .tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 19px;
    line-height: 1;
    /* Unicode glyphlerin (♡, ↺) kirpilmasini onlemek icin */
    overflow: visible;
  }
  .orientation-toast {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    z-index: 1350;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(251,191,36,0.24);
    border-radius: 16px;
    background: rgba(12,12,26,0.96);
    color: #fff;
    box-shadow: 0 16px 38px rgba(0,0,0,0.42);
    backdrop-filter: blur(18px);
  }
  .orientation-toast.hidden { display: none; }
  .orientation-toast-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: rgba(251,191,36,0.16);
    color: #FBBF24;
    font-size: 25px;
    font-weight: 900;
  }
  .orientation-toast-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .orientation-toast-text strong {
    font-size: 13px;
    line-height: 1.1;
  }
  .orientation-toast-text span {
    color: rgba(255,255,255,0.74);
    font-size: 12px;
    line-height: 1.25;
  }
  .orientation-toast button {
    min-height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 11px;
    background: #FBBF24;
    color: #17100A;
    font-size: 12px;
    font-weight: 900;
  }
  body.mobile-game-fullscreen {
    padding-bottom: 0;
  }
  body.mobile-game-fullscreen .mobile-tabbar,
  body.mobile-game-fullscreen .orientation-toast {
    display: none !important;
  }
}

/* === Live Search Dropdown === */
.search-dd {
  position: absolute;
  background: #16162A;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  z-index: 9999;
  max-width: 480px;
  max-height: 70vh;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  padding: 8px 0;
  font-family: inherit;
}
.search-dd.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.search-dd .dd-section-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: #9CA3AF;
}
.search-dd .dd-clear {
  background: none; border: none; color: #A78BFA;
  font-size: 11px; font-weight: 600; cursor: pointer;
  padding: 0; text-transform: none; letter-spacing: 0;
}
.search-dd .dd-clear:hover { color: #EC4899; }
.search-dd .dd-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 4px 14px 12px;
}
.search-dd .dd-chip {
  background: rgba(124,58,237,0.14);
  border: 1px solid rgba(124,58,237,0.26);
  color: #C4B5FD;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px; font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.search-dd .dd-chip:hover {
  background: rgba(124,58,237,0.28); color: #fff;
  border-color: rgba(124,58,237,0.5);
}
.search-dd .dd-list { padding: 4px 0; }
.search-dd .dd-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 8px 14px;
  background: none; border: none;
  text-align: left; cursor: pointer;
  color: #F3F4F6;
  font-family: inherit;
  transition: background .12s;
}
.search-dd .dd-item:hover, .search-dd .dd-item.active {
  background: rgba(124,58,237,0.18);
}
.search-dd .dd-thumb {
  width: 44px; height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #0B0B1F;
  flex-shrink: 0;
}
.search-dd .dd-thumb-ph {
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, #7C3AED, #EC4899);
}
.search-dd .dd-title {
  flex: 1; min-width: 0;
  font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-dd .dd-title mark {
  background: rgba(251,191,36,0.32);
  color: #FBBF24;
  padding: 1px 2px;
  border-radius: 3px;
}
.search-dd .dd-cat {
  font-size: 11px;
  color: #9CA3AF;
  background: rgba(255,255,255,0.06);
  padding: 3px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.search-dd .dd-empty {
  padding: 22px 18px;
  text-align: center;
  color: #9CA3AF;
  font-size: 13.5px;
}
.