/* hepoyna.com — koyu, canlı oyun portalı teması */
:root {
  --bg: #12112a;
  --bg-2: #1b1a3a;
  --card: #232150;
  --fg: #f4f2ff;
  --muted: #a9a5d6;
  --line: #2f2c63;
  --accent: #ffd23f;
  --accent-2: #7c5cff;
  --accent-3: #2de2a6;
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16.5px; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }

/* Üst bar */
.top { background: var(--bg-2); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 56px; }
.logo { font-weight: 900; font-size: 24px; letter-spacing: -0.03em; text-decoration: none; color: var(--fg); }
.logo span { color: var(--accent); }
.search { margin-left: auto; flex: 0 1 340px; }
.search input { width: 100%; font: inherit; font-size: 15px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; outline: none; }
.search input:focus { border-color: var(--accent-2); }
.search.big { margin: 12px 0; max-width: 560px; }
.search.big input { font-size: 18px; padding: 12px 20px; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--muted); padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.nav a:hover { color: var(--fg); border-color: var(--accent-2); }

/* Ana sayfa */
.hero { padding: 28px 16px 4px; }
.hero h1 { font-size: clamp(26px, 4.4vw, 40px); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 8px; }
.hero h1 span { color: var(--accent); }
.hero p { color: var(--muted); margin: 0 0 14px; max-width: 720px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.chip { display: inline-block; text-decoration: none; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--fg); }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.shelf { margin-top: 26px; }
.shelf-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.shelf-h h2 { font-size: 21px; margin: 0 0 12px; letter-spacing: -0.01em; }
.shelf-h h2 a { text-decoration: none; }
.more { color: var(--accent); font-weight: 700; text-decoration: none; font-size: 14.5px; white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
@media (max-width: 420px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.card { display: block; text-decoration: none; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .12s ease, border-color .12s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--accent-2); }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-2); }
.card-t { display: block; padding: 8px 10px 10px; font-weight: 700; font-size: 14.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Oyun sayfası */
.crumbs { font-size: 14px; color: var(--muted); padding: 14px 0 10px; }
.crumbs a { color: var(--muted); }
.player { position: relative; width: 100%; aspect-ratio: var(--ar, 16/9); max-height: calc(100vh - 170px); background: #000; border-radius: var(--radius); overflow: hidden; margin: 0 auto; }
.player.portrait { max-width: 480px; aspect-ratio: 9/16; }
.player-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(16px) brightness(.55); transform: scale(1.1); }
.player-go { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: flex; flex-direction: column; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer; color: #1b1300; font: inherit; }
.player-go img { width: 200px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.player-go span { background: var(--accent); font-weight: 900; font-size: 20px; padding: 12px 30px; border-radius: 999px; box-shadow: 0 6px 24px rgba(255,210,63,.35); }
.player-go:hover span { transform: scale(1.05); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px; flex-wrap: wrap; }
.player-bar h1 { font-size: clamp(21px, 3vw, 28px); margin: 0; letter-spacing: -0.02em; line-height: 1.2; }
.player-bar h1 small { display: block; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.btn { font: inherit; font-weight: 700; font-size: 14.5px; color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; cursor: pointer; }
.btn:hover { border-color: var(--accent); }
.game-body { margin-top: 6px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 22px; margin: 26px 0 8px; letter-spacing: -0.01em; }
.prose h3 { font-size: 18px; margin: 20px 0 6px; }
.prose p, .prose li { color: #dcd9f5; }
.prose a { color: var(--accent); }
.prose ul { padding-left: 22px; }
.prose li { margin: 4px 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.page-h1 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.025em; line-height: 1.2; margin: 4px 0 6px; }
.lead { color: var(--muted); margin: 0 0 6px; max-width: 820px; }
.col-prose { margin-top: 32px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 8px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details > div { margin-top: 8px; color: #dcd9f5; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 18px; }
.cat { display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.cat:hover { border-color: var(--accent); }
.cat-imgs { display: flex; gap: 6px; margin-bottom: 6px; }
.cat-imgs img { width: 33%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.cat strong { font-size: 17px; }
.cat span:last-child { color: var(--muted); font-size: 14px; }

/* Alt bilgi */
.foot { margin-top: 56px; background: var(--bg-2); border-top: 1px solid var(--line); padding: 28px 0 20px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 28px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } }
.foot p { color: var(--muted); }
.foot-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 16px; }
.foot-links a, .foot-bottom a { color: var(--muted); text-decoration: none; }
.foot-links a:hover, .foot-bottom a:hover { color: var(--fg); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.foot-bottom span { margin-left: auto; }
@media (max-width: 560px) {
  .nav { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 24px; }
}
