/* Layout: gece vardiyasındaki matbaa. Koyu zemin, ışık gibi karışan C/M/Y, büyük tipografi. Bilinçli olarak tek tema. */
:root {
  color-scheme: dark;
  --bg: #0d0d12;
  --panel: #16161e;
  --panel-2: #1f1f2a;
  --line: #2e2e3a;
  --fg: #f4f3ee;
  --dim: #a9a9b8;
  --c: #19c8ff;
  --m: #ff2d95;
  --y: #ffe600;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;
}
@view-transition { navigation: auto; }
[hidden] { display: none !important; }
html { scroll-padding-top: 80px; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.55; overflow-x: clip; margin: 0; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.wrap { max-width: 1280px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 7.6vw, 104px); }
h2 { font-size: clamp(34px, 5.4vw, 72px); }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }
.label { font-family: var(--mono); font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--dim); }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--dim); max-width: 62ch; }
.shift { transition: text-shadow .2s; }
a:hover .shift, .shift:hover { text-shadow: -4px 2px 0 var(--c), 4px -2px 0 var(--m); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 24px; border: 2px solid var(--y); border-radius: 999px; background: var(--y); color: #0d0d12; font: 600 16px var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 2px 2px 0 var(--c), 4px 4px 0 var(--m); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn[disabled] { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }

.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: block; flex: none; }
.brand img { height: 38px; width: auto; }
.top nav { display: flex; gap: clamp(12px, 2.4vw, 28px); font-weight: 500; font-size: 15px; }
.top nav a { text-decoration: none; padding: 8px 0; color: var(--dim); }
.top nav a:hover, .top nav a[aria-current] { color: var(--fg); }
.top nav a[aria-current] { box-shadow: 0 2px 0 var(--m); }
@media (max-width: 520px) { .brand img { height: 28px; } }
@media (max-width: 430px) { .top nav { font-size: 14px; gap: 10px; } .brand img { height: 22px; } }
@media (max-width: 390px) { .top nav { font-size: 13px; gap: 8px; } }

/* Ana sayfa hero */
.hero { padding-block: clamp(18px, 3vw, 36px) clamp(36px, 6vw, 72px); }
#halftone { display: block; width: 100%; height: clamp(120px, 27vw, 370px); }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: end; margin-top: clamp(14px, 2.4vw, 28px); }
.hero-foot h1 { font-size: clamp(34px, 5vw, 68px); }
.hero-side { display: grid; gap: 18px; }
.hero-side p { color: var(--dim); }
@media (max-width: 800px) { .hero-foot { grid-template-columns: minmax(0, 1fr); } }

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 14px; }
.marquee div { display: flex; width: max-content; gap: 34px; font: 800 clamp(22px, 3vw, 36px) var(--display); white-space: nowrap; animation: slide 38s linear infinite; }
.marquee span:nth-child(3n+1) { color: var(--c); }
.marquee span:nth-child(3n+2) { color: var(--m); }
.marquee span:nth-child(3n) { color: var(--y); }
@keyframes slide { to { transform: translateX(-50%); } }

.band { padding-block: clamp(52px, 8vw, 110px); }
.head { display: grid; gap: 14px; max-width: 820px; margin-bottom: clamp(26px, 4vw, 48px); }

/* Hizmet kartları */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.card { grid-column: span 4; display: grid; grid-template-rows: auto 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; transition: border-color .2s, transform .2s; min-width: 0; }
.card:hover { border-color: var(--fg); transform: translateY(-4px); }
.card.wide { grid-column: span 6; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--panel-2); transition: transform .4s; }
.card:hover img { transform: scale(1.04); }
.card .txt { display: grid; gap: 8px; padding: 20px; align-content: start; position: relative; background: var(--panel); }
.card h3 { font-size: clamp(24px, 2.6vw, 34px); }
.card p { color: var(--dim); font-size: 16px; }
@media (max-width: 900px) { .card, .card.wide { grid-column: span 6; } }
@media (max-width: 580px) { .card, .card.wide { grid-column: 1 / -1; } }

/* Hizmet sayfası */
.page-hero { padding-block: clamp(32px, 5vw, 64px); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.split > div { display: grid; gap: 18px; min-width: 0; }
.split img { width: 100%; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.crumb { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--fg); }
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.box h3 { font-size: 26px; }
.box ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.box p { color: var(--dim); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
.steps li::before { content: counter(s); font: 800 24px/1.1 var(--display); color: var(--m); }
.steps.big { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.steps.big li { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; align-content: start; }
.steps.big li::before { font-size: 54px; }
.steps.big h3 { font-size: 24px; }
.steps.big p { color: var(--dim); font-size: 16px; }
@media (max-width: 860px) { .tri { grid-template-columns: minmax(0, 1fr); } .split { grid-template-columns: minmax(0, 1fr); } .steps.big { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .steps.big { grid-template-columns: minmax(0, 1fr); } }
.path ol { margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 14.5px; display: grid; gap: 3px; }
.path li::before { content: "→ "; color: var(--y); }
.path li:first-child::before { content: ""; }

.cta-band { background: var(--y); color: #0d0d12; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 5vw, 72px); padding-block: clamp(40px, 5.5vw, 72px); }
.cta-band .btn { background: #0d0d12; border-color: #0d0d12; color: var(--fg); min-height: 62px; padding-inline: 38px; font-size: 18px; white-space: nowrap; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 56px); }
@media (max-width: 680px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } .cta-band .btn { width: 100%; box-sizing: border-box; } }

.seo-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.seo-links a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); font-weight: 600; text-decoration: none; }
.seo-links a:hover { border-color: var(--y); }
.faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* Oyunlar */
.g-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.g-card { display: grid; gap: 12px; padding: clamp(22px, 3vw, 36px); border-radius: 18px; text-decoration: none; min-width: 0; align-content: start; transition: transform .2s; }
.g-card:hover { transform: translateY(-4px); }
.g-card.press { background: var(--fg); color: #0d0d12; }
.g-card.roas { background: linear-gradient(135deg, #0b3a56, #4a0f3b); }
.g-card h3 { font-size: clamp(34px, 4.6vw, 62px); }
.g-card .label { color: inherit; opacity: .75; }
.g-card b { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) { .g-cards { grid-template-columns: minmax(0, 1fr); } }
.game-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(22px, 3.5vw, 48px); align-items: start; }
@media (max-width: 900px) { .game-grid { grid-template-columns: minmax(0, 1fr); } }
.stage { min-width: 0; max-width: 760px; }
.hud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.hud > div { display: grid; gap: 1px; min-width: 0; }
.hud b { font: 800 clamp(19px, 3vw, 30px) var(--display); }
.hud .label { font-size: 11.5px; }
.fires { display: flex; gap: 5px; align-items: center; height: 34px; }
.fires i { width: 15px; height: 15px; border: 2px solid var(--dim); border-radius: 50%; }
.fires i.on { background: var(--m); border-color: var(--m); }
.meter { height: 12px; margin-top: 10px; border: 1px solid var(--dim); border-radius: 99px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 100%; background: var(--y); }
canvas.play { display: block; width: 100%; border-radius: 12px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
canvas.play.live { touch-action: none; }
#press { aspect-ratio: 1; max-width: 620px; background: #fff; }
#roas { aspect-ratio: 900 / 560; background: #0a0a10; border: 1px solid var(--line); }
.game-ctl { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 12px; min-height: 50px; }
#status { color: var(--dim); font-size: 15px; flex: 1 1 200px; min-width: 0; }
.rules { display: grid; gap: 28px; min-width: 0; }
.rules ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 16px; }
.board h3 { font-size: 26px; margin-top: 4px; }
.board table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-top: 10px; }
.board th { font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--dim); text-align: left; padding: 4px 0; }
.board td { padding: 9px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.board td:first-child { width: 36px; font-family: var(--mono); }
.board .num { text-align: right; }
.board tr.prize td { color: var(--y); font-weight: 600; }
.board tr.me td:nth-child(2)::after { content: " · sen"; color: var(--dim); font-weight: 400; }
#boardNote { color: var(--dim); font-size: 14.5px; margin-top: 10px; }
.save { display: grid; gap: 12px; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin-top: 14px; }
.save h3 { font-size: 24px; }

.contact-info { display: grid; gap: 16px; margin: 8px 0 0; }
.contact-info div { display: grid; gap: 3px; }
.contact-info dd { margin: 0; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
address { font-style: normal; }
.contact-info a { text-decoration-color: var(--y); text-underline-offset: 4px; }
.map { display: block; width: 100%; height: clamp(300px, 45vw, 480px); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.foot-info { display: grid; gap: 8px; min-width: 0; }
.foot-info a { overflow-wrap: anywhere; }

/* Form */
form label { display: grid; gap: 5px; font-weight: 600; font-size: 15px; min-width: 0; }
input[type=text], select, textarea { font: 16px var(--body); padding: 12px; border: 1px solid var(--dim); border-radius: 10px; background: var(--bg); color: var(--fg); width: 100%; box-sizing: border-box; }
form label.check { display: flex; gap: 9px; align-items: flex-start; font-weight: 400; }
label.check input { margin-top: 4px; flex: none; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.full { grid-column: 1 / -1; }
@media (max-width: 460px) { .lead-form { grid-template-columns: minmax(0, 1fr); } }

footer { border-top: 1px solid var(--line); padding-block: 34px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; font-size: 15px; color: var(--dim); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .card, .box, .g-card { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
    @keyframes rise { from { translate: 0 26px; } to { translate: 0 0; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee div { animation: none; }
  @view-transition { navigation: none; }
}
