:root {
  color-scheme: dark;
  --ink: #f0f0f0;
  --muted: #a0a0a0;
  --paper: #0a0a12;
  --surface: #151525;
  --line: #2a2a4a;
  --blue: #00ffff;
  --green: #00ff9d;
  --amber: #ffcc66;
  --coral: #ff6b6b;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
  --glow: 0 0 10px rgba(0, 255, 255, 0.5);
  --accent-1: #00ffff;
  --accent-2: #00ff9d;
  --accent-3: #ff6b6b;
}

.dark-theme {
  /* Weltraum-Bild wird gekachelt (nicht gestreckt/zoomt/gedehnt) */
  background: var(--paper) url('assets/websitebackround.png') top left / auto repeat;
  color: var(--ink);
}

.future-theme {
  background: radial-gradient(ellipse at center, #0a0a12 0%, #000000 100%);
  position: relative;
  overflow: auto;
}

/* Futuristischer Hintergrund mit mehr Effekten (halbtransparent, damit das Weltraum-Bild durchscheint) */
.future-theme::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.08) 0%, transparent 22%),
    radial-gradient(circle at 80% 70%, rgba(0, 255, 157, 0.08) 0%, transparent 22%),
    linear-gradient(135deg, rgba(10, 10, 18, 0.5) 0%, rgba(21, 21, 37, 0.32) 50%, rgba(10, 10, 18, 0.5) 100%);
  pointer-events: none;
  z-index: -1;
  animation: background-move 30s ease infinite;
}

/* Weltraum-Bild als eigener Body-Hintergrund – gekachelt, nicht gestreckt */
body.future-theme {
  background:
    radial-gradient(ellipse at center, rgba(10, 10, 18, 0.6) 0%, rgba(0, 0, 0, 0.72) 100%),
    url('assets/websitebackround.png') top left / auto repeat;
}

@keyframes background-move {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-20px, -20px); }
  50% { transform: translate(0, 0); }
  75% { transform: translate(20px, 20px); }
  100% { transform: translate(0, 0); }
}

/* Futuristische Hintergrund-Elemente */
.futuristic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 255, 255, 0.03) 0%, transparent 15%),
    radial-gradient(circle at 90% 80%, rgba(0, 255, 157, 0.03) 0%, transparent 15%);
}

.futuristic-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, transparent 49%, rgba(0, 255, 255, 0.05) 50%, transparent 51%),
    linear-gradient(-45deg, transparent 49%, rgba(0, 255, 255, 0.05) 50%, transparent 51%);
  animation: grid-float 25s linear infinite;
}

@keyframes grid-float {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-15px, -15px); }
  50% { transform: translate(0, 0); }
  75% { transform: translate(15px, 15px); }
  100% { transform: translate(0, 0); }
}

/* Header-Content repariert */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: clamp(1.3rem, 4vw, 1.6rem);
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-1);
  color: #000;
  font-weight: 800;
}

/* Hero: durchsichtig, damit das gekachelte Weltraum-Bild vom Body als Hintergrund durchscheint */
.hero {
  position: relative;
  min-height: min(690px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  background: transparent;
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -100px 100px rgba(0, 255, 255, 0.05);
}

.future-hero {
  background: transparent;
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

/* Scrollbar repariert */
*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: rgba(10, 10, 20, 0.5);
}

*::-webkit-scrollbar-thumb {
  background: var(--accent-1);
  border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--accent-2);
}

/* Futuristische Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  padding: 12px 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.button:hover::before {
  left: 100%;
}

.button.primary {
  background: var(--accent-1);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  border: 1px solid var(--accent-1);
}

.button.primary:hover {
  background: var(--accent-2);
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
}

.button.secondary {
  background: transparent;
  color: var(--accent-1);
  border: 1px solid var(--accent-1);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.button.secondary:hover {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

/* Futuristische Karten und Elemente */
.info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 20, 35, 0.7);
  box-shadow: var(--shadow), 0 0 20px rgba(0, 255, 255, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow), 0 0 25px rgba(0, 255, 255, 0.3);
  border-color: var(--accent-1);
}

/* Futuristische Spielkarten */
.game-showcase-card {
  background: rgba(25, 25, 45, 0.6);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow), 0 0 15px rgba(0, 255, 255, 0.05);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.game-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow), 0 0 25px rgba(0, 255, 255, 0.2);
  border-color: var(--accent-1);
}

/* Futuristische Überschriften */
h1, h2, h3 {
  position: relative;
  line-height: 1.3;
  margin-top: 0;
}

h1::after, h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  border-radius: 2px;
}

/* Futuristischer Text */
/* Futuristisches Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(10, 10, 20, 0.8);
  backdrop-filter: blur(10px);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
}

/* Futuristische Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
  padding: 8px 13px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--accent-1);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

/* Futuristische Formulare */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 800;
  color: var(--accent-1);
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 20, 35, 0.5);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-1);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  background: rgba(20, 20, 35, 0.7);
}

/* Futuristische Schatten und Effekte */
.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  border-top: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Futuristischer Cursor */
* {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='none' stroke='%2300ffff' stroke-width='1'/%3E%3C/svg%3E") 8 8, auto;
}

/* Futuristische Links */
a {
  color: var(--accent-1);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-1);
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(8, 9, 16, 0.72);
  border-bottom: 1px solid rgba(0, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-1);
  color: #000;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
  padding: 8px 13px;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(0, 255, 255, 0.12);
  border-color: var(--accent-1);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.18);
}

/* Hero (light-System – überschreibt die obere Neon-Regel, muss deshalb ebenfalls transparent bleiben) */
.hero {
  position: relative;
  min-height: min(690px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

/* Hero-Text mittig auf der Seite, nicht links gequetscht */
.hero-content {
  position: relative;
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 88px) 24px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: min(1100px, 100%);
  margin: 0 auto;
  color: #f4f8ff;
  font-size: clamp(2.4rem, 8vw, 7rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(0, 255, 255, 0.25);
  /* Keine Worttrennung mitten im Wort; Zeilen schön ausbalanciert */
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

/* Einzelne Wörter des Hero-Titels dürfen nie umgebrochen werden */
h1 span {
  white-space: nowrap;
}

.hero .eyebrow,
.future-hero .eyebrow {
  color: var(--accent-1);
}

.hero-copy {
  max-width: 680px;
  margin: 24px auto 0;
  color: #e0e0e0;
  font-size: clamp(1.06rem, 2vw, 1.34rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  padding: 12px 18px;
  text-decoration: none;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 86px) 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 26px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.2;
}

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

.url-card,
.info-card,
.game-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.url-card,
.info-card {
  padding: 24px;
}

.url-card p,
.info-card p,
.game-item p,
.legal-content p {
  color: var(--muted);
}

.url-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  color: #0d1117;
  font-weight: 900;
}

.url-card:nth-child(1) .url-icon {
  background: var(--blue);
}

.url-card:nth-child(2) .url-icon {
  background: var(--green);
}

.url-card:nth-child(3) .url-icon {
  background: var(--amber);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.game-list {
  display: grid;
  gap: 14px;
}

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

.game-showcase-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.game-shot-link {
  display: block;
  height: 360px;
  overflow: hidden;
  background: #101820;
}

.game-shot-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 220ms ease;
}

.game-showcase-card:hover .game-shot-link img {
  transform: scale(1.025);
}

.game-card-body {
  position: relative;
  padding: 54px 22px 24px;
}

.game-card-body .app-icon {
  position: absolute;
  top: -34px;
  left: 22px;
}

.app-icon {
  width: 68px;
  height: 68px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(23, 32, 42, 0.22);
}

.app-icon.large {
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  border-radius: 22px;
}

.game-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.game-item a {
  color: var(--ink);
}

.game-art {
  width: 84px;
  aspect-ratio: 1;
  border-radius: 8px;
  border: 3px solid #17202a;
  image-rendering: pixelated;
}

.game-art-one {
  background:
    linear-gradient(90deg, transparent 66%, rgba(255, 255, 255, 0.42) 67% 75%, transparent 76%),
    linear-gradient(#7bc8f6 0 42%, #64a35c 43% 70%, #8a5a35 71%);
}

.game-art-two {
  background:
    radial-gradient(circle at 64% 28%, #fff 0 8%, transparent 9%),
    linear-gradient(135deg, #313a7d 0 45%, #c84332 46% 56%, #f5c542 57%);
}

.game-page .page-hero h1 {
  max-width: 760px;
}

.game-page {
  --game-bg: rgba(10, 10, 18, 0.72);
  --game-surface: rgba(21, 21, 37, 0.82);
  --game-ink: var(--ink);
  --game-muted: var(--muted);
  --game-line: var(--line);
  --game-accent: var(--blue);
  --game-accent-2: var(--green);
  --game-panel: rgba(15, 17, 28, 0.7);
  background-color: var(--game-bg);
  /* Weltraum-Bild wird gekachelt, nicht gestreckt oder gezoomt */
  background-image: url('assets/websitebackround.png');
  background-size: auto;
  background-position: top left;
  background-repeat: repeat;
  color: var(--game-ink);
}

.dragon-page {
  --game-bg: rgba(10, 14, 26, 0.72);
  --game-surface: rgba(18, 24, 40, 0.82);
  --game-ink: #f2f6ff;
  --game-muted: #aeb9d6;
  --game-line: #33406a;
  --game-accent: #ff7540;
  --game-accent-2: #39b6b0;
  --game-panel: rgba(14, 18, 32, 0.78);
}

.screw-page {
  --game-bg: rgba(23, 26, 30, 0.72);
  --game-surface: rgba(34, 39, 46, 0.84);
  --game-ink: #f3f5f6;
  --game-muted: #aeb8c3;
  --game-line: #3b444f;
  --game-accent: #f0a231;
  --game-accent-2: #18b8b3;
  --game-panel: rgba(22, 25, 30, 0.84);
}

.raptor-page {
  --game-bg: rgba(7, 17, 22, 0.78);
  --game-surface: rgba(13, 27, 34, 0.86);
  --game-ink: #ecfbff;
  --game-muted: #9fb7c1;
  --game-line: #173644;
  --game-accent: #00c7df;
  --game-accent-2: #ffd21f;
  --game-panel: rgba(7, 17, 22, 0.82);
}

.game-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 7vw, 86px) clamp(18px, 6vw, 88px);
  overflow: hidden;
  border-bottom: 1px solid var(--game-line);
}

.game-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.game-hero::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.game-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
  border: 1px solid color-mix(in srgb, var(--game-line), transparent 30%);
  border-radius: 8px;
  background: var(--game-panel);
  box-shadow: 0 24px 80px rgba(23, 32, 42, 0.12);
  padding: clamp(24px, 4vw, 42px);
  backdrop-filter: blur(12px);
}

.game-hero h1 {
  max-width: 10ch;
  color: var(--game-ink);
  font-size: clamp(3rem, 8vw, 6.8rem);
}

.game-hero p {
  max-width: 640px;
  color: var(--game-muted);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
}

.game-page .eyebrow {
  color: var(--game-accent);
}

.game-page .button.primary {
  background: var(--game-ink);
  color: var(--game-bg);
}

.game-page .button.secondary {
  border-color: var(--game-line);
  background: var(--game-surface);
  color: var(--game-ink);
}

.dragon-theme {
  background:
    linear-gradient(115deg, rgba(13, 18, 34, 0.66), rgba(13, 18, 34, 0.42)),
    repeating-linear-gradient(135deg, rgba(57, 182, 176, 0.1) 0 16px, transparent 16px 34px);
}

.dragon-theme::before {
  background-image:
    linear-gradient(45deg, transparent 0 47%, rgba(255, 117, 64, 0.18) 48% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 0 47%, rgba(57, 182, 176, 0.14) 48% 52%, transparent 53%);
  background-position: 0 0, 22px 18px;
  background-size: 72px 72px;
  opacity: 0.72;
}

.dragon-theme::after {
  right: clamp(18px, 6vw, 84px);
  bottom: 36px;
  width: min(34vw, 420px);
  height: 120px;
  border: 2px solid rgba(38, 58, 99, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
  transform: rotate(-4deg);
}

.screw-theme {
  background:
    linear-gradient(115deg, rgba(37, 42, 49, 0.92), rgba(15, 17, 20, 0.72)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 72px),
    #171a1e;
}

.screw-theme::before {
  background:
    linear-gradient(90deg, rgba(240, 162, 49, 0.36), transparent 32% 68%, rgba(24, 184, 179, 0.26)),
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(255, 255, 255, 0.05) 12px 14px);
  opacity: 0.76;
}

.screw-theme::after {
  right: -54px;
  bottom: 84px;
  width: 440px;
  height: 54px;
  border: 1px solid rgba(240, 162, 49, 0.4);
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(240, 162, 49, 0.34) 0 18px, rgba(24, 184, 179, 0.26) 18px 36px),
    rgba(255, 255, 255, 0.08);
  transform: rotate(-22deg);
}

.raptor-theme {
  background:
    linear-gradient(115deg, rgba(6, 19, 25, 0.96), rgba(12, 31, 39, 0.8)),
    linear-gradient(180deg, rgba(0, 199, 223, 0.18), transparent 52%),
    #071116;
}

.raptor-theme::before {
  background:
    repeating-linear-gradient(0deg, rgba(0, 199, 223, 0.09) 0 1px, transparent 1px 11px),
    linear-gradient(90deg, transparent, rgba(0, 199, 223, 0.16), transparent);
  opacity: 0.82;
}

.raptor-theme::after {
  right: clamp(20px, 6vw, 90px);
  top: clamp(86px, 12vw, 150px);
  width: min(32vw, 390px);
  height: min(32vw, 390px);
  border: 1px solid rgba(0, 199, 223, 0.42);
  border-radius: 50%;
  background:
    linear-gradient(transparent 48%, rgba(0, 199, 223, 0.36) 49% 51%, transparent 52%),
    linear-gradient(90deg, transparent 48%, rgba(0, 199, 223, 0.36) 49% 51%, transparent 52%);
  opacity: 0.54;
}

.phone-stage {
  position: relative;
  z-index: 1;
  min-height: 620px;
}

.phone-shot {
  display: block;
  width: min(58vw, 390px);
  max-width: 100%;
  border: 8px solid color-mix(in srgb, var(--game-ink), #000 18%);
  border-radius: 34px;
  background: #17202a;
  box-shadow: 0 28px 70px color-mix(in srgb, var(--game-accent), transparent 72%);
}

.dragon-page .phone-shot {
  border-color: #ffffff;
}

.screw-page .phone-shot {
  border-color: #303740;
}

.raptor-page .phone-shot {
  border-color: #071116;
  box-shadow:
    0 0 0 1px rgba(0, 199, 223, 0.35),
    0 28px 70px rgba(0, 199, 223, 0.18);
}

.phone-shot.main {
  position: relative;
  z-index: 2;
  margin-left: auto;
}

.phone-shot.side {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 8px;
  width: min(44vw, 300px);
  opacity: 0.88;
}

.dragon-hero {
  background:
    linear-gradient(115deg, rgba(13, 18, 34, 0.6), rgba(13, 18, 34, 0.36)),
    repeating-linear-gradient(45deg, rgba(57, 182, 176, 0.1) 0 18px, rgba(0, 199, 223, 0.08) 18px 36px);
}

.screw-hero {
  background:
    linear-gradient(115deg, rgba(23, 26, 30, 0.62), rgba(23, 26, 30, 0.4)),
    repeating-linear-gradient(90deg, rgba(240, 162, 49, 0.09) 0 16px, rgba(0, 199, 223, 0.08) 16px 32px);
}

.game-detail {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.7fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  border-bottom: 1px solid var(--game-line);
}

.game-detail p {
  max-width: 720px;
  color: var(--game-muted);
}

.game-page .game-detail h2,
.game-page .game-links h2 {
  color: var(--game-ink);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.feature-list span {
  border: 1px solid var(--game-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--game-surface), transparent 8%);
  color: var(--game-ink);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 7px 12px;
}

.game-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--game-line);
}

.game-page .info-card {
  border-color: var(--game-line);
  background: var(--game-surface);
}

.game-page .info-card p {
  color: var(--game-muted);
}

.game-page .info-card a {
  color: var(--game-accent);
}

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

.screenshot-band img {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--game-line);
  border-radius: 8px;
  background: #101820;
  box-shadow: var(--shadow);
}

.dragon-page .screenshot-band img {
  box-shadow: 0 18px 50px rgba(38, 58, 99, 0.16);
}

.screw-page .screenshot-band img {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

.raptor-page .screenshot-band img {
  box-shadow:
    0 0 0 1px rgba(0, 199, 223, 0.18),
    0 18px 50px rgba(0, 0, 0, 0.46);
}

.page {
  min-height: calc(100vh - 72px);
}

.page-hero {
  padding: clamp(54px, 9vw, 104px) clamp(18px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.6rem, 8vw, 6rem);
}

.page-hero p {
  max-width: 720px;
  color: #cccccc;
  font-size: 1.13rem;
}

.support-hero {
  background:
    linear-gradient(115deg, rgba(12, 16, 28, 0.66), rgba(12, 16, 28, 0.42)),
    repeating-linear-gradient(90deg, rgba(0, 255, 255, 0.07) 0 1px, transparent 1px 72px),
    rgba(10, 10, 18, 0.2);
  border-bottom: 1px solid var(--line);
}

.legal-hero {
  background:
    linear-gradient(115deg, rgba(12, 16, 28, 0.68), rgba(12, 16, 28, 0.44)),
    repeating-linear-gradient(135deg, rgba(255, 204, 102, 0.09) 0 14px, transparent 14px 28px),
    rgba(10, 10, 18, 0.2);
  border-bottom: 1px solid var(--line);
}

.youtube-content h3 {
  margin-top: 0;
}

.book-content ul {
  padding-left: 24px;
}

.book-actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.updated {
  font-size: 0.94rem;
  font-weight: 800;
}

.faq {
  border-top: 1px solid var(--line);
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 20, 35, 0.72);
  margin-top: 12px;
  padding: 16px 18px;
  backdrop-filter: blur(6px);
}

summary {
  color: var(--ink);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  color: var(--muted);
}

.legal-content {
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 78px) 0;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 800px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 620px;
    align-items: end;
  }

  .hero-content {
    width: min(100% - 36px, 680px);
    margin: 0 auto;
  }

  .url-grid,
  .support-grid,
  .game-showcase-grid,
  .game-detail,
  .game-links,
  .screenshot-band,
  .split {
    grid-template-columns: 1fr;
  }

  .game-shot-link {
    height: 520px;
  }

  .game-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .phone-stage {
    min-height: 560px;
  }

  .phone-shot {
    width: min(78vw, 360px);
  }

  .phone-shot.side {
    width: min(58vw, 260px);
  }
}

@media (max-width: 480px) {
  .brand {
    white-space: normal;
  }

  .nav a {
    padding: 7px 10px;
  }

  .game-item {
    grid-template-columns: 64px 1fr;
  }

  .game-art {
    width: 64px;
  }

  .game-shot-link {
    height: 430px;
  }

  .phone-stage {
    min-height: 470px;
  }

  .phone-shot {
    border-width: 6px;
    border-radius: 26px;
  }
  
  .about-content h3 {
    margin-top: 24px;
  }
  
  .about-content h3:first-child {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
