/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

:root {
  --bg: #071a3d;
  --bg-deep: #03112a;
  --surface: rgba(10, 31, 73, 0.72);
  --surface-light: #f4f8ff;
  --card: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f6f9ff;
  --text-dark: #0b1c3d;
  --muted: #b7c9ee;
  --primary: #2992ff;
  --primary-strong: #0d5bd7;
  --primary-soft: #84c8ff;
  --shadow: 0 30px 60px rgba(0, 8, 28, 0.35);
}

html {
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  width: 0;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(74, 144, 255, 0.35), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(21, 93, 215, 0.35), transparent 25%),
    linear-gradient(180deg, #0a2558 0%, var(--bg) 48%, var(--bg-deep) 100%);
}

.scroll-rocket {
  position: fixed;
  top: 1.5rem;
  right: 0.9rem;
  bottom: 1.5rem;
  width: 4rem;
  z-index: 4;
  pointer-events: none;
}

.scroll-rocket__track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0.32rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(116, 219, 255, 0.12), rgba(116, 219, 255, 0.38), rgba(255, 122, 205, 0.22));
  transform: translateX(-50%);
}

.scroll-rocket__ship {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2rem;
  height: 4.2rem;
  border-radius: 1rem 1rem 0.7rem 0.7rem;
  background: linear-gradient(180deg, #f7fbff, #8fc2ff 55%, #2f67df);
  box-shadow:
    0 0 20px rgba(78, 198, 255, 0.28),
    0 0 40px rgba(255, 99, 191, 0.18);
  transform: translate(-50%, 0);
}

.scroll-rocket__ship::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.95rem;
  width: 1.1rem;
  height: 1.3rem;
  border-radius: 50% 50% 0.25rem 0.25rem;
  background: linear-gradient(180deg, #ffffff, #93c8ff);
  transform: translateX(-50%);
}

.scroll-rocket__window {
  position: absolute;
  top: 1rem;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #77f1ff 55%, #1f4fc6);
  transform: translateX(-50%);
}

.scroll-rocket__fin {
  position: absolute;
  bottom: 0.8rem;
  width: 0.8rem;
  height: 1rem;
  background: linear-gradient(180deg, #ff7eb8, #ff3d8d);
}

.scroll-rocket__fin--left {
  left: -0.45rem;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.scroll-rocket__fin--right {
  right: -0.45rem;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.scroll-rocket__flame {
  position: absolute;
  left: 50%;
  bottom: -1rem;
  width: 1rem;
  height: 1.3rem;
  border-radius: 0 0 1rem 1rem;
  background: linear-gradient(180deg, rgba(255, 244, 163, 0.98), rgba(255, 147, 46, 0.92), rgba(255, 82, 82, 0));
  filter: blur(0.04rem);
  transform: translateX(-50%);
  animation: rocket-flame 0.45s ease-in-out infinite alternate;
}

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

.rainbow {
  position: absolute;
  left: -8rem;
  bottom: -10rem;
  width: 34rem;
  height: 20rem;
  border-radius: 50%;
  border: 1.1rem solid rgba(255, 92, 92, 0.68);
  box-shadow:
    0 0 0 1.1rem rgba(255, 173, 66, 0.64),
    0 0 0 2.2rem rgba(255, 230, 79, 0.58),
    0 0 0 3.3rem rgba(89, 222, 128, 0.54),
    0 0 0 4.4rem rgba(76, 181, 255, 0.48),
    0 0 0 5.5rem rgba(161, 118, 255, 0.42);
  opacity: 0.34;
  filter: blur(0.3rem);
  transform: rotate(-10deg);
}

.black-hole {
  position: absolute;
  top: 9rem;
  left: 7%;
  width: 14rem;
  height: 14rem;
  animation: black-hole-spin 18s linear infinite;
}

.black-hole__ring,
.black-hole__core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.black-hole__ring {
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0) 34%, rgba(99, 176, 255, 0.16) 46%, rgba(255, 188, 96, 0.48) 56%, rgba(125, 206, 255, 0.2) 68%, rgba(0, 0, 0, 0) 76%);
  filter: blur(0.2rem);
  transform: rotateX(68deg) rotate(18deg);
}

.black-hole__core {
  inset: 2.9rem;
  background:
    radial-gradient(circle at 38% 35%, rgba(77, 101, 155, 0.3), transparent 24%),
    radial-gradient(circle, rgba(3, 8, 20, 1) 0%, rgba(0, 0, 0, 1) 68%, rgba(0, 0, 0, 0) 72%);
  box-shadow:
    0 0 26px rgba(83, 166, 255, 0.25),
    0 0 52px rgba(255, 179, 75, 0.12);
}

.big-bang {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(255, 213, 120, 0.78), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.15);
  z-index: 3;
}

.big-bang.is-active {
  animation: big-bang-burst 2.4s ease-out forwards;
}

.earth {
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: 11rem;
  height: 11rem;
  opacity: 0;
  transform: translateY(2rem) scale(0.7);
  transition: opacity 1.8s ease, transform 1.8s ease;
}

.earth.is-visible {
  opacity: 0.9;
  transform: translateY(0) scale(1);
}

.earth__planet,
.earth__cloud {
  position: absolute;
  border-radius: 50%;
}

.earth__planet {
  inset: 0;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.26), transparent 18%),
    radial-gradient(circle at 62% 62%, rgba(76, 199, 123, 0.95), transparent 16%),
    radial-gradient(circle at 44% 52%, rgba(87, 206, 109, 0.92), transparent 14%),
    radial-gradient(circle at 70% 36%, rgba(98, 194, 102, 0.88), transparent 13%),
    linear-gradient(180deg, rgba(98, 184, 255, 1), rgba(26, 93, 201, 0.98));
  box-shadow:
    0 0 32px rgba(114, 202, 255, 0.34),
    inset -1.2rem -1rem 0 rgba(4, 30, 82, 0.22);
}

.earth__cloud {
  background: rgba(255, 255, 255, 0.8);
  filter: blur(0.1rem);
}

.earth__cloud--one {
  top: 2.2rem;
  left: 2.1rem;
  width: 2.6rem;
  height: 1rem;
}

.earth__cloud--two {
  right: 2rem;
  bottom: 2.7rem;
  width: 2.1rem;
  height: 0.9rem;
}

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

.meteor {
  position: absolute;
  width: 10rem;
  height: 0.18rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 247, 180, 0.95), rgba(255, 255, 255, 1));
  box-shadow:
    0 0 14px rgba(255, 246, 180, 0.7),
    0 0 30px rgba(129, 211, 255, 0.3);
  transform: rotate(-28deg);
  animation: meteor-fly 1.6s ease-out forwards;
}

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

.floating-animal {
  position: absolute;
  top: 0;
  left: 0;
  filter: drop-shadow(0 10px 18px rgba(7, 17, 44, 0.22));
  opacity: 0.82;
  --animal-x: 0px;
  --animal-y: 0px;
  --animal-rotate: 0deg;
  --animal-scale: 1;
  transform: translate(var(--animal-x), var(--animal-y)) rotate(var(--animal-rotate)) scale(var(--animal-scale));
}

.floating-animal__body,
.floating-animal__head,
.floating-animal__tail,
.floating-animal__wing,
.floating-animal__ear,
.floating-animal__shell,
.floating-animal__mustache {
  position: absolute;
}

.floating-animal__mustache {
  width: 1.2rem;
  height: 0.3rem;
  z-index: 2;
}

.floating-animal__mustache::before,
.floating-animal__mustache::after {
  content: "";
  position: absolute;
  top: 0;
  width: 0.85rem;
  height: 0.22rem;
  border-radius: 999px;
  background: rgba(18, 29, 59, 0.95);
}

.floating-animal__mustache::before {
  right: 0.55rem;
  transform: rotate(18deg);
  transform-origin: right center;
}

.floating-animal__mustache::after {
  left: 0.55rem;
  transform: rotate(-18deg);
  transform-origin: left center;
}

.floating-animal--dog {
  width: 5.5rem;
  height: 3.8rem;
}

.floating-animal--dog .floating-animal__body {
  right: 0;
  bottom: 0.2rem;
  width: 3.9rem;
  height: 2.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 221, 169, 0.86), rgba(255, 151, 104, 0.72));
}

.floating-animal--dog .floating-animal__head {
  left: 0;
  top: 0.4rem;
  width: 2.4rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 228, 184, 0.9), rgba(255, 167, 118, 0.75));
}

.floating-animal--dog .floating-animal__mustache {
  left: 1rem;
  top: 1.45rem;
}

.floating-animal--fish {
  width: 5.8rem;
  height: 3rem;
}

.floating-animal--fish .floating-animal__body {
  left: 0;
  top: 0.25rem;
  width: 4rem;
  height: 2.2rem;
  border-radius: 55% 45% 45% 55%;
  background: linear-gradient(180deg, rgba(110, 228, 255, 0.88), rgba(53, 151, 240, 0.72));
}

.floating-animal--fish .floating-animal__tail {
  right: 0.1rem;
  top: 0.6rem;
  width: 1.9rem;
  height: 1.8rem;
  background: linear-gradient(180deg, rgba(146, 235, 255, 0.9), rgba(53, 151, 240, 0.72));
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.floating-animal--fish .floating-animal__mustache {
  left: 1.1rem;
  top: 1.2rem;
}

.floating-animal--bird {
  width: 5rem;
  height: 2.8rem;
}

.floating-animal--bird .floating-animal__wing {
  top: 0.8rem;
  width: 2.4rem;
  height: 1.2rem;
  border-top: 0.35rem solid rgba(228, 244, 255, 0.84);
  border-radius: 100% 100% 0 0;
}

.floating-animal--bird .floating-animal__wing--left {
  left: 0.2rem;
  transform: rotate(-14deg);
}

.floating-animal--bird .floating-animal__wing--right {
  right: 0.2rem;
  transform: rotate(14deg);
}

.floating-animal--bird .floating-animal__mustache {
  left: 1.9rem;
  top: 1.25rem;
}

.floating-animal--bunny {
  width: 4.8rem;
  height: 5.3rem;
}

.floating-animal--bunny .floating-animal__body {
  bottom: 0;
  left: 0.8rem;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(239, 241, 255, 0.9), rgba(179, 198, 255, 0.72));
}

.floating-animal--bunny .floating-animal__ear {
  top: 0;
  width: 0.9rem;
  height: 2.6rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(244, 246, 255, 0.92), rgba(188, 205, 255, 0.7));
}

.floating-animal--bunny .floating-animal__ear--left {
  left: 1.25rem;
}

.floating-animal--bunny .floating-animal__ear--right {
  right: 1.25rem;
}

.floating-animal--bunny .floating-animal__mustache {
  left: 1.8rem;
  top: 2.35rem;
}

.floating-animal--turtle {
  width: 5.5rem;
  height: 3.8rem;
}

.floating-animal--turtle .floating-animal__shell {
  left: 0.5rem;
  top: 0.9rem;
  width: 3.8rem;
  height: 2.4rem;
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(146, 240, 176, 0.88), rgba(56, 170, 118, 0.72));
}

.floating-animal--turtle .floating-animal__head {
  right: 0;
  top: 1.4rem;
  width: 1.5rem;
  height: 1.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(191, 255, 200, 0.86), rgba(91, 194, 139, 0.68));
}

.floating-animal--turtle .floating-animal__mustache {
  left: 3.5rem;
  top: 1.8rem;
}

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

img,
svg,
video {
  vertical-align: middle;
}

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

.hero {
  position: relative;
  overflow: hidden;
  z-index: 2;
  padding: 1.25rem 0 4rem;
}

main {
  position: relative;
  z-index: 2;
}

.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.8;
}

.space-cat {
  position: absolute;
  top: 10rem;
  left: 7%;
  z-index: 0;
  width: 8.5rem;
  height: 7rem;
  pointer-events: none;
  opacity: 0.34;
  transform: rotate(-10deg);
  animation: cat-drift 17s ease-in-out infinite alternate;
}

.space-cat__body,
.space-cat__tail,
.space-cat__ear,
.space-cat__face,
.space-cat__eye,
.space-cat__nose {
  position: absolute;
}

.space-cat__body {
  right: 0;
  bottom: 0.35rem;
  width: 6.2rem;
  height: 4.8rem;
  border-radius: 50% 48% 45% 45%;
  background: linear-gradient(180deg, rgba(225, 243, 255, 0.95), rgba(118, 184, 243, 0.72));
  box-shadow:
    inset 0 0 0 0.24rem rgba(255, 255, 255, 0.3),
    0 0 24px rgba(88, 182, 255, 0.12);
}

.space-cat__ear {
  top: -0.8rem;
  width: 1.3rem;
  height: 1.5rem;
  background: linear-gradient(180deg, rgba(225, 243, 255, 0.95), rgba(118, 184, 243, 0.72));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.space-cat__ear--left {
  left: 0.9rem;
}

.space-cat__ear--right {
  right: 1rem;
}

.space-cat__face {
  inset: 0;
}

.space-cat__eye {
  top: 1.85rem;
  width: 0.5rem;
  height: 0.9rem;
  border-radius: 999px;
  background: rgba(17, 43, 88, 0.88);
}

.space-cat__eye:first-child {
  left: 1.8rem;
}

.space-cat__eye:last-child {
  right: 1.8rem;
}

.space-cat__nose {
  left: 50%;
  bottom: 1.25rem;
  width: 0.7rem;
  height: 0.45rem;
  border-radius: 0.4rem 0.4rem 0.7rem 0.7rem;
  background: rgba(255, 150, 176, 0.9);
  transform: translateX(-50%);
}

.space-cat__nose::before,
.space-cat__nose::after {
  content: "";
  position: absolute;
  top: 0.1rem;
  width: 1.6rem;
  height: 0.1rem;
  background: rgba(209, 232, 255, 0.7);
}

.space-cat__nose::before {
  right: 0.8rem;
  transform: rotate(10deg);
}

.space-cat__nose::after {
  left: 0.8rem;
  transform: rotate(-10deg);
}

.space-cat__tail {
  left: 0.25rem;
  bottom: 1.5rem;
  width: 3.8rem;
  height: 1.15rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 202, 104, 0.9), rgba(255, 140, 104, 0.7));
  box-shadow: 0 0 22px rgba(255, 165, 104, 0.2);
  transform: rotate(32deg);
  transform-origin: right center;
}

.astronaut {
  position: absolute;
  top: 7rem;
  right: 8%;
  z-index: 0;
  width: 18rem;
  height: auto;
  pointer-events: none;
  opacity: 0.26;
  transform: rotate(-7deg);
  filter: drop-shadow(0 22px 36px rgba(6, 16, 42, 0.28));
  animation: astronaut-drift 22s ease-in-out infinite alternate;
}

.hero__glow {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.45;
  pointer-events: none;
}

.hero__glow--one {
  top: 5rem;
  left: -4rem;
  width: 16rem;
  height: 16rem;
  background: rgba(63, 175, 255, 0.55);
}

.hero__glow--two {
  right: -2rem;
  bottom: 3rem;
  width: 22rem;
  height: 22rem;
  background: rgba(9, 77, 196, 0.45);
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav__links {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--text);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 6rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--primary-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.hero__text,
.section-heading p,
.split-section p,
.contact-panel p,
.service-card p,
.benefit-item p,
.status-card__text,
.contact-box p {
  color: var(--muted);
}

.hero__text {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, #4bb2ff, var(--primary-strong));
  box-shadow: 0 16px 40px rgba(32, 123, 255, 0.32);
}

.button--secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.hero__facts li {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.hero__card {
  display: grid;
  gap: 1rem;
}

.status-card,
.diagnostic-card,
.service-card,
.benefit-item,
.contact-box {
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.status-card,
.diagnostic-card {
  background: var(--surface);
  padding: 1.5rem;
}

.status-card__label {
  margin: 0;
  color: var(--primary-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.status-card__value {
  margin: 0.5rem 0;
  font-size: 2.8rem;
  font-weight: 800;
}

.diagnostic-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.badge {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(75, 178, 255, 0.16);
  color: var(--primary-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

.diagnostic-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.diagnostic-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.diagnostic-card li:first-child {
  border-top: 0;
}

.section {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
}

.section--light {
  background: var(--surface-light);
  color: var(--text-dark);
}

.section--dark {
  background:
    radial-gradient(circle at top right, rgba(41, 146, 255, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(6, 22, 53, 0.96), rgba(3, 12, 30, 0.98));
}

.section--accent {
  background: linear-gradient(180deg, #0b214d, #06142f);
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.duck-chant {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 238, 160, 0.56), rgba(255, 189, 85, 0.36));
  box-shadow: 0 12px 30px rgba(255, 196, 86, 0.18);
}

.duck-chant__duck {
  position: relative;
  width: 3.9rem;
  height: 2.7rem;
  animation: duck-waddle 1.1s ease-in-out infinite alternate;
}

.duck-chant__body,
.duck-chant__head,
.duck-chant__beak {
  position: absolute;
}

.duck-chant__body {
  left: 0.35rem;
  bottom: 0.1rem;
  width: 2.7rem;
  height: 1.7rem;
  border-radius: 1.2rem 1.2rem 1rem 1rem;
  background: linear-gradient(180deg, #ffe882, #ffcf42);
}

.duck-chant__head {
  top: 0.15rem;
  right: 0.85rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffeb8f, #ffd44f);
}

.duck-chant__head::after {
  content: "";
  position: absolute;
  top: 0.45rem;
  right: 0.32rem;
  width: 0.16rem;
  height: 0.16rem;
  border-radius: 50%;
  background: #142443;
}

.duck-chant__beak {
  top: 0.62rem;
  right: 0.15rem;
  width: 0.85rem;
  height: 0.48rem;
  border-radius: 0.3rem;
  background: linear-gradient(180deg, #ff9a36, #ff7d16);
}

.duck-chant__text {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b85a00;
  animation: duck-chant-blink 0.9s steps(2, end) infinite;
}

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

.service-card {
  padding: 1.6rem;
  background: #fff;
  border-color: rgba(12, 50, 114, 0.08);
  box-shadow: 0 18px 40px rgba(11, 28, 61, 0.08);
}

.service-card h3,
.benefit-item h3 {
  margin-top: 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 1rem;
}

.benefit-item {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.05);
}

.neon-showcase {
  position: relative;
  margin-top: 3rem;
  min-height: 18rem;
  border: 1px solid rgba(110, 226, 255, 0.16);
  border-radius: 2rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 93, 187, 0.18), transparent 28%),
    radial-gradient(circle at 70% 65%, rgba(57, 214, 255, 0.2), transparent 26%),
    linear-gradient(180deg, rgba(4, 18, 44, 0.75), rgba(2, 10, 26, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 20px 50px rgba(0, 0, 0, 0.28);
}

.neon-showcase__orb,
.neon-showcase__ring,
.neon-showcase__grid,
.neon-showcase__beam {
  position: absolute;
}

.neon-showcase__orb {
  top: 2.6rem;
  right: 16%;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.7), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(73, 241, 255, 0.95), rgba(15, 61, 255, 0.48) 62%, rgba(255, 58, 181, 0.36));
  box-shadow:
    0 0 30px rgba(49, 207, 255, 0.55),
    0 0 80px rgba(255, 70, 190, 0.28);
  animation: neon-float 5s ease-in-out infinite alternate;
}

.neon-showcase__ring {
  top: 1.6rem;
  right: 11%;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  border: 0.25rem solid rgba(126, 243, 255, 0.48);
  box-shadow:
    0 0 22px rgba(54, 214, 255, 0.35),
    inset 0 0 22px rgba(255, 66, 173, 0.18);
  animation: neon-spin 10s linear infinite;
}

.neon-showcase__grid {
  inset: auto 0 0 0;
  height: 9rem;
  background:
    linear-gradient(rgba(91, 227, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 227, 255, 0.18) 1px, transparent 1px);
  background-size: 2.8rem 2.8rem;
  transform: perspective(420px) rotateX(70deg);
  transform-origin: bottom center;
  opacity: 0.8;
}

.neon-showcase__beam {
  height: 0.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 77, 170, 0), rgba(255, 77, 170, 0.9), rgba(78, 239, 255, 0));
  filter: blur(0.02rem);
}

.neon-showcase__beam--one {
  left: 8%;
  top: 4.5rem;
  width: 42%;
  animation: neon-scan 3.4s ease-in-out infinite;
}

.neon-showcase__beam--two {
  left: 20%;
  top: 8.8rem;
  width: 30%;
  animation: neon-scan 4.2s ease-in-out infinite reverse;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.contact-box {
  min-width: min(100%, 26rem);
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.06);
}

.contact-box a {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-box a + a {
  margin-top: 0.75rem;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.games-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(62, 135, 255, 0.25), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(49, 214, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #06183b 0%, #08142f 100%);
}

.games-hero {
  position: relative;
  padding: 1.2rem 0 2rem;
}

.games-hero__content {
  padding: 3rem 0 1rem;
}

.games-hero__text {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.nav__link--active {
  color: var(--text);
}

.games-main {
  position: relative;
}

.games-section {
  padding-top: 2rem;
}

.games-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.55rem;
  border: 1px solid rgba(123, 206, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 21, 49, 0.68);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.games-switcher__button {
  min-height: 2.85rem;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.games-switcher__button:hover,
.games-switcher__button:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.games-switcher__button.is-active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(75, 178, 255, 0.32), rgba(13, 91, 215, 0.72));
  box-shadow: 0 10px 24px rgba(31, 112, 240, 0.24);
}

.game-screen {
  display: none;
}

.game-screen.is-active {
  display: block;
}

.games-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1.5rem;
  align-items: start;
}

.game-panel,
.games-card {
  border: 1px solid rgba(123, 206, 255, 0.16);
  border-radius: 2rem;
  background: rgba(7, 21, 49, 0.82);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.game-panel {
  padding: 1.4rem;
}

.game-panel__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.game-panel__top h2 {
  margin: 0;
}

.game-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.game-shell {
  position: relative;
  border-radius: 1.6rem;
  overflow: hidden;
  background: #0b2f66;
  border: 1px solid rgba(123, 206, 255, 0.18);
}

.game-shell--square {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
}

#flappy-game,
#snake-game {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(4, 17, 41, 0.68);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.game-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.game-overlay__title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
}

.game-overlay__text {
  margin: 0;
  color: var(--muted);
}

.games-sidebar {
  display: grid;
  gap: 1rem;
}

.games-card {
  padding: 1.2rem;
}

.games-card p:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 960px) {
  .hero__content,
  .split-section,
  .contact-panel,
  .service-grid,
  .games-layout {
    grid-template-columns: 1fr;
  }

  .hero__content {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero h1 {
    max-width: none;
  }

  .astronaut {
    top: 6rem;
    right: -0.5rem;
    width: 13rem;
    opacity: 0.22;
  }

  .space-cat {
    top: 6rem;
    left: 2%;
    width: 7rem;
    opacity: 0.24;
  }

  .floating-animal {
    opacity: 0.62;
  }

  .game-panel__top {
    flex-direction: column;
  }

  .games-switcher {
    display: flex;
  }
}

@media only screen and (max-width: 640px) {
  .nav,
  .nav__links,
  .hero__actions,
  .hero__facts {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__links {
    gap: 0.75rem;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 4rem 0;
  }

  .astronaut {
    top: 5rem;
    right: -2.5rem;
    width: 10.5rem;
    opacity: 0.14;
  }

  .space-cat {
    top: 4.5rem;
    left: -0.5rem;
    width: 5.8rem;
    opacity: 0.16;
  }

  .floating-animal {
    opacity: 0.48;
    --animal-scale: 0.82;
  }

  .games-switcher {
    width: 100%;
    border-radius: 1.4rem;
  }

  .games-switcher__button {
    flex: 1 1 100%;
  }
}

@keyframes astronaut-drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(-7deg);
  }

  50% {
    transform: translate3d(-0.45rem, 0.85rem, 0) rotate(-4deg);
  }

  100% {
    transform: translate3d(0.75rem, -1rem, 0) rotate(-9deg);
  }
}

@keyframes cat-drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(-10deg);
  }

  50% {
    transform: translate3d(0.7rem, -0.5rem, 0) rotate(-6deg);
  }

  100% {
    transform: translate3d(-0.5rem, 0.9rem, 0) rotate(-12deg);
  }
}

@keyframes meteor-fly {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-28deg) scaleX(0.7);
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(24rem, 18rem, 0) rotate(-28deg) scaleX(1.15);
  }
}

@keyframes black-hole-spin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.04);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes big-bang-burst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.15);
    box-shadow: 0 0 0 0 rgba(255, 238, 163, 0.8);
  }

  8% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 0 40px 20px rgba(255, 238, 163, 0.85),
      0 0 120px 50px rgba(116, 203, 255, 0.45);
  }

  60% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(24);
    box-shadow:
      0 0 120px 60px rgba(255, 238, 163, 0.55),
      0 0 220px 120px rgba(116, 203, 255, 0.28);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(34);
    box-shadow: 0 0 0 0 rgba(255, 238, 163, 0);
  }
}

@keyframes neon-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-1.1rem, 1rem, 0) scale(1.06);
  }
}

@keyframes neon-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes neon-scan {
  0% {
    opacity: 0.2;
    transform: translateX(-1rem) scaleX(0.9);
  }

  50% {
    opacity: 1;
    transform: translateX(2rem) scaleX(1.08);
  }

  100% {
    opacity: 0.25;
    transform: translateX(-0.5rem) scaleX(0.92);
  }
}

@keyframes duck-waddle {
  0% {
    transform: translateY(0) rotate(-6deg);
  }

  100% {
    transform: translateY(-0.18rem) rotate(6deg);
  }
}

@keyframes duck-chant-blink {
  0%,
  49% {
    opacity: 0.55;
  }

  50%,
  100% {
    opacity: 1;
  }
}

@keyframes rocket-flame {
  0% {
    height: 1rem;
    opacity: 0.7;
  }

  100% {
    height: 1.45rem;
    opacity: 1;
  }
}

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }
}
