:root {
  --bg: #0b0d14;
  --bg2: #12151f;
  --panel: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.1);
  --text: #eceef5;
  --muted: #9aa0b4;
  --gold: #ffcc61;
  --gold2: #f2a93b;
  --accent: #8a5cf5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(138, 92, 245, 0.22), transparent 60%),
    radial-gradient(800px 500px at 90% 0%, rgba(242, 169, 59, 0.14), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", "Noto Sans JP", "Noto Sans SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(16px, calc((100vw - 1100px) / 2));
  background: rgba(11, 13, 20, 0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; white-space: nowrap; }
.brand img { border-radius: 9px; }
.top nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { color: var(--muted); padding: 6px 10px; border-radius: 999px; font-size: 14px; white-space: nowrap; }
.top nav a:hover { color: var(--text); text-decoration: none; background: var(--panel); }
.top nav a.on { color: #1a1204; background: linear-gradient(180deg, var(--gold), var(--gold2)); font-weight: 600; }

main { max-width: 1100px; margin: 0 auto; padding: 0 16px 48px; }

.hero { text-align: center; padding: 56px 0 28px; }
.hero-icon { border-radius: 28px; box-shadow: 0 12px 40px rgba(242, 169, 59, 0.28); }
.hero h1 { margin: 20px 0 8px; font-size: clamp(30px, 6vw, 52px); line-height: 1.15; letter-spacing: -0.5px;
  background: linear-gradient(180deg, #fff, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { margin: 0 auto 22px; max-width: 640px; color: var(--muted); font-size: clamp(16px, 2.4vw, 20px); }
.badge { display: inline-block; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; }
.badge.soon { color: var(--gold); border: 1px solid rgba(255, 204, 97, 0.5); background: rgba(255, 204, 97, 0.08); }
.badge.play { color: #1a1204; background: linear-gradient(180deg, var(--gold), var(--gold2)); box-shadow: 0 8px 24px rgba(242, 169, 59, 0.35); }
.badge.play:hover { text-decoration: none; filter: brightness(1.06); }
.langs { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.langs a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); }

.slider { position: relative; margin: 8px 0 36px; }
.track {
  display: flex; gap: 18px; overflow-x: auto; padding: 14px calc((100% - min(78%, 760px)) / 2) 14px;
  scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track::-webkit-scrollbar { display: none; }
.track img {
  flex: 0 0 min(78%, 760px); width: min(78%, 760px); height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 20px; border: 1px solid var(--line); scroll-snap-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); transition: transform 0.3s, opacity 0.3s;
}
.slider .nav {
  position: absolute; top: calc(50% - 26px); width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(11, 13, 20, 0.7); backdrop-filter: blur(8px);
  color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; z-index: 2;
}
.slider .nav:hover { background: rgba(255, 204, 97, 0.2); border-color: rgba(255, 204, 97, 0.5); }
.slider .prev { left: 8px; }
.slider .next { right: 8px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, 0.25); transition: width 0.25s, background 0.25s;
}
.dots button.on { width: 26px; background: linear-gradient(90deg, var(--gold), var(--gold2)); }
@media (max-width: 560px) {
  .track { gap: 12px; padding-inline: 7%; }
  .track img { flex-basis: 86%; width: 86%; border-radius: 14px; }
  .slider .nav { display: none; }
}

.lead { font-size: clamp(17px, 2.4vw, 21px); text-align: center; max-width: 760px; margin: 0 auto 28px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.card {
  position: relative; overflow: hidden; padding: 26px 26px 24px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line); backdrop-filter: blur(6px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0.55; transition: opacity 0.25s;
}
.card::after {
  content: ""; position: absolute; width: 180px; height: 180px; top: -90px; inset-inline-end: -70px;
  background: radial-gradient(circle, rgba(138, 92, 245, 0.28), transparent 70%); pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: rgba(255, 204, 97, 0.4); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45); }
.card:hover::before { opacity: 1; }
.ico {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 14px;
  border-radius: 16px; color: var(--gold); line-height: 1;
  background: linear-gradient(145deg, rgba(138, 92, 245, 0.32), rgba(242, 169, 59, 0.14));
  border: 1px solid rgba(255, 204, 97, 0.28); box-shadow: 0 8px 22px rgba(138, 92, 245, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.ico svg { filter: drop-shadow(0 0 6px rgba(255, 204, 97, 0.45)); }

/* Kart galerisi */
.gallery { margin-top: 56px; }
.gallery h2 { margin: 0; text-align: center; font-size: clamp(28px, 5vw, 40px); letter-spacing: -0.5px;
  background: linear-gradient(180deg, #fff, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-sub { text-align: center; color: var(--muted); margin: 6px 0 22px; }
.g-tools { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 24px; }
#gsearch {
  width: min(100%, 420px); padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05); color: var(--text); font: inherit; outline: none;
}
#gsearch:focus { border-color: rgba(255, 204, 97, 0.55); box-shadow: 0 0 0 3px rgba(255, 204, 97, 0.12); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip {
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  font: inherit; font-size: 14px; cursor: pointer; transition: all 0.2s;
}
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.25); }
.chip.on { color: #1a1204; font-weight: 700; border-color: transparent; background: linear-gradient(180deg, var(--gold), var(--gold2)); }
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.gcard {
  --rc: #9aa0b4; position: relative; display: block; padding: 0; overflow: hidden; cursor: pointer; text-align: start;
  aspect-ratio: 3 / 4; border-radius: 16px; border: 2px solid var(--rc); background: #0f1220; color: var(--text); font: inherit;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); transition: transform 0.22s, box-shadow 0.22s;
}
.gcard[hidden] { display: none; }
.gcard:hover, .gcard:focus-visible { transform: translateY(-6px) scale(1.02); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 26px var(--rc); outline: none; }
.gcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 16, 0.55), transparent 30%, transparent 55%, rgba(8, 9, 16, 0.92)); }
.r-rare { --rc: #4aa3ff; } .r-epic { --rc: #b06bff; } .r-legendary { --rc: #ffcc61; }
.r-legendary.gcard { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 18px rgba(255, 204, 97, 0.35); }
.g-top { position: absolute; z-index: 1; top: 8px; inset-inline: 8px; display: flex; justify-content: space-between; gap: 6px; font-size: 11px; font-weight: 600; }
.g-type, .g-lv { padding: 3px 9px; border-radius: 999px; background: rgba(8, 9, 16, 0.7); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(4px); }
.g-lv { color: var(--gold); }
.g-bot { position: absolute; z-index: 1; bottom: 0; inset-inline: 0; padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.g-name { font-weight: 700; font-size: 15px; line-height: 1.2; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); }
.g-stats { display: flex; gap: 6px; font-size: 11px; }
.g-stats b { padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); font-weight: 600; }
.g-none { text-align: center; color: var(--muted); padding: 40px 0; }

.gdlg {
  width: min(94vw, 820px); max-height: 90vh; padding: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  color: var(--text); background: linear-gradient(160deg, #181b29, #0e1019); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
}
.gdlg::backdrop { background: rgba(4, 5, 10, 0.78); backdrop-filter: blur(6px); }
.gbody { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; padding: 32px 36px; align-items: center; overflow-y: auto; max-height: 90vh; }
.gimg { --rc: #9aa0b4; border-radius: 18px; border: 2px solid var(--rc); overflow: hidden; box-shadow: 0 0 36px color-mix(in srgb, var(--rc) 45%, transparent); }
.gimg img { display: block; width: 100%; height: auto; }
.gbadge { --rc: #9aa0b4; display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--rc); border: 1px solid var(--rc); background: color-mix(in srgb, var(--rc) 14%, transparent); }
.ginfo h3 { margin: 12px 0 2px; font-size: clamp(24px, 4vw, 32px); line-height: 1.15; }
.gt { margin: 0 0 14px; color: var(--muted); }
.gd { margin: 0 0 20px; font-size: 17px; color: #dfe2ee; }
.gstats { display: flex; flex-wrap: wrap; gap: 10px; }
.gs { min-width: 78px; padding: 10px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.gs span { display: block; font-size: 12px; color: var(--muted); }
.gs b { font-size: 22px; color: var(--gold); }
.gx, .gnav {
  position: absolute; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(11, 13, 20, 0.7); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer;
}
.gx { top: 12px; inset-inline-end: 12px; }
.gnav { top: calc(50% - 21px); }
.gp { inset-inline-start: 8px; } .gn { inset-inline-end: 8px; }
.gx:hover, .gnav:hover { background: rgba(255, 204, 97, 0.22); border-color: rgba(255, 204, 97, 0.5); }
@media (max-width: 640px) {
  .gcards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .g-name { font-size: 13px; }
  .gbody { grid-template-columns: 1fr; padding: 54px 20px 24px; gap: 18px; }
  .gimg { max-width: 260px; margin: 0 auto; }
  .gnav { top: 150px; }
}
.card h3 { margin: 0 0 12px; color: #fff; font-size: 20px; letter-spacing: -0.2px; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { position: relative; margin: 10px 0; padding-inline-start: 22px; color: #cfd3e2; }
.card li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
}
.card p { margin: 0; color: #cfd3e2; }

/* Dil seçici */
.lang { position: relative; }
.lang summary {
  list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 14px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: rgba(255, 204, 97, 0.5); }
.flag { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); flex: none; }
.chev { width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); transition: transform 0.2s; }
.lang[open] .chev { transform: rotate(-135deg); }
.lang ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 20; margin: 0; padding: 6px; list-style: none; min-width: 190px;
  max-height: 70vh; overflow-y: auto; border-radius: 16px; border: 1px solid var(--line);
  background: rgba(18, 21, 31, 0.96); backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.lang li a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--text); font-size: 15px; }
.lang li a:hover { background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.lang li a.on { background: linear-gradient(180deg, rgba(255, 204, 97, 0.22), rgba(242, 169, 59, 0.12)); color: var(--gold); font-weight: 600; }
.langs a { display: inline-flex; align-items: center; gap: 8px; }
.tail { text-align: center; margin-top: 28px; color: var(--muted); }
.tail p:last-child { color: var(--text); font-weight: 600; font-size: 18px; }

.legal { max-width: 820px; padding-top: 32px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); margin: 8px 0 4px; color: var(--gold); line-height: 1.2; }
.legal h2 { margin: 30px 0 8px; font-size: 20px; color: #fff; }
.legal p, .legal li { color: #d5d8e4; }
.legal li { margin: 6px 0; }
.legal code { background: var(--panel); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: 14px; }
.muted { color: var(--muted); }
.note { border: 1px solid rgba(255, 204, 97, 0.4); background: rgba(255, 204, 97, 0.07); padding: 12px 16px; border-radius: 12px; }

footer { border-top: 1px solid var(--line); text-align: center; padding: 28px 16px 40px; color: var(--muted); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 10px; }
footer p { margin: 0; }

[dir="rtl"] .brand { flex-direction: row-reverse; }

@media (max-width: 560px) {
  .hero { padding-top: 36px; }
  .hero-icon { width: 96px; height: 96px; border-radius: 22px; }
}

/* Sayfalama */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pager:empty { display: none; }
.pg {
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel);
  color: var(--text); font: inherit; font-size: 15px; cursor: pointer; transition: all 0.2s;
}
.pg:hover:not(:disabled) { border-color: rgba(255, 204, 97, 0.5); background: rgba(255, 204, 97, 0.1); }
.pg.on { color: #1a1204; font-weight: 700; border-color: transparent; background: linear-gradient(180deg, var(--gold), var(--gold2)); }
.pg:disabled { opacity: 0.35; cursor: default; }
