/* Porta Games Studio — "Night Siren" theme (approved mockup 2, 19 Nov 2026). Hand-written, no framework. */

@font-face {
  font-family: "Fredoka";
  src: url("/assets/fredoka-latin.woff") format("woff");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #060b1a;
  --bg-2: #0a1230;
  --ink: #eef3ff;
  --muted: #a3b0cf;
  --faint: #6f7da0;
  --red: #ff2d43;
  --red-deep: #c4102a;
  --blue: #2f80ff;
  --blue-deep: #1048c8;
  --teal: #19b3a1;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.025);
  --line: rgba(150, 178, 255, 0.22);
  --line-strong: rgba(150, 190, 255, 0.45);
  --radius: 24px;
  --wrap: 1200px;
  --display: "Fredoka", ui-rounded, "Segoe UI Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px;
  background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid #8fb8ff; outline-offset: 3px; border-radius: 10px; }

/* ---------------------------------------------------------------- backdrop */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 78% 18%, rgba(28, 64, 170, 0.35), transparent 60%),
    radial-gradient(1000px 650px at 8% 70%, rgba(150, 14, 36, 0.32), transparent 62%),
    linear-gradient(180deg, #070d22 0%, var(--bg) 55%, #050916 100%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.glow-red { width: 46vw; height: 46vw; left: -14vw; top: 28vh; background: radial-gradient(circle, #ff1f3d 0%, rgba(255, 31, 61, 0) 70%); animation: pulse-red 2.4s ease-in-out infinite; }
.glow-blue { width: 44vw; height: 44vw; right: -12vw; top: -8vh; background: radial-gradient(circle, #2a6bff 0%, rgba(42, 107, 255, 0) 70%); animation: pulse-blue 2.4s ease-in-out infinite; }
@keyframes pulse-red { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.32; } }
@keyframes pulse-blue { 0%, 100% { opacity: 0.32; } 50% { opacity: 0.6; } }

.streak { position: absolute; height: 2px; border-radius: 2px; opacity: 0; filter: blur(0.6px);
  animation: streak 7s var(--ease) infinite; }
.streak::after { content: ""; position: absolute; inset: -6px 0; background: inherit; filter: blur(8px); opacity: 0.8; }
.s1 { top: 14%; left: -30%; width: 52vw; background: linear-gradient(90deg, transparent, #ff3550, transparent); animation-delay: 0s; }
.s2 { top: 31%; left: -30%; width: 38vw; background: linear-gradient(90deg, transparent, #3c8bff, transparent); animation-delay: 1.6s; animation-duration: 8.5s; }
.s3 { top: 56%; left: -30%; width: 60vw; background: linear-gradient(90deg, transparent, #ff2d43, transparent); animation-delay: 3.1s; animation-duration: 9s; }
.s4 { top: 72%; left: -30%; width: 44vw; background: linear-gradient(90deg, transparent, #2f80ff, transparent); animation-delay: 4.4s; }
.s5 { top: 84%; left: -30%; width: 30vw; background: linear-gradient(90deg, transparent, #ff5468, transparent); animation-delay: 5.6s; animation-duration: 6.5s; }
.s6 { top: 44%; left: -30%; width: 34vw; background: linear-gradient(90deg, transparent, #5a9cff, transparent); animation-delay: 2.4s; animation-duration: 10s; }
@keyframes streak {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 0.85; }
  70% { opacity: 0.5; }
  100% { transform: translateX(190vw); opacity: 0; }
}
.grain { position: absolute; inset: -50%; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------------------------------------------------------------- header */
.site-header { position: relative; z-index: 20; padding-top: clamp(10px, 2vw, 22px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: clamp(150px, 17vw, 236px); filter: drop-shadow(0 8px 24px rgba(255, 30, 60, 0.35)); transition: transform 0.35s var(--ease); }
.brand:hover img { transform: scale(1.03) rotate(-1.5deg); }
.site-nav { display: flex; gap: clamp(20px, 4vw, 56px); }
.site-nav a {
  position: relative; font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.5vw, 21px);
  text-decoration: none; letter-spacing: 0.01em; padding: 6px 2px; color: var(--ink);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--display); font-weight: 650; font-size: 19px; line-height: 1.1; text-decoration: none;
  padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer; color: #fff; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn-icon { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-red {
  background: linear-gradient(180deg, #ff4a5c 0%, var(--red) 45%, var(--red-deep) 100%);
  box-shadow: 0 0 0 2px rgba(255, 120, 135, 0.55) inset, 0 10px 30px rgba(255, 30, 60, 0.45), 0 0 46px rgba(255, 30, 60, 0.35);
}
.btn-red:hover { box-shadow: 0 0 0 2px rgba(255, 150, 160, 0.8) inset, 0 14px 38px rgba(255, 30, 60, 0.6), 0 0 64px rgba(255, 30, 60, 0.5); }
.btn-blue {
  background: linear-gradient(180deg, #4a95ff 0%, var(--blue) 50%, var(--blue-deep) 100%);
  box-shadow: 0 0 0 2px rgba(140, 190, 255, 0.6) inset, 0 10px 28px rgba(40, 110, 255, 0.45), 0 0 40px rgba(40, 110, 255, 0.35);
}
.btn-blue:hover { box-shadow: 0 0 0 2px rgba(170, 210, 255, 0.85) inset, 0 14px 36px rgba(40, 110, 255, 0.6), 0 0 60px rgba(40, 110, 255, 0.5); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04); border: 1.5px solid var(--line-strong); color: var(--ink);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-store { padding: 12px 22px 12px 26px; font-size: 16px; text-align: left; gap: 18px; }
.btn-store strong { font-size: 19px; font-weight: 650; }
.btn-static { cursor: default; }
.btn-static:hover { transform: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(18px, 4vw, 40px) 0 clamp(24px, 4vw, 48px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(20px, 4vw, 60px); min-height: min(640px, 72vh); }
.hero h1 { font-size: clamp(46px, 6.4vw, 92px); font-weight: 700; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45); }
.hero-sub { margin-top: 18px; font-family: var(--display); font-weight: 500; font-size: clamp(19px, 2vw, 28px); color: #dfe6fa; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(26px, 3.4vw, 42px); }
.hero-actions .btn-red { font-size: clamp(19px, 1.8vw, 24px); padding: 18px 36px; }

.hero-visual { position: relative; height: clamp(440px, 52vw, 640px); display: grid; place-items: center; perspective: 1600px; }

/* the emergency light bar behind the phone */
.hero-copy { position: relative; z-index: 3; }
.siren { position: absolute; z-index: 1; left: -32%; top: 15%; width: 70%; height: 84px; border-radius: 46px 46px 20px 20px;
  background: linear-gradient(180deg, #343a52 0%, #151a2b 55%, #0b0f1a 100%);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.14) inset, 0 22px 46px rgba(0, 0, 0, 0.6);
  transform: rotate(-4deg); }
.siren-dome { position: absolute; top: -28px; width: 44%; height: 82px; border-radius: 46px 46px 16px 16px;
  box-shadow: inset 0 8px 12px rgba(255, 255, 255, 0.35), inset 0 -10px 16px rgba(0, 0, 0, 0.35); }
.siren-dome::after { content: ""; position: absolute; left: 14%; right: 14%; top: 9px; height: 16px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0)); }
.siren-red { left: 5%; background: radial-gradient(ellipse at 50% 70%, #ffe1e4 0%, #ff3348 34%, #a3071b 100%); animation: flash-red 0.9s steps(1) infinite; }
.siren-blue { right: 5%; background: radial-gradient(ellipse at 50% 70%, #e1ecff 0%, #2f7dff 34%, #0b2f8f 100%); animation: flash-blue 0.9s steps(1) infinite; }
.siren-flare { position: absolute; top: -100px; width: 80%; height: 230px; border-radius: 50%; filter: blur(42px); mix-blend-mode: screen; }
.flare-red { left: -14%; background: radial-gradient(circle, rgba(255, 45, 70, 0.95), rgba(255, 45, 70, 0) 68%); animation: flare-red 0.9s steps(1) infinite; }
.flare-blue { right: -14%; background: radial-gradient(circle, rgba(60, 130, 255, 0.95), rgba(60, 130, 255, 0) 68%); animation: flare-blue 0.9s steps(1) infinite; }
/* double flash, red then blue (same rhythm as the game's title siren) */
@keyframes flash-red { 0% { filter: brightness(1.3); } 14% { filter: brightness(0.62); } 22% { filter: brightness(1.3); } 36%, 100% { filter: brightness(0.62); } }
@keyframes flash-blue { 0%, 49% { filter: brightness(0.62); } 50% { filter: brightness(1.35); } 64% { filter: brightness(0.62); } 72% { filter: brightness(1.35); } 86%, 100% { filter: brightness(0.62); } }
@keyframes flare-red { 0% { opacity: 1; } 14% { opacity: 0.15; } 22% { opacity: 1; } 36%, 100% { opacity: 0.1; } }
@keyframes flare-blue { 0%, 49% { opacity: 0.1; } 50% { opacity: 1; } 64% { opacity: 0.15; } 72% { opacity: 1; } 86%, 100% { opacity: 0.1; } }

/* phone frame drawn in CSS around a real screenshot */
.phone { position: relative; width: clamp(220px, 23vw, 318px); aspect-ratio: 540 / 1200; padding: 11px; border-radius: 46px;
  background: linear-gradient(145deg, #3a4462 0%, #151a2b 35%, #0a0d17 100%); }
.phone::before { content: ""; position: absolute; inset: 3px; border-radius: 43px; border: 1.5px solid rgba(255, 255, 255, 0.08); pointer-events: none; z-index: 2; }
.phone::after { content: ""; position: absolute; top: 22px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); border-radius: 20px; background: #05070d; z-index: 3; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05); }
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 36px; background: #000; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 32%); pointer-events: none; }
.phone-hero { z-index: 2; transform: rotateY(-16deg) rotateX(7deg) rotateZ(9deg); animation: float 6s ease-in-out infinite;
  box-shadow: -16px 0 50px -8px rgba(255, 40, 65, 0.7), 18px 0 60px -6px rgba(45, 120, 255, 0.75), 0 0 0 2px rgba(120, 160, 255, 0.35), 0 50px 90px rgba(0, 0, 0, 0.65); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* ---------------------------------------------------------------- games */
.games { position: relative; padding: clamp(10px, 2vw, 20px) 0 clamp(56px, 7vw, 96px); }
.section-kicker { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.card-row { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: clamp(14px, 2vw, 26px); }
.game-card {
  position: relative; display: flex; align-items: center; gap: 22px; min-height: 196px; padding: 22px 26px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--glass) 0%, var(--glass-2) 100%);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.game-card-live { border-color: rgba(140, 180, 255, 0.5); box-shadow: 0 0 0 1px rgba(120, 170, 255, 0.25) inset, 0 0 40px rgba(40, 110, 255, 0.25), 0 20px 50px rgba(0, 0, 0, 0.4); }
.game-card-live:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(150, 195, 255, 0.45) inset, 0 0 60px rgba(40, 110, 255, 0.4), 0 26px 60px rgba(0, 0, 0, 0.45); }
.game-icon { width: clamp(104px, 10vw, 150px); border-radius: 26px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12); flex: none; }
.game-card h3 { font-size: clamp(22px, 2.1vw, 30px); margin-bottom: 16px; }
.game-card-soon { justify-content: flex-start; color: #8e9bbb; }
.game-card-soon p { font-family: var(--display); font-weight: 600; font-size: clamp(19px, 1.8vw, 25px); line-height: 1.2; }
.soon-icon { display: grid; place-items: center; width: clamp(96px, 9vw, 130px); aspect-ratio: 1; border-radius: 24px; flex: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line); }
.soon-icon svg { width: 62%; fill: #66718f; }
.soon-icon .cut { fill: #1a2240; }

/* ---------------------------------------------------------------- spotlight */
.spotlight { padding: clamp(40px, 6vw, 90px) 0; }
.spotlight-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: clamp(30px, 6vw, 90px); }
.spotlight-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone-spot { width: clamp(230px, 22vw, 300px); transform: rotateZ(-6deg);
  box-shadow: 18px 0 60px -10px rgba(255, 40, 65, 0.6), -16px 0 56px -8px rgba(45, 120, 255, 0.6), 0 0 0 2px rgba(120, 160, 255, 0.3), 0 40px 80px rgba(0, 0, 0, 0.6); }
.spot-ring { position: absolute; z-index: -1; width: 480px; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 45, 67, 0.35), rgba(47, 128, 255, 0.35), rgba(255, 45, 67, 0.35));
  filter: blur(60px); animation: spin 14s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase; color: #ff8a98; margin-bottom: 12px; }
.spotlight h2, .about h2 { font-size: clamp(34px, 4.4vw, 58px); }
.lead { margin-top: 18px; font-size: clamp(17px, 1.45vw, 20px); color: var(--muted); max-width: 60ch; }
.features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.features li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; color: #d8e0f5; }
.dot { flex: none; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; }
.dot-red { background: var(--red); box-shadow: 0 0 14px var(--red); }
.dot-blue { background: var(--blue); box-shadow: 0 0 14px var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.chip { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: 14px; font-weight: 600; color: #c9d4f0; }

/* ---------------------------------------------------------------- about */
.about { padding: clamp(50px, 7vw, 100px) 0; text-align: center; }
.about .eyebrow { color: #7fb0ff; }
.about-lead { margin-inline: auto; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); margin-top: clamp(34px, 4vw, 56px); text-align: left; }
.value-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--glass) 0%, var(--glass-2) 100%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease), border-color 0.35s; }
.value-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.value-card h3 { font-size: 24px; margin: 18px 0 8px; }
.value-card p { color: var(--muted); font-size: 16px; }
.value-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; }
.value-icon svg { width: 28px; height: 28px; fill: #fff; }
.value-red { background: linear-gradient(180deg, #ff5466, var(--red-deep)); box-shadow: 0 8px 26px rgba(255, 40, 65, 0.45); }
.value-blue { background: linear-gradient(180deg, #4c97ff, var(--blue-deep)); box-shadow: 0 8px 26px rgba(40, 110, 255, 0.45); }
.value-teal { background: linear-gradient(180deg, #2fd0bc, #0d8577); box-shadow: 0 8px 26px rgba(25, 179, 161, 0.4); }

/* ---------------------------------------------------------------- contact */
.contact { padding: clamp(30px, 5vw, 70px) 0 clamp(60px, 8vw, 110px); }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px);
  border-radius: 30px; border: 1px solid rgba(255, 110, 130, 0.35);
  background: radial-gradient(600px 220px at 0% 0%, rgba(255, 40, 65, 0.22), transparent 70%), radial-gradient(600px 220px at 100% 100%, rgba(40, 110, 255, 0.24), transparent 70%), linear-gradient(180deg, var(--glass), var(--glass-2));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.contact-card h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 10px; }
.contact-card p { color: var(--muted); }
.btn-mail { font-size: clamp(16px, 1.6vw, 20px); }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid rgba(150, 178, 255, 0.14); padding: 34px 0 40px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35)); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.footer-brand img { width: 120px; opacity: 0.9; }
.footer-nav { display: flex; justify-content: center; gap: 18px; color: var(--faint); }
.footer-nav a { color: #c3cde6; text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.copyright { color: var(--faint); font-size: 14px; }

/* ---------------------------------------------------------------- reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- legal pages */
.legal { padding: clamp(24px, 4vw, 50px) 0 clamp(60px, 8vw, 110px); }
.legal-card { max-width: 860px; margin-inline: auto; padding: clamp(26px, 4.5vw, 56px); border-radius: 30px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.legal h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 10px; }
.legal .updated { color: var(--faint); font-size: 15px; margin-bottom: 28px; }
.legal h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 38px 0 12px; color: #fff; }
.legal h3 { font-size: 19px; margin: 22px 0 8px; }
.legal p, .legal li { color: #c9d3ec; font-size: 16.5px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0; display: grid; gap: 8px; }
.legal a { color: #8fb8ff; text-underline-offset: 3px; }
.legal a:hover { color: #b9d2ff; }
.legal strong { color: #fff; }
.legal .note { margin-top: 26px; padding: 16px 20px; border-radius: 16px; border: 1px solid rgba(255, 120, 135, 0.3); background: rgba(255, 45, 67, 0.07); }
.back-home { display: inline-flex; margin-top: 34px; }

/* ---------------------------------------------------------------- 404 */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.not-found h1 { font-size: clamp(90px, 16vw, 200px); background: linear-gradient(90deg, var(--red), #ff8a98 45%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found p { color: var(--muted); font-size: 20px; margin: 10px 0 30px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .card-row { grid-template-columns: 1fr 1fr; }
  .game-card-live { grid-column: 1 / -1; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .spotlight-visual { min-height: 480px; order: 2; }
  .values { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { height: 470px; margin-top: 10px; }
  .siren { left: 2%; top: 13%; width: 58%; transform: rotate(-4deg) scale(0.66); transform-origin: left center; }
  .phone-hero { width: clamp(196px, 50vw, 270px); }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
@media (max-width: 720px) {
  .nav-toggle { display: grid; gap: 5px; place-content: center; width: 48px; height: 48px; border-radius: 14px; cursor: pointer;
    border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.05); }
  .nav-toggle-bar { width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: calc(100% + 8px); right: clamp(16px, 4vw, 40px); flex-direction: column; gap: 4px; min-width: 200px; padding: 12px;
    border-radius: 20px; border: 1px solid var(--line-strong); background: rgba(8, 14, 34, 0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
  .site-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a { padding: 12px 14px; border-radius: 12px; }
  .site-nav a:hover { background: rgba(255, 255, 255, 0.06); }
  .site-nav a::after { display: none; }
  .card-row { grid-template-columns: 1fr; }
  .game-card { min-height: 0; }
  .game-card-soon { min-height: 140px; }
  .contact-card { justify-content: center; text-align: center; }
  .btn-mail { width: 100%; font-size: clamp(13.5px, 4.1vw, 17px); padding: 15px 16px; gap: 9px; }
  .btn-mail .btn-icon { width: 19px; height: 19px; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 42px; }
  .nowrap { white-space: normal; }
  .game-card { flex-direction: column; text-align: center; }
  .game-card-soon { flex-direction: row; text-align: left; }
  .hero-visual { height: 430px; }
  .siren { left: 0; top: 11%; transform: rotate(-4deg) scale(0.56); }
}

@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; }
  .streak { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
