/* GTA VI Offline Map — site styles. Self-contained: no external requests. */

@font-face {
  font-family: "Anton";
  src: url("fonts/anton.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Mr Dafoe";
  src: url("fonts/mr-dafoe.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #0e0626;
  --night: #12052e;
  --panel: #1c0d44;
  --line: rgba(255, 255, 255, 0.12);
  --pink: #ff4fa3;
  --cyan: #19e3f0;
  --sun: #ffd166;
  --text: #ffffff;
  --soft: rgba(255, 255, 255, 0.78);
  --dim: rgba(255, 255, 255, 0.58);
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --script: "Mr Dafoe", "Brush Script MT", cursive;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 17px/1.6 var(--body);
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); }
a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 8px; }

/* ---------- Top bar ---------- */
.bar {
  position: absolute; inset: 0 0 auto 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.bar nav { display: flex; gap: 4px; }
.bar nav a {
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 12px 12px; border-radius: 10px;
}
.bar nav a:hover { background: rgba(255, 255, 255, 0.14); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(880px, 100svh);
  padding: 120px 0 0;
  background: linear-gradient(180deg, #12052e 0%, #2a0b63 20%, #6a1791 38%, #c81e8c 55%, #ff4f7b 68%, #ff8a47 78%, #ffd166 86%, #2a0b45 86.2%, #12052e 100%);
}
.hero-grid {
  display: grid; gap: 28px; align-items: end;
  grid-template-columns: 1fr;
}
.hero-copy { text-align: center; padding-bottom: 12px; }
.script {
  font-family: var(--script); font-weight: 400;
  font-size: clamp(44px, 9vw, 84px); line-height: 1;
  color: #ffe1f1; display: inline-block; transform: rotate(-5deg);
  text-shadow: 0 0 6px var(--pink), 0 0 18px var(--pink), 0 0 42px var(--pink), 0 4px 22px rgba(18, 5, 46, 0.9);
  margin: 0 0 6px;
}
h1 {
  font-family: var(--display); font-weight: 400; font-style: italic; text-transform: uppercase;
  font-size: clamp(52px, 11vw, 124px); line-height: 1.02; letter-spacing: 0.01em;
  margin: 0;
  text-shadow: 0.04em 0.04em 0 var(--pink), 0.085em 0.085em 0 var(--cyan);
}
.lede {
  max-width: 34ch; margin: 22px auto 0;
  font-size: clamp(18px, 2.4vw, 22px); line-height: 1.45; color: #fff;
  text-shadow: 0 2px 14px rgba(18, 5, 46, 0.75);
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 14px;
  font-weight: 700; font-size: 17px; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.button.primary { background: #fff; color: #1a0a3a; box-shadow: 0 10px 30px rgba(18, 5, 46, 0.45); }
.button.ghost { background: rgba(18, 5, 46, 0.55); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); }
.button:hover { transform: translateY(-2px); }
.button[aria-disabled="true"] { cursor: default; }
.button[aria-disabled="true"]:hover { transform: none; }
.button svg { width: 22px; height: 22px; flex: none; }

.phone {
  position: relative; z-index: 2;
  width: min(330px, 74vw); margin: 0 auto -6%;
  border-radius: 46px; padding: 10px;
  background: linear-gradient(145deg, #3a3350, #0d0a18);
  box-shadow: 0 30px 80px rgba(18, 5, 46, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}
.phone img { border-radius: 37px; width: 100%; height: auto; aspect-ratio: 1320 / 2868; object-fit: cover; }

.sun {
  position: absolute; z-index: -1; left: 50%; top: 86%;
  width: min(720px, 120vw); aspect-ratio: 1;
  transform: translate(-50%, -76%);
}
.sun-glow {
  position: absolute; z-index: -2; left: 50%; top: 62%;
  width: min(900px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: var(--pink); border-radius: 50%; filter: blur(90px); opacity: 0.5;
}
.floor {
  position: absolute; z-index: -1; left: 0; right: 0; top: 86%; bottom: 0; width: 100%; height: 14%;
}
.horizon {
  position: absolute; z-index: -1; left: 0; right: 0; top: 86%; height: 2px;
  background: #ffe9a8; box-shadow: 0 0 28px 6px var(--pink);
}
.palm { position: absolute; z-index: -1; bottom: 13.6%; height: 36%; }
.palm.left { left: max(-40px, 2vw); }
.palm.right { right: max(-40px, 2vw); transform: scaleX(-1); height: 30%; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
h2 {
  font-family: var(--display); font-weight: 400; font-style: italic; text-transform: uppercase;
  font-size: clamp(36px, 6vw, 60px); line-height: 1.05; margin: 0 0 10px;
  text-shadow: 0.04em 0.04em 0 var(--pink);
}
.kicker { color: var(--soft); max-width: 60ch; margin: 0 0 36px; font-size: 19px; }

.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); padding: 0; margin: 0; list-style: none; }
.features li {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line); border-radius: 20px; padding: 24px;
}
.features svg { width: 34px; height: 34px; color: var(--cyan); margin-bottom: 14px; }
.features h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.25; }
.features p { margin: 0; color: var(--soft); }

.shots { background: linear-gradient(180deg, var(--night), #1d0a4c 55%, var(--night)); }
.rail {
  display: flex; gap: 18px; overflow-x: auto; padding: 6px 20px 26px;
  scroll-snap-type: x mandatory; scrollbar-color: var(--pink) transparent;
}
.rail img {
  flex: none; width: min(264px, 62vw); height: auto; aspect-ratio: 660 / 1434;
  border-radius: 22px; scroll-snap-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); border: 1px solid var(--line);
}

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 16px 0; list-style-position: outside; }
.faq p { margin: 0 0 18px; color: var(--soft); }

.support { text-align: center; }
.support .kicker { margin-inline: auto; }
.mail {
  display: inline-block; font-family: var(--display); font-style: italic; letter-spacing: 0.02em;
  font-size: clamp(24px, 4.6vw, 40px); color: #fff; text-decoration: none; word-break: break-word;
  text-shadow: 0.04em 0.04em 0 var(--pink);
}
.mail:hover { color: var(--cyan); }

footer { border-top: 1px solid var(--line); padding: 34px 0 54px; color: var(--dim); font-size: 15px; }
footer .wrap { display: grid; gap: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
footer a { color: var(--soft); padding: 6px 0; display: inline-block; }

/* ---------- Text page (privacy policy) ---------- */
.page-head { padding: 120px 0 34px; background: linear-gradient(180deg, #2a0b63, var(--night)); position: relative; }
.page-head h1 { font-size: clamp(44px, 8vw, 84px); }
.prose { max-width: 720px; padding: 26px 0 80px; }
.prose h2 {
  font-family: var(--body); font-style: normal; text-transform: none; text-shadow: none;
  font-size: 22px; font-weight: 700; line-height: 1.3; margin: 38px 0 8px;
}
.prose p { margin: 0 0 14px; color: var(--soft); }
.date { color: var(--dim); font-size: 15px; margin: 14px 0 0; }

@media (min-width: 900px) {
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 40px; }
  .hero-copy { text-align: left; padding-bottom: 150px; }
  .lede { margin-left: 0; }
  .cta { justify-content: flex-start; }
  .phone { margin: 0 auto -9%; width: 350px; }
  .sun { left: 72%; }
  .sun-glow { left: 72%; }
}
@media (max-width: 520px) {
  .bar nav a:not(.keep) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
