:root {
  --bg-0: #040711;
  --bg-1: #091225;
  --panel: rgba(16, 24, 44, 0.9);
  --panel-strong: rgba(20, 31, 56, 0.95);
  --line: rgba(86, 113, 178, 0.34);
  --line-strong: rgba(95, 131, 216, 0.45);
  --text: #f2f7ff;
  --text-soft: #a8b5d9;
  --accent: #36c5ff;
  --accent-2: #30f1a9;
  --accent-3: #74a6ff;
  --good: #53ffaf;
  --warn: #ffb057;
  --bad: #ff6f8b;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, rgba(4, 8, 18, 0.84), rgba(7, 13, 26, 0.9) 60%, rgba(5, 10, 18, 0.93)),
    radial-gradient(circle at 12% -10%, rgba(21, 48, 106, 0.55) 0%, rgba(21, 48, 106, 0) 35%),
    radial-gradient(circle at 85% 8%, rgba(19, 61, 93, 0.52) 0%, rgba(19, 61, 93, 0) 40%),
    url("../img/background.jpg") center / cover fixed no-repeat;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(61, 87, 154, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 87, 154, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.7), transparent 85%);
  opacity: 0.66;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  width: 56vw;
  height: 56vw;
  right: -24vw;
  top: -24vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 131, 255, 0.26), rgba(44, 131, 255, 0));
  filter: blur(2px);
  pointer-events: none;
  z-index: -1;
}

.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.ambient-particle {
  position: absolute;
  left: var(--x, 50%);
  bottom: -8vh;
  width: var(--size, 8px);
  height: var(--size, 8px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 245, 212, 0.95), rgba(255, 198, 133, 0.1) 72%);
  opacity: 0;
  filter: blur(var(--blur, 0px));
  animation: dustRise var(--duration, 16s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.ambient-particle.ember {
  background: radial-gradient(circle, rgba(255, 208, 133, 0.98), rgba(255, 101, 65, 0.1) 75%);
  box-shadow: 0 0 12px rgba(255, 138, 86, 0.46);
  animation-name: emberRise;
}

@keyframes dustRise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.7);
    opacity: 0;
  }
  12% {
    opacity: 0.36;
  }
  65% {
    opacity: 0.2;
  }
  100% {
    transform: translate3d(var(--drift, 30px), -120vh, 0) scale(1.25);
    opacity: 0;
  }
}

@keyframes emberRise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.8);
    opacity: 0;
  }
  15% {
    opacity: 0.5;
  }
  48% {
    opacity: 0.8;
  }
  100% {
    transform: translate3d(var(--drift, 20px), -115vh, 0) scale(1.16);
    opacity: 0;
  }
}

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

img,
svg {
  max-width: 100%;
  height: auto;
}

main {
  min-height: 62vh;
}

p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Chakra Petch", "Trebuchet MS", sans-serif;
  margin-top: 0;
  line-height: 1.16;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 4.75rem 0;
}

.section-tight {
  padding: 2.9rem 0 4.2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(8, 15, 30, 0.7);
  color: var(--accent);
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 16px rgba(73, 211, 255, 0.8);
}

.muted {
  color: var(--text-soft);
}

.small {
  font-size: 0.9rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  color: var(--text-soft);
  background: rgba(7, 12, 24, 0.78);
  font-size: 0.8rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border: 1px solid rgba(95, 131, 216, 0.4);
  border-radius: 999px;
  color: #b8c8ec;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  text-align: center;
  border: 1px solid rgba(69, 132, 244, 0.45);
  background: linear-gradient(120deg, #2f65f3, #2d80f5 65%, #21a4e2);
  color: #f8fbff;
  padding: 0.9rem 1.35rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(45, 130, 244, 0.35);
  filter: saturate(1.1);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.button.secondary {
  border-color: rgba(97, 129, 197, 0.42);
  background: linear-gradient(120deg, rgba(20, 28, 47, 0.95), rgba(20, 35, 69, 0.95));
  color: #dbe6ff;
}

.button.small {
  padding: 0.56rem 1rem;
  font-size: 0.84rem;
}

:focus-visible {
  outline: 2px solid rgba(59, 202, 244, 0.9);
  outline-offset: 2px;
}

.card {
  border-radius: 1.15rem;
  border: 1px solid rgba(91, 121, 191, 0.3);
  background: linear-gradient(145deg, rgba(14, 23, 44, 0.88), rgba(9, 18, 34, 0.86));
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(16px);
  background: rgba(4, 8, 18, 0.76);
  border-bottom: 1px solid rgba(90, 119, 186, 0.24);
}

.nav-wrap {
  min-height: 4.9rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.82rem;
}

.brand-mark {
  width: 2.05rem;
  height: 2.05rem;
  background: rgba(8, 14, 28, 0.88) url("../img/logo.png") center / 80% no-repeat;
  flex: none;
}

.brand-text {
  display: grid;
  gap: 0.05rem;
}

.brand-text strong {
  font-family: "Chakra Petch", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 1.14rem;
  line-height: 1;
}

.brand-text small {
  color: var(--text-soft);
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.06em;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: rgba(11, 18, 34, 0.8);
  color: var(--text);
  border-radius: 0.65rem;
  padding: 0.56rem 0.8rem;
  font: inherit;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.32rem;
}

.site-nav a {
  padding: 0.48rem 0.8rem;
  border-radius: 0.55rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #e9f2ff;
  background: rgba(52, 88, 171, 0.26);
}

.site-nav .button {
  margin-left: 0.35rem;
}

.nav-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero {
  padding: 3.6rem 0 2.7rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  margin-bottom: 1.1rem;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  background-clip: text;
}

.hero p {
  color: var(--text-soft);
  font-size: 1.03rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.82rem;
  margin: 1.65rem 0 1.7rem;
}

.stats-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-item {
  padding: 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: rgba(9, 17, 33, 0.75);
}

.stat-item strong {
  display: block;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.15rem;
  margin-bottom: 0.22rem;
}

.hero-panel {
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  right: -4rem;
  top: -5rem;
  background: radial-gradient(circle, rgba(37, 119, 248, 0.28), rgba(37, 119, 248, 0));
}

.orb-shell {
  border: 1px solid rgba(99, 126, 193, 0.4);
  border-radius: 1rem;
  padding: 0;
  background: radial-gradient(circle at center, rgba(45, 76, 151, 0.48), rgba(15, 24, 45, 0.2));
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  overflow: hidden;
}

.hero-game-photo {
  margin: auto;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.1rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(94, 129, 198, 0.44);
  background: rgba(6, 12, 24, 0.84);
  position: relative;
}

.hero-game-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(11, 22, 43, 0.3), rgba(8, 15, 30, 0.6));
  pointer-events: none;
}

.hero-game-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.orb-core {
  width: 11.5rem;
  height: 11.5rem;
  border-radius: 50%;
  position: relative;
  border: 2px solid rgba(99, 133, 208, 0.5);
  background: radial-gradient(circle, rgba(43, 206, 192, 0.36), rgba(35, 98, 230, 0.45));
  animation: orbitPulse 4.4s ease-in-out infinite;
}

.orb-core::before,
.orb-core::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(90, 148, 244, 0.42);
}

.orb-core::after {
  inset: -35px;
  border-color: rgba(56, 214, 185, 0.42);
}

@keyframes orbitPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 24px rgba(41, 113, 244, 0.45);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 42px rgba(55, 231, 184, 0.4);
  }
}

.panel-list {
  display: grid;
  gap: 0.62rem;
  padding-left: 0;
}

.panel-list li {
  list-style: none;
  padding: 0.58rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(84, 120, 188, 0.32);
  background: rgba(9, 17, 32, 0.72);
  color: var(--text-soft);
}

.section-head {
  margin-bottom: 1.7rem;
}

.section-head h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.section-head p {
  color: var(--text-soft);
  max-width: 76ch;
}

.game-grid,
.info-grid,
.review-cards,
.policy-grid,
.achievement-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

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

.game-card {
  padding: 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(88, 123, 195, 0.3);
  background: linear-gradient(145deg, rgba(13, 22, 42, 0.92), rgba(10, 17, 31, 0.92));
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(71, 209, 229, 0.66);
  box-shadow: 0 20px 36px rgba(10, 21, 42, 0.56);
}

.game-card h3 {
  font-size: 1.34rem;
  margin-bottom: 0.5rem;
}

.game-thumb {
  margin: -0.15rem -0.15rem 0.2rem;
  border: 1px solid rgba(86, 123, 194, 0.38);
  border-radius: 0.8rem;
  overflow: hidden;
  background: rgba(6, 12, 24, 0.82);
}

.game-thumb img {
  display: block;
  width: 100%;
  height: 145px;
  object-fit: cover;
}

.game-card p {
  color: var(--text-soft);
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.game-card .button {
  margin-top: auto;
}

.feature-list {
  padding-left: 1rem;
  margin: 0;
  color: var(--text-soft);
}

.feature-list li {
  margin-bottom: 0.42rem;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tile {
  padding: 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(85, 120, 186, 0.32);
  background: rgba(9, 16, 33, 0.8);
}

.tile h3 {
  margin-bottom: 0.5rem;
}

.spaced-title {
  margin-top: 1rem;
}

.top-note {
  margin-top: 0.85rem;
}

.sub-hero {
  padding: 3.1rem 0 1.35rem;
}

.page-games .sub-hero {
  padding-top: 3.8rem;
  margin-bottom: 0.8rem;
}

.sub-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 3.05rem);
  margin-bottom: 0.85rem;
}

.sub-hero p {
  color: var(--text-soft);
  max-width: 74ch;
}

.review-block {
  padding: 1.85rem 1.6rem 1.6rem;
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 1.25rem;
}

.sub-hero-media {
  margin: 0;
  border: 1px solid rgba(88, 124, 194, 0.44);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(7, 14, 28, 0.8);
}

.sub-hero-media img {
  display: block;
  width: 100%;
  height: clamp(170px, 32vw, 310px);
  object-fit: cover;
}

.review-visual {
  margin: 0 0 1rem;
  border: 1px solid rgba(87, 125, 194, 0.4);
  border-radius: 0.95rem;
  overflow: hidden;
  background: rgba(6, 12, 25, 0.86);
  position: relative;
}

.review-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(155deg, rgba(11, 23, 46, 0.1), rgba(7, 14, 28, 0.58));
}

.review-visual img {
  width: 100%;
  display: block;
  height: 218px;
  object-fit: cover;
}

.review-block .button {
  margin-top: 0.9rem;
}

.review-block > div > .tag {
  margin-bottom: 0.78rem;
}

.review-block h2 {
  margin-bottom: 0.85rem;
}

.review-block p {
  margin-bottom: 0.95rem;
}

.review-block .feature-list {
  margin-bottom: 1rem;
}

.page-games .section.section-tight .container {
  display: grid;
  gap: 1.22rem;
}

.review-score {
  border: 1px solid rgba(86, 121, 188, 0.32);
  border-radius: 0.95rem;
  padding: 1rem;
  background: rgba(8, 13, 28, 0.62);
}

.review-score .score {
  font-family: "Chakra Petch", sans-serif;
  font-size: 2.1rem;
  margin: 0.3rem 0 0.55rem;
  color: var(--accent-2);
}

.meter {
  margin-bottom: 0.58rem;
}

.meter label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.28rem;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.meter-track {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(75, 102, 162, 0.22);
  overflow: hidden;
}

.meter-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f6dff, #2bd4e5);
}

.review-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(81, 196, 236, 0.64);
  box-shadow: 0 18px 32px rgba(9, 22, 44, 0.5);
}
.review-card {
  padding: 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(86, 122, 191, 0.34);
  background: rgba(9, 16, 31, 0.82);
}

.review-card h4 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.review-card p {
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.timeline {
  position: relative;
  padding-left: 1.45rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  background: linear-gradient(var(--accent), var(--accent-2));
}

.timeline-item {
  position: relative;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(85, 122, 191, 0.33);
  border-radius: 0.92rem;
  background: rgba(10, 17, 33, 0.8);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.38rem;
  top: 1.08rem;
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(34, 72, 142, 0.34);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid rgba(88, 123, 192, 0.34);
  border-radius: 0.86rem;
  overflow: hidden;
  background: rgba(10, 16, 32, 0.82);
}

.faq-item summary {
  padding: 0.95rem 1rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
  font-family: "Chakra Petch", sans-serif;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  font-size: 1.05rem;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  padding: 0 1rem 1rem;
  color: var(--text-soft);
}

.achievement-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(89, 123, 189, 0.32);
  background: rgba(9, 16, 30, 0.8);
  margin-bottom: 1rem;
}

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

.achievement-card {
  padding: 1rem;
  border-radius: 0.88rem;
  border: 1px solid rgba(88, 125, 193, 0.35);
  background: rgba(9, 16, 31, 0.86);
  min-height: 160px;
}

.achievement-card h3 {
  margin-bottom: 0.42rem;
  font-size: 1.16rem;
}

.achievement-card p {
  color: var(--text-soft);
}

.achievement-card.unlocked {
  border-color: rgba(72, 222, 176, 0.56);
  box-shadow: 0 0 0 1px rgba(65, 210, 168, 0.22) inset;
}

.achievement-card.locked {
  opacity: 0.75;
}

.achievement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(84, 126, 196, 0.4);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.74rem;
  margin-bottom: 0.65rem;
}

.achievement-card.unlocked .achievement-badge {
  border-color: rgba(71, 220, 171, 0.62);
  color: #b9ffe7;
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.panel-form,
.panel-contact {
  padding: 1.2rem;
}

.field {
  margin-bottom: 0.8rem;
}

.field label {
  display: inline-block;
  margin-bottom: 0.34rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #d9e5ff;
}

.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(88, 123, 193, 0.38);
  border-radius: 0.66rem;
  padding: 0.76rem 0.78rem;
  background: rgba(6, 12, 24, 0.88);
  color: #f0f6ff;
  font: inherit;
}

.field input:not([type="checkbox"]):not([type="radio"]):focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(79, 208, 255, 0.82);
  outline: none;
  box-shadow: 0 0 0 3px rgba(67, 172, 255, 0.18);
}

.field input[type="checkbox"] {
  width: auto;
  margin-right: 0.45rem;
  accent-color: #2d9ef0;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.counter-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.3rem;
  font-size: 0.76rem;
  color: var(--text-soft);
}

.form-feedback {
  min-height: 1.25rem;
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.form-feedback.good {
  color: var(--good);
}

.form-feedback.warn {
  color: var(--warn);
}

.contact-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.contact-list li {
  list-style: none;
  padding: 0.65rem 0.72rem;
  border: 1px solid rgba(88, 123, 193, 0.32);
  border-radius: 0.72rem;
  background: rgba(8, 14, 28, 0.72);
}

.legal-content {
  border: 1px solid rgba(87, 123, 193, 0.32);
  border-radius: 1rem;
  background: rgba(8, 15, 30, 0.83);
  padding: 1.2rem;
}

.legal-content h2 {
  margin-top: 1.3rem;
  margin-bottom: 0.62rem;
  font-size: 1.36rem;
}

.legal-content h2:first-of-type {
  margin-top: 0.2rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-soft);
}

.legal-content ul {
  padding-left: 1.08rem;
}

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

.info-grid .tile p {
  color: var(--text-soft);
}

.game-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.12rem;
}

.game-shell.with-visual {
  grid-template-columns: 1fr;
}

.game-main-grid {
  display: grid;
  gap: 1.12rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.game-visual {
  padding: 1.1rem;
  position: relative;
  overflow: hidden;
}

.game-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(63, 183, 233, 0.16), transparent 52%),
    radial-gradient(circle at 85% 85%, rgba(74, 118, 250, 0.16), transparent 50%);
  pointer-events: none;
}

.game-visual h2 {
  margin-bottom: 0.5rem;
}

.game-visual p {
  color: var(--text-soft);
  margin-bottom: 0.7rem;
}

.game-photo-card {
  margin: 0 0 0.85rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(90, 124, 192, 0.38);
  overflow: hidden;
  background: rgba(7, 14, 28, 0.75);
}

.game-photo-card img {
  display: block;
  width: 100%;
  height: clamp(180px, 26vw, 280px);
  object-fit: cover;
}

.vector-wrap {
  border: 1px solid rgba(90, 124, 191, 0.32);
  border-radius: 0.95rem;
  background: rgba(7, 14, 28, 0.75);
  padding: 0.8rem;
  position: relative;
}

.vector-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(64, 214, 236, 0.2) inset;
  pointer-events: none;
}

.game-vector {
  width: 100%;
  height: auto;
  display: block;
}

.glow-ring {
  animation: vectorPulse 3.8s ease-in-out infinite;
  transform-origin: center;
}

.spark-line {
  animation: lineDrift 2.3s ease-in-out infinite alternate;
}

.spark-line.delay {
  animation-delay: 0.8s;
}

.spark-dot {
  animation: dotBlink 1.5s linear infinite;
}

.spark-dot.delay {
  animation-delay: 0.5s;
}

@keyframes vectorPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes lineDrift {
  from {
    opacity: 0.55;
    transform: translateX(-3px);
  }
  to {
    opacity: 1;
    transform: translateX(3px);
  }
}

@keyframes dotBlink {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.machine,
.game-info {
  padding: 1.34rem;
}

.machine-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.reel {
  border: 1px solid rgba(94, 129, 198, 0.38);
  border-radius: 0.86rem;
  background: linear-gradient(145deg, rgba(7, 13, 27, 0.92), rgba(15, 25, 45, 0.82));
  padding: 1.4rem 0.55rem;
  display: grid;
  place-items: center;
  min-height: 120px;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.reel-symbol {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 76px;
}

.reel:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 203, 244, 0.7);
  box-shadow: 0 0 0 1px rgba(74, 203, 244, 0.26), 0 16px 26px rgba(4, 12, 30, 0.54);
}

.reel.spinning .reel-symbol {
  animation: reelSpin 0.16s linear infinite;
}

.reel.spinning {
  border-color: rgba(67, 223, 211, 0.8);
  box-shadow: 0 0 18px rgba(67, 223, 211, 0.4);
}

@keyframes reelSpin {
  0% {
    transform: translateY(-7px);
    opacity: 0.6;
  }
  50% {
    transform: translateY(7px);
    opacity: 1;
  }
  100% {
    transform: translateY(-7px);
    opacity: 0.6;
  }
}

.machine-controls {
  display: grid;
  gap: 0.7rem;
}

.machine-controls label {
  display: grid;
  gap: 0.4rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.machine-controls input[type="range"] {
  width: 100%;
}

.status-line {
  min-height: 1.2rem;
  margin-top: 0.75rem;
}

.status-line.is-win {
  color: var(--good);
}

.status-line.is-loss {
  color: var(--bad);
}

.event-log {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.48rem;
  max-height: 240px;
  overflow: auto;
}

.event-log li {
  list-style: none;
  border: 1px solid rgba(89, 123, 190, 0.32);
  border-radius: 0.64rem;
  padding: 0.5rem 0.65rem;
  background: rgba(7, 14, 27, 0.76);
  color: var(--text-soft);
  font-size: 0.86rem;
}

.event-log li.good {
  color: #b7ffe0;
}

.event-log li.bad {
  color: #ffc1cd;
}

.symbol-token {
  display: inline-grid;
  justify-items: center;
  align-items: center;
  gap: 0.22rem;
}

.symbol-svg {
  width: 56px;
  height: 56px;
  overflow: visible;
  filter: drop-shadow(0 0 12px rgba(54, 197, 255, 0.34));
}

.symbol-token.reel .symbol-svg {
  width: 64px;
  height: 64px;
}

.symbol-token.memory .symbol-svg {
  width: 42px;
  height: 42px;
}

.memory-front .symbol-token {
  width: 100%;
  gap: 0.18rem;
}

.memory-front .symbol-label {
  font-size: 0.56rem;
}

.symbol-label {
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #cfddff;
  line-height: 1;
}

.symbol-core {
  animation: symbolPulse 2.4s ease-in-out infinite;
}

.symbol-detail {
  animation: symbolPulseSoft 2.8s ease-in-out infinite;
}

.symbol-line {
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes symbolPulse {
  0%,
  100% {
    opacity: 0.82;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes symbolPulseSoft {
  0%,
  100% {
    opacity: 0.56;
  }
  50% {
    opacity: 0.94;
  }
}

.memory-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.82rem;
}

.memory-stats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.memory-stats span {
  border: 1px solid rgba(87, 121, 189, 0.36);
  border-radius: 999px;
  padding: 0.35rem 0.64rem;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.58rem;
}

.memory-card {
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  perspective: 900px;
  transition: transform 0.2s ease;
}

.memory-card:hover {
  transform: translateY(-2px);
}

.memory-card-inner {
  min-height: 88px;
  display: grid;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.44s ease;
}

.memory-card.flipped .memory-card-inner {
  transform: rotateY(180deg);
}

.memory-face {
  position: absolute;
  inset: 0;
  border-radius: 0.72rem;
  border: 1px solid rgba(91, 124, 190, 0.34);
  display: grid;
  place-items: center;
  font-family: "Chakra Petch", sans-serif;
  backface-visibility: hidden;
}

.memory-back {
  background: linear-gradient(140deg, rgba(26, 70, 162, 0.72), rgba(34, 163, 193, 0.45));
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.memory-front {
  transform: rotateY(180deg);
  background: linear-gradient(140deg, rgba(14, 25, 46, 0.98), rgba(10, 18, 35, 0.98));
  letter-spacing: 0.03em;
  color: #eef5ff;
  font-size: 0.9rem;
  padding: 0.25rem;
}

.memory-card.matched .memory-front {
  border-color: rgba(73, 226, 177, 0.68);
  box-shadow: 0 0 0 1px rgba(70, 219, 172, 0.36) inset;
  animation: matchedPulse 0.6s ease;
}

@keyframes matchedPulse {
  0% {
    box-shadow: 0 0 0 1px rgba(70, 219, 172, 0.36) inset;
  }
  50% {
    box-shadow: 0 0 0 1px rgba(70, 219, 172, 0.7) inset, 0 0 22px rgba(69, 232, 177, 0.45);
  }
  100% {
    box-shadow: 0 0 0 1px rgba(70, 219, 172, 0.36) inset;
  }
}

.duel-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.arena-card,
.duel-side {
  padding: 1.34rem;
}

.health-grid {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.health-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.health-track {
  height: 0.72rem;
  border-radius: 999px;
  background: rgba(79, 107, 171, 0.28);
  overflow: hidden;
}

.health-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2ed8a1, #22a4df);
  transition: width 0.28s ease;
}

.health-fill.enemy {
  background: linear-gradient(90deg, #ff6e82, #ff9466);
}

.duel-status {
  min-height: 1.3rem;
  margin-bottom: 0.8rem;
}

.hand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.56rem;
  margin-bottom: 0.8rem;
}

.duel-card {
  border: 1px solid rgba(88, 124, 193, 0.36);
  border-radius: 0.76rem;
  padding: 0.75rem 0.55rem;
  background: rgba(10, 17, 33, 0.82);
  text-align: left;
  color: #f0f6ff;
  cursor: pointer;
  min-height: 130px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.duel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(66, 200, 243, 0.7);
  box-shadow: 0 16px 24px rgba(5, 14, 32, 0.5);
}

.duel-card h4 {
  margin-bottom: 0.36rem;
  font-size: 1rem;
}

.duel-card p {
  color: var(--text-soft);
  font-size: 0.83rem;
}

.duel-card .type {
  margin-top: 0.4rem;
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(86, 122, 193, 0.42);
  font-size: 0.72rem;
  color: #b6c8ed;
}

.duel-card:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.duel-burst {
  height: 56px;
  margin-bottom: 0.6rem;
  border-radius: 0.76rem;
  border: 1px dashed rgba(91, 125, 193, 0.35);
  display: grid;
  place-items: center;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.duel-burst.active {
  animation: flashBurst 0.45s ease;
}

@keyframes flashBurst {
  0% {
    background: rgba(36, 206, 202, 0.18);
  }
  50% {
    background: rgba(46, 117, 236, 0.45);
  }
  100% {
    background: rgba(36, 206, 202, 0.18);
  }
}

.site-footer {
  border-top: 1px solid rgba(87, 120, 184, 0.25);
  padding: 2.2rem 0 2.4rem;
  background: linear-gradient(180deg, rgba(5, 10, 20, 0.95), rgba(3, 7, 14, 0.98));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.footer-brand p {
  color: var(--text-soft);
}

.footer-brand .footer-title {
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.footer-brand .footer-title::before {
  content: "";
  width: 2.15rem;
  height: 2.15rem;
  background: rgba(8, 14, 28, 0.85) url("../img/logo.png") center / 78% no-repeat;
  flex: none;
}

.footer-title {
  margin-bottom: 0.45rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.footer-badges .pill {
  background: rgba(9, 15, 30, 0.9);
}

.footer-disclaimer {
  border: 1px solid rgba(86, 123, 192, 0.28);
  border-radius: 0.9rem;
  background: rgba(8, 14, 28, 0.7);
  padding: 0.9rem 1rem;
  margin-bottom: 0.9rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-links li {
  list-style: none;
}

.footer-links a {
  color: var(--text-soft);
}

.footer-links a:hover {
  color: #f0f6ff;
}

.footer-note {
  color: var(--text-soft);
  font-size: 0.86rem;
  margin-bottom: 0.45rem;
}

.copyright {
  margin-top: 0.6rem;
  color: #7f93bf;
  font-size: 0.8rem;
}

.floating-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: 360px;
  border: 1px solid rgba(87, 120, 189, 0.38);
  border-radius: 0.92rem;
  background: rgba(8, 15, 29, 0.96);
  box-shadow: var(--shadow);
  padding: 0.92rem;
  z-index: 130;
}

.floating-banner p {
  margin-bottom: 0.62rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.floating-actions {
  display: flex;
  gap: 0.45rem;
}

.bonus-widget {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  max-width: 320px;
  border: 1px solid rgba(84, 126, 194, 0.48);
  border-radius: 0.92rem;
  background: linear-gradient(145deg, rgba(10, 20, 39, 0.96), rgba(8, 14, 27, 0.98));
  box-shadow: var(--shadow);
  padding: 0.9rem;
  z-index: 129;
}

.bonus-widget h3 {
  margin-bottom: 0.34rem;
  font-size: 1.03rem;
}

.bonus-widget p {
  margin-bottom: 0.6rem;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.bonus-widget .bonus-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 13, 0.96);
  display: grid;
  place-items: center;
  z-index: 170;
  padding: 1rem;
}

.age-gate-box {
  width: min(560px, 100%);
  border: 1px solid rgba(89, 123, 194, 0.46);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(12, 20, 38, 0.96), rgba(8, 15, 30, 0.98));
  padding: 1.2rem;
}

.age-gate-box h2 {
  font-size: 1.55rem;
  margin-bottom: 0.62rem;
}

.age-gate-box p {
  color: var(--text-soft);
  margin-bottom: 0.58rem;
}

.gate-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(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;
  }
}

@media (max-width: 1060px) {
  .game-grid,
  .review-cards,
  .achievement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-grid,
  .split-grid,
  .contact-grid,
  .game-main-grid,
  .game-shell,
  .duel-layout {
    grid-template-columns: 1fr;
  }

  .nav-meta {
    display: none;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.45rem);
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(89, 122, 190, 0.34);
    border-radius: 0.9rem;
    background: rgba(7, 14, 27, 0.98);
    padding: 0.6rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, max-height 0.2s ease;
  }

  .site-nav.open {
    max-height: 430px;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav .button {
    margin-left: 0;
    text-align: center;
  }

  .review-block {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.2rem 1.25rem;
  }

  .review-visual img {
    height: 200px;
  }

  .section {
    padding: 4rem 0;
  }

  .section-tight {
    padding: 2.35rem 0 3.4rem;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 2.4rem;
  }

  .sub-hero {
    padding: 2.2rem 0 1rem;
  }

  .page-games .sub-hero {
    padding-top: 2.4rem;
    margin-bottom: 0.45rem;
  }

  .stats-row,
  .game-grid,
  .info-grid,
  .review-cards,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

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

  .hand-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.2rem 0;
  }

  .section-tight {
    padding: 1.95rem 0 2.7rem;
  }

  .review-visual img {
    height: 170px;
  }

  .floating-banner {
    bottom: 5.7rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  .bonus-widget {
    left: 1rem;
    right: 1rem;
    max-width: none;
    bottom: 1rem;
  }
}
