:root {
  --ink: #1c0b24;
  --ink-2: #2a0f36;
  --red: #ff2e63;
  --orange: #ff7a2f;
  --gold: #ffc94a;
  --cream: #fff4e0;
  --muted: rgba(255, 244, 224, 0.68);
  --line: rgba(255, 244, 224, 0.12);
  --grad: linear-gradient(100deg, var(--gold), var(--orange) 45%, var(--red));
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --display: 'Segoe UI Black', 'Arial Black', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--display); font-weight: 900; font-style: italic; }
h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); }
.nw { white-space: nowrap; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; font-weight: 800; margin-bottom: 0.8em; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); }
.narrow { max-width: 680px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 14px; font-weight: 800; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s; white-space: nowrap;
}
.btn.primary { background: var(--grad); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255, 46, 99, 0.7); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(255, 122, 47, 0.8); }
.btn.ghost { border: 2px solid rgba(255, 244, 224, 0.35); color: var(--cream); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn.soon { border: 2px dashed rgba(255, 244, 224, 0.25); color: var(--muted); cursor: default; font-weight: 700; }

/* ---------- Üst çubuk ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px); transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.top.solid { background: rgba(28, 11, 36, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); padding-block: 10px; }
.brand img { height: 40px; width: auto; }
.top nav { display: flex; gap: clamp(12px, 3vw, 30px); }
.top nav a { text-decoration: none; font-weight: 700; font-size: 0.95rem; opacity: 0.85; }
.top nav a:hover { opacity: 1; color: var(--gold); }

/* ---------- Giriş ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding: 110px clamp(20px, 5vw, 60px) 150px; overflow: hidden; isolation: isolate;
}
.sky {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(#14071c 0%, #24092d 50%, #4a1238 80%, #14071c 80.3%);
}
.stars {
  position: absolute; inset: 0 0 25%;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff8 50%, transparent),
    radial-gradient(1px 1px at 28% 8%, #fff7 50%, transparent),
    radial-gradient(1.5px 1.5px at 44% 30%, #fff6 50%, transparent),
    radial-gradient(1px 1px at 63% 12%, #fff8 50%, transparent),
    radial-gradient(1.5px 1.5px at 78% 26%, #fff7 50%, transparent),
    radial-gradient(1px 1px at 90% 6%, #fff6 50%, transparent),
    radial-gradient(1px 1px at 6% 48%, #fff5 50%, transparent),
    radial-gradient(1.5px 1.5px at 35% 58%, #fff5 50%, transparent),
    radial-gradient(1px 1px at 55% 64%, #fff6 50%, transparent),
    radial-gradient(1.5px 1.5px at 95% 44%, #fff5 50%, transparent);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.5; } to { opacity: 1; } }
.grid {
  position: absolute; left: -50%; right: -50%; top: 80%; bottom: -10%;
  background:
    linear-gradient(transparent 0 calc(100% - 2px), rgba(255, 46, 99, 0.8) 0) 0 0 / 100% 50px,
    linear-gradient(90deg, transparent 0 calc(100% - 2px), rgba(255, 46, 99, 0.6) 0) 50% 0 / 80px 100%;
  transform: perspective(260px) rotateX(64deg); transform-origin: top;
  animation: drive 2.2s linear infinite;
}
.grid::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gold); box-shadow: 0 0 18px var(--gold); }
@keyframes drive { to { background-position: 0 50px, 50% 0; } }

.hero-in {
  width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr;
  align-items: center; gap: clamp(20px, 4vw, 60px);
}
.hero-text h1 { text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4); }
.hero-text .lead { max-width: 520px; margin-bottom: 30px; color: rgba(255, 244, 224, 0.82); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.glow { position: absolute; inset: -10%; background: radial-gradient(closest-side, rgba(255, 122, 47, 0.45), rgba(255, 46, 99, 0.12) 60%, transparent); }
.sun {
  position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: linear-gradient(var(--gold), var(--orange) 55%, var(--red));
  -webkit-mask-image: linear-gradient(#000 70%, transparent 96%); mask-image: linear-gradient(#000 70%, transparent 96%);
}
.sun i { position: absolute; left: 0; right: 0; background: #24092d; }
.sun i:nth-child(1) { top: 52%; height: 1.4%; }
.sun i:nth-child(2) { top: 58%; height: 2%; }
.sun i:nth-child(3) { top: 64%; height: 2.8%; }
.sun i:nth-child(4) { top: 70%; height: 3.6%; }
.sun i:nth-child(5) { top: 77%; height: 4.4%; }
.sun i:nth-child(6) { top: 85%; height: 5.4%; }
.hero-mark {
  position: relative; width: 96%; height: auto;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.6));
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px) rotate(-1.2deg); } }
.scroll { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 28px; height: 44px; border: 2px solid rgba(255, 244, 224, 0.5); border-radius: 16px; }
.scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cream); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Bölümler ---------- */
.section { padding: clamp(70px, 12vw, 130px) 0; position: relative; }
.games { background: linear-gradient(#14071c, var(--ink) 30%); }

.game {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center;
  margin-top: 36px; padding: clamp(22px, 4vw, 44px); border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 122, 47, 0.12), rgba(255, 46, 99, 0.06) 50%, rgba(42, 15, 54, 0.6));
  border: 1px solid var(--line);
}
.game-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.game-head img { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6); }
.game-head h3 { font-family: var(--display); font-style: italic; font-size: 1.9rem; margin: 0; }
.tag { margin: 2px 0 0; color: var(--gold); font-weight: 700; font-size: 0.9rem; }
.game-info > p { color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 244, 224, 0.07); border: 1px solid var(--line); font-size: 0.88rem; font-weight: 700; }
.game-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.phones { min-width: 0; }
.phone-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 18px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.phone-track::-webkit-scrollbar { display: none; }
.phone { flex: 0 0 min(230px, 62vw); margin: 0; scroll-snap-align: center; text-align: center; }
.phone img {
  width: 100%; height: auto; border-radius: 26px; border: 6px solid #0d0412;
  box-shadow: 0 0 0 2px rgba(255, 244, 224, 0.12), 0 24px 50px -18px rgba(0, 0, 0, 0.8);
}
.phone figcaption { margin-top: 10px; font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.dots { display: flex; justify-content: center; align-items: center; gap: 6px; }
.dots .dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 244, 224, 0.25); cursor: pointer; transition: width 0.25s, background 0.25s; }
.dots .dot.on { width: 22px; background: var(--orange); }
.dots .arrow {
  width: 36px; height: 36px; margin: 0 8px; border-radius: 50%; border: 1px solid rgba(255, 244, 224, 0.25);
  background: rgba(255, 244, 224, 0.06); color: var(--cream); font-size: 1.4rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding-bottom: 3px; transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}
.dots .arrow:hover:not(:disabled) { background: rgba(255, 122, 47, 0.2); border-color: var(--orange); }
.dots .arrow:disabled { opacity: 0.3; cursor: default; }

.next { display: flex; gap: 16px; align-items: center; margin-top: 22px; padding: 20px 24px; border-radius: 20px; border: 1px dashed rgba(255, 244, 224, 0.22); }
.next p { margin: 2px 0 0; color: var(--muted); }
.next-icon { font-size: 1.6rem; color: var(--gold); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.about { background: radial-gradient(60% 50% at 50% 0%, rgba(255, 122, 47, 0.1), transparent), var(--ink); text-align: center; }
.about .lead { margin: 0 auto 50px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.value { padding: 28px; border-radius: 22px; background: rgba(255, 244, 224, 0.04); border: 1px solid var(--line); transition: transform 0.2s, border-color 0.2s; }
.value:hover { transform: translateY(-4px); border-color: rgba(255, 122, 47, 0.5); }
.value p { color: var(--muted); margin: 0; }
.v-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px; font-size: 1.5rem; background: linear-gradient(135deg, rgba(255, 201, 74, 0.2), rgba(255, 46, 99, 0.2)); }

.contact-card {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 56px); align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #3a0f3a, var(--ink-2) 60%);
  border: 1px solid rgba(255, 122, 47, 0.3);
}
.contact-card::after { content: ''; position: absolute; right: -120px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; background: linear-gradient(var(--gold), var(--red)); opacity: 0.18; filter: blur(10px); }
.contact-card img { width: clamp(150px, 20vw, 220px); height: auto; }
.contact-card p { color: var(--muted); }
.mail { margin-top: 6px; font-size: 1.05rem; }

/* ---------- Alt bilgi ---------- */
.foot { border-top: 1px solid var(--line); padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot img { height: 32px; width: auto; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; color: var(--muted); font-size: 0.92rem; }
.foot nav a:hover { color: var(--gold); }
.made { margin: 0; color: var(--muted); font-size: 0.9rem; }
.love { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.love span { color: var(--red); display: inline-block; transition: transform 0.2s; }
.love:hover span { transform: scale(1.3); }
.heart-fly { position: fixed; pointer-events: none; z-index: 200; color: var(--red); font-size: 22px; animation: heart 1.4s ease-out forwards; }
@keyframes heart { to { transform: translate(var(--dx), -160px) scale(1.6); opacity: 0; } }

/* ---------- Görünme animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Alt sayfa (gizlilik) ---------- */
.page { padding: 120px 0 70px; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page h2 { font-size: 1.35rem; margin-top: 1.6em; font-style: normal; font-family: var(--font); font-weight: 800; }
.page p, .page li { color: var(--muted); }
.page .wrap { max-width: 760px; }

/* ---------- Telefon ---------- */
@media (max-width: 860px) {
  .game { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; text-align: center; }
  .contact-card img { margin: 0 auto; }
  .game-cta, .cta { justify-content: center; }
  .hero { padding-top: 90px; }
  .hero-in { grid-template-columns: 1fr; text-align: center; gap: 0; }
  .hero-art { order: -1; width: min(420px, 88vw); margin: 0 auto -10px; }
  .hero-text .lead { margin-inline: auto; }
  .game-info { text-align: center; }
  .game-head { justify-content: center; text-align: left; }
  .chips { justify-content: center; }
  .foot-in { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .top nav a:not(:last-child) { display: none; }
  .brand img { height: 34px; }
  .btn { padding: 13px 20px; }
  .next { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
