﻿/* ==========================================================================
   HURSEY GAME — Core Styles
   Author: HURSEY GAME
   Sections: 1. Tokens  2. Base  3. Layout  4. Header  5. Hero
             6. Games  7. Studio  8. Contact  9. Footer
             10. Legal pages  11. Motion  12. Responsive
   ========================================================================== */

/* 1. Design tokens -------------------------------------------------------- */
:root {
  --bg: #06080f;
  --bg-soft: #0a0f1d;
  --bg-elevated: #0e1526;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f5ff;
  --text-body: #c3cadb;
  --muted: #8f9ab3;
  --violet: #8b5cf6;
  --violet-soft: #a78bfa;
  --cyan: #22d3ee;
  --gold: #fbbf24;
  --success: #34d399;
  --danger: #f87171;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.22);
  --container: 1180px;
  --header-h: 74px;
  --font-sans: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* 2. Base ----------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(760px 520px at 12% -6%, rgba(139, 92, 246, 0.18), transparent 62%),
    radial-gradient(720px 480px at 92% 8%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(900px 700px at 50% 108%, rgba(139, 92, 246, 0.1), transparent 66%),
    linear-gradient(180deg, #070a13 0%, #06080f 46%, #05070d 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 18%, rgba(0, 0, 0, 0.85), transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 18%, rgba(0, 0, 0, 0.85), transparent 78%);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(139, 92, 246, 0.42);
  color: #fff;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--violet);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* 3. Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section--tight {
  padding: 72px 0;
}

.section-head {
  max-width: 660px;
  margin-bottom: 54px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--violet-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
}

.section-desc {
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--muted);
}

.gradient-text {
  background: linear-gradient(100deg, #c4b5fd 0%, #8b5cf6 38%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn--primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(109, 40, 217, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(109, 40, 217, 0.48);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1f1400;
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.25);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.35);
}

/* 4. Header --------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 8, 15, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 14px rgba(139, 92, 246, 0.55));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
}

.brand-sub {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: var(--violet-soft);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.is-active {
  color: #fff;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.header-cta {
  flex: none;
  padding: 11px 20px;
  font-size: 13.5px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* 5. Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 96px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.24), transparent 66%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 64px;
}

.hero-title {
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: #fff;
}

.hero-title .line {
  display: block;
}

.hero-lead {
  max-width: 520px;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-body);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-stat strong {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-stat span {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Device / screenshot carousel */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 58px;
}

.hero-carousel {
  position: relative;
  width: min(100%, 330px);
  margin-inline: auto;
}

.device-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16.4;
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04) 40%, rgba(139, 92, 246, 0.28));
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.device-shell::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #05070d;
  z-index: 3;
}

.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 33px;
  background: #0b1020;
}

.device-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 0.9s ease;
  pointer-events: none;
}

.device-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.device-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-chip {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #e9ecff;
  text-transform: uppercase;
}

.carousel-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.hero-carousel-controls {
  position: absolute;
  left: 50%;
  bottom: -50px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 5;
}

.car-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(10, 15, 29, 0.72);
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.car-btn:hover {
  background: rgba(139, 92, 246, 0.24);
  border-color: rgba(139, 92, 246, 0.6);
  transform: translateY(-1px);
}

.car-btn svg {
  width: 16px;
  height: 16px;
}

.car-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.car-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  transition: width 0.25s ease, background 0.25s ease;
}

.car-dot.is-active {
  width: 22px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(12, 18, 34, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  font-size: 12px;
  color: var(--text-body);
}

.float-card strong {
  display: block;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

.float-card .dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(139, 92, 246, 0.18);
  color: var(--violet-soft);
}

.float-card .dot svg {
  width: 15px;
  height: 15px;
}

.float-card--one {
  top: 12%;
  left: -6%;
  animation: float 6s ease-in-out infinite;
}

.float-card--two {
  bottom: 16%;
  right: -4%;
  animation: float 7s ease-in-out infinite reverse;
}

/* 6. Games ---------------------------------------------------------------- */
.games {
  padding-top: 84px;
}

.games-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.game-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "cover shots"
    "info shots";
  column-gap: 30px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(22, 29, 50, 0.7), rgba(9, 13, 24, 0.9));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.42);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 50px rgba(139, 92, 246, 0.14);
}

.game-cover {
  position: relative;
  grid-area: cover;
  aspect-ratio: 1024 / 500;
  overflow: hidden;
  border-radius: 14px;
  background: #111a2e;
}

.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.game-card:hover .game-cover img {
  transform: scale(1.035);
}

.game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 15, 0) 46%, rgba(9, 13, 24, 0.92) 100%);
}

.game-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.game-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  grid-area: info;
  padding-top: 22px;
}

.game-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.game-icon {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

.game-name {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.tag {
  padding: 3px 9px;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.08);
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tag--violet {
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(139, 92, 246, 0.12);
  color: var(--violet-soft);
}

.game-desc {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text-body);
}

.game-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12.5px;
  color: var(--muted);
}

.game-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.game-features span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Screenshot strip carousel */
.shots {
  --shot-w: 150px;
  position: relative;
  grid-area: shots;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.shots-viewport {
  overflow: hidden;
  border-radius: 12px;
}

.shots-track {
  display: flex;
  gap: 12px;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.3, 1);
  will-change: transform;
}

.shots-track figure {
  flex: 0 0 var(--shot-w);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b1020;
}

.shots-track img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.shots-track figure:hover img {
  opacity: 0.88;
}

.shots-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.shots-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.shots-nav {
  display: flex;
  gap: 8px;
}

.shots-nav .car-btn {
  width: 30px;
  height: 30px;
}

.shots-nav .car-btn svg {
  width: 13px;
  height: 13px;
}

.shots-nav .car-btn[disabled] {
  opacity: 0.32;
  cursor: default;
  transform: none;
}

/* 7. Studio --------------------------------------------------------------- */
.studio {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(600px 320px at 88% 10%, rgba(34, 211, 238, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.014);
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  background: var(--panel-strong);
  border-color: rgba(139, 92, 246, 0.38);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.22), rgba(34, 211, 238, 0.1));
  color: #d9ccff;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 17.5px;
  font-weight: 700;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* Studio split */
.studio-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.studio-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  list-style: none;
}

.studio-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-body);
}

.studio-list svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--success);
}

.quote-panel {
  position: relative;
  overflow: hidden;
  padding: 44px 40px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(139, 92, 246, 0.16), rgba(9, 13, 24, 0.4) 46%, rgba(34, 211, 238, 0.1)),
    rgba(10, 15, 29, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.quote-panel::after {
  content: "“";
  position: absolute;
  right: 18px;
  top: -14px;
  font-size: 150px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  font-family: Georgia, serif;
}

.quote-panel blockquote {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.5;
  color: #f3f0ff;
  letter-spacing: -0.01em;
}

.quote-panel figcaption {
  margin-top: 22px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-soft);
}

/* 8. Contact -------------------------------------------------------------- */
.contact {
  padding-bottom: 112px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
  padding: 56px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 28px;
  background:
    radial-gradient(560px 300px at 8% 0%, rgba(139, 92, 246, 0.26), transparent 68%),
    radial-gradient(480px 280px at 100% 100%, rgba(34, 211, 238, 0.14), transparent 64%),
    linear-gradient(160deg, rgba(19, 25, 44, 0.95), rgba(8, 11, 21, 0.98));
  box-shadow: var(--shadow-lg);
}

.contact-card h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.contact-card p {
  max-width: 460px;
  margin-top: 16px;
  font-size: 15.5px;
  color: var(--text-body);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #efeaff;
  word-break: break-all;
}

.contact-mail svg {
  width: 18px;
  height: 18px;
  color: var(--violet-soft);
}

.contact-note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
}

/* 9. Footer --------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 13, 0.7);
  padding: 54px 0 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.85fr));
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  max-width: 320px;
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.footer-col h4 {
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cdd4e6;
}

.footer-col ul {
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--muted);
}

.footer-bottom a {
  color: #b9c1d6;
}

.footer-bottom a:hover {
  color: #fff;
}

/* 10. Legal pages --------------------------------------------------------- */
.legal-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 44px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(680px 320px at 16% 0%, rgba(139, 92, 246, 0.16), transparent 68%),
    radial-gradient(520px 280px at 92% 10%, rgba(34, 211, 238, 0.09), transparent 66%);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12.5px;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

.legal-hero h1 {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal-hero p {
  max-width: 720px;
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--muted);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: #d8ccff;
}

.pill--cyan {
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.08);
  color: #9aeaf7;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  gap: 48px;
  padding: 56px 0 96px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.legal-nav h2 {
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-nav ol {
  display: grid;
  gap: 7px;
  list-style: none;
  counter-reset: legal;
}

.legal-nav a {
  display: block;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-body);
  transition: background 0.2s ease, color 0.2s ease;
}

.legal-nav a:hover {
  background: rgba(139, 92, 246, 0.16);
  color: #fff;
}

.legal-content {
  max-width: 820px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
}

.legal-content .intro {
  padding: 20px 22px;
  margin-bottom: 36px;
  border-left: 3px solid var(--violet);
  border-radius: 0 10px 10px 0;
  background: var(--panel);
  font-size: 14.5px;
  color: var(--text-body);
}

.legal-content .intro p + p {
  margin-top: 14px;
}

.legal-section {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.legal-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.legal-content h2 {
  margin-bottom: 14px;
  padding-left: 13px;
  border-left: 4px solid var(--violet);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.legal-content h3 {
  margin: 24px 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #eef1fb;
}

.legal-content p {
  margin-bottom: 12px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content ul,
.legal-content ol {
  margin: 6px 0 14px;
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content li strong,
.legal-content p strong {
  color: #eef1fb;
}

.legal-content a {
  color: #93c5fd;
  border-bottom: 1px solid rgba(147, 197, 253, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
  word-break: break-word;
}

.legal-content a:hover {
  color: #bfdbfe;
  border-bottom-color: #bfdbfe;
}

.legal-note {
  display: block;
  margin: 14px 0;
  padding: 14px 18px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.07);
  font-size: 13.5px;
  color: #fcd58a;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 16px 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}

.legal-content table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13px;
}

.legal-content thead th {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  text-align: left;
  font-weight: 700;
  color: #eef1fb;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-strong);
}

.legal-content tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text-body);
  line-height: 1.65;
}

.legal-content tbody tr:last-child td {
  border-bottom: 0;
}

.legal-content tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.018);
}

.perm {
  display: inline-block;
  margin: 1px 0;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.14);
  color: #d3c7ff;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  word-break: break-all;
}

.trader-card {
  margin-bottom: 34px;
  padding: 26px 26px 22px;
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(139, 92, 246, 0.14), rgba(9, 13, 24, 0.3));
}

.trader-card h2 {
  padding-left: 0;
  border-left: 0;
  margin-bottom: 4px;
  font-size: 17px;
  color: #f0eaff;
}

.trader-card .sub {
  margin-bottom: 18px;
  font-size: 12.5px;
  color: var(--muted);
}

.trader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 22px;
  font-size: 13.5px;
}

.trader-item .label {
  display: block;
  margin-bottom: 3px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-soft);
}

.trader-item .value {
  color: #eef1fb;
  font-weight: 600;
  word-break: break-word;
}

.trader-item a {
  color: #93c5fd;
  border-bottom: 0;
}

.contact-box {
  margin-top: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  font-size: 14px;
  line-height: 2;
}

.legal-footer {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.9;
}

.legal-footer a {
  color: #b9c1d6;
  border-bottom: 0;
}

/* 11. Motion -------------------------------------------------------------- */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.7, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 12. Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
  }

  .float-card--one {
    left: -2%;
  }

  .float-card--two {
    right: -1%;
  }

  .game-card {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    column-gap: 24px;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .legal-nav {
    position: static;
  }

  .legal-nav ol {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 4px 10px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: calc(var(--header-h) + 52px) 0 72px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-meta {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-carousel {
    width: min(78vw, 300px);
  }

  .float-card--one {
    top: 8%;
    left: 4%;
  }

  .float-card--two {
    bottom: 10%;
    right: 3%;
  }

  .games-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "cover"
      "info"
      "shots";
    row-gap: 0;
  }

  .game-info {
    padding-top: 20px;
  }

  .shots {
    margin-top: 20px;
  }

  .studio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .contact-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 32px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Mobile navigation */
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: grid;
    gap: 2px;
    padding: 14px 24px 22px;
    background: rgba(6, 8, 15, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 13px 10px;
    font-size: 15px;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 76px 0;
  }

  .container {
    padding: 0 18px;
  }

  .hero-meta {
    gap: 18px 28px;
  }

  .hero-stat strong {
    font-size: 18px;
  }

  .float-card {
    padding: 8px 11px;
    font-size: 11px;
  }

  .float-card strong {
    font-size: 11.5px;
  }

  .studio-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-card {
    padding: 18px;
  }

  .game-info {
    padding-top: 18px;
  }

  .shots {
    --shot-w: 108px;
  }

  .contact-card {
    padding: 32px 22px;
    border-radius: 20px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-hero {
    padding: calc(var(--header-h) + 44px) 0 34px;
  }

  .legal-layout {
    padding: 36px 0 68px;
  }

  .legal-content {
    font-size: 14.5px;
  }

  .legal-content h2 {
    font-size: 18px;
  }

  .legal-nav {
    padding: 18px;
  }

  .trader-card {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 34px;
  }

  .brand-sub {
    letter-spacing: 0.3em;
  }

  .shots {
    --shot-w: 96px;
  }
}
