:root {
  --bg: #09090f;
  --surface: #12121c;
  --surface-2: #1a1a28;
  --line: #262637;
  --text: #f3f3f8;
  --muted: #9b9bb2;
  --pink: #fe2c55;
  --cyan: #25f4ee;
  --yellow: #ffd84a;
  --green: #2bd98a;
  --radius: 16px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 900; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.eyebrow { display: inline-block; color: var(--cyan); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.grad { background: linear-gradient(90deg, var(--cyan), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); border-color: #3a3a52; }
.btn-primary { background: var(--pink); border-color: var(--pink); color: #fff; box-shadow: 0 8px 30px -10px var(--pink); }
.btn-primary:hover { background: #ff4467; border-color: #ff4467; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 0; }
.link-btn:hover { color: var(--text); }

/* Üst menü */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(9, 9, 15, .8); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; text-decoration: none; letter-spacing: -.03em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--cyan), var(--pink)); color: #09090f; font-size: 18px; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover, .nav-links a.on { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-right form { margin: 0; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav .wrap { gap: 12px; }
  .hide-sm { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 44, 85, .22), transparent 65%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -30% -10%; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 244, 238, .14), transparent 65%); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 19px; color: #c6c6d8; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; }
.hero-stats b { display: block; font-size: 24px; }
.hero-stats span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
}

/* Telefon çerçevesi + canlı demo */
.phone {
  position: relative; width: 300px; max-width: 100%; aspect-ratio: 9 / 16; margin: 0 auto;
  border-radius: 36px; padding: 10px; background: #000;
  box-shadow: 0 0 0 2px #2a2a3a, 0 40px 80px -20px rgba(254, 44, 85, .35), 0 20px 60px -20px rgba(37, 244, 238, .3);
}
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 28px; background: #000; display: block; }
.phone .live-pill {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 2; background: var(--pink); color: #fff;
  font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 6px; letter-spacing: .05em; box-shadow: 0 4px 14px rgba(254, 44, 85, .5);
}

/* Oyun kartları */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.game-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .2s, border-color .2s;
}
a.game-card:hover { transform: translateY(-4px); border-color: #3c3c56; }
.game-card .thumb { aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 72px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(254, 44, 85, .35), transparent 60%), radial-gradient(circle at 70% 70%, rgba(37, 244, 238, .3), transparent 60%), var(--surface-2); }
.game-card .thumb iframe { position: absolute; top: 0; left: 50%; width: 100%; aspect-ratio: 9 / 16; height: auto; transform: translateX(-50%); border: 0; pointer-events: none; }
.game-card .body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.game-card .body p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.game-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.game-card .price { font-weight: 800; font-size: 18px; }
.game-card .price small { color: var(--muted); font-weight: 600; font-size: 13px; }
.game-card.soon { opacity: .7; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.tag.green { color: var(--green); border-color: rgba(43, 217, 138, .35); background: rgba(43, 217, 138, .08); }
.tag.red { color: var(--pink); border-color: rgba(254, 44, 85, .35); background: rgba(254, 44, 85, .08); }
.tag.yellow { color: var(--yellow); border-color: rgba(255, 216, 74, .35); background: rgba(255, 216, 74, .08); }

/* Adımlar ve özellikler */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px; font-weight: 900; background: linear-gradient(135deg, var(--cyan), var(--pink)); color: #09090f; }
.step p { color: var(--muted); margin: 0; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { display: flex; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.feature .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--surface-2); }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 760px) { .steps, .features { grid-template-columns: 1fr; } }

/* SSS */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* CTA bandı */
.cta-band { background: linear-gradient(120deg, rgba(37, 244, 238, .12), rgba(254, 44, 85, .18)); border: 1px solid var(--line); border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0; }

/* Oyun detay */
.detail { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; padding-top: 56px; padding-bottom: 88px; }
.buy-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 28px 0; max-width: 460px; }
.buy-box .big { font-size: 40px; font-weight: 900; letter-spacing: -.03em; }
.buy-box .big small { font-size: 16px; color: var(--muted); font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 900; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; gap: 32px; } }

/* Formlar */
.auth { min-height: calc(100vh - 68px - 220px); display: grid; place-items: center; padding: 48px 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.auth .card { width: 100%; max-width: 420px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: #cfcfe0; }
input[type=text], input[type=email], input[type=password], input[type=number], select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg);
  color: var(--text); font: inherit;
}
input:focus, select:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
input[type=color] { width: 100%; height: 46px; padding: 4px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.check input { margin-top: 4px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 15px; }
.alert.err { background: rgba(254, 44, 85, .1); border: 1px solid rgba(254, 44, 85, .4); color: #ff9db0; }
.alert.ok { background: rgba(43, 217, 138, .1); border: 1px solid rgba(43, 217, 138, .4); color: #8ff0c2; }
.alert.info { background: rgba(37, 244, 238, .07); border: 1px solid rgba(37, 244, 238, .3); color: #b5fbf9; }

/* Panel sayfaları */
.page { padding-top: 48px; padding-bottom: 88px; }
.page-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.page-title h1 { font-size: 36px; margin: 0; }
.stack { display: grid; gap: 20px; }
.sub-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.sub-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 16px; }
.sub-head .emoji { font-size: 32px; }
.sub-head h3 { margin: 0; }
.sub-head .right { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { font-family: Consolas, monospace; font-size: 13px; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 16px; margin-top: 16px; }
details.box { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
details.box summary { cursor: pointer; font-weight: 700; color: var(--cyan); }
.empty { text-align: center; padding: 48px 24px; }
.empty .emoji { font-size: 48px; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 600; font-size: 13px; }
.table-wrap { overflow-x: auto; }
.inline { display: inline; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat b { display: block; font-size: 30px; font-weight: 900; }
.stat span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; } }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.row .field { margin: 0; flex: 1; min-width: 140px; }

/* Metin sayfaları */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 36px; }
.prose p, .prose li { color: #c9c9da; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: 14px; }

/* Alt bilgi */
.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--muted); font-size: 14px; }
.footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer h4 { color: var(--text); margin: 0 0 12px; font-size: 15px; }
.footer a { display: block; text-decoration: none; margin-bottom: 8px; }
.footer a:hover { color: var(--text); }
.footer .bottom { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr 1fr; } .footer .wrap > :first-child { grid-column: 1 / -1; } }
