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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #eef2ff;
  background:
    radial-gradient(circle at top left, rgba(111, 66, 193, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(48, 128, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #090322 0%, #12093a 24%, #1a1150 55%, #24145f 100%);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

input {
  min-width: 0;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── HEADER ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.topbar {
  background: linear-gradient(180deg, rgba(12, 8, 47, 0.96) 0%, rgba(28, 16, 88, 0.92) 100%);
  border-bottom: 1px solid rgba(152, 170, 255, 0.18);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo img {
  max-width: 180px;
  height: auto;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── BUTTONS ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.burger:focus-visible,
.search-form input:focus-visible,
.search-form button:focus-visible,
.main-nav a:focus-visible,
.game-card a:focus-visible,
.section-link:focus-visible,
.footer-links a:focus-visible,
.store-badge:focus-visible,
.social-btn:focus-visible,
.content-article a:focus-visible {
  outline: 2px solid #9ed0ff;
  outline-offset: 2px;
}

.btn--login {
  color: #ffffff;
  background: linear-gradient(180deg, #4da5ff 0%, #2a63d9 100%);
  box-shadow: 0 8px 20px rgba(35, 96, 215, 0.32);
}

.btn--register {
  color: #ffffff;
  background: linear-gradient(180deg, #33dc87 0%, #139e55 100%);
  box-shadow: 0 8px 20px rgba(19, 158, 85, 0.3);
}

.btn--secondary {
  color: #eef2ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(193, 204, 255, 0.22);
}

/* ── BURGER ── */

.burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(193, 204, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.is-active span:nth-child(1) {
  transform: translateY(17px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MAIN NAV ── */

.main-nav {
  background: linear-gradient(180deg, rgba(69, 61, 187, 0.95) 0%, rgba(50, 42, 157, 0.95) 100%);
  border-bottom: 1px solid rgba(183, 190, 255, 0.18);
}

.main-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
}

.main-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
}

.main-nav__list a,
.main-nav__list li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
  font-weight: 700;
  color: #eff3ff;
  transition: opacity 0.2s ease;
}

.main-nav__list a:hover,
.main-nav__list li a:hover {
  opacity: 0.8;
}

/* ── SEARCH ── */

.search-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 320px;
  min-height: 40px;
  padding: 4px;
  border: 1px solid rgba(196, 205, 255, 0.22);
  border-radius: 12px;
  background: rgba(10, 8, 45, 0.22);
}

.search-form input {
  flex: 1;
  height: 32px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #ffffff;
}

.search-form input::placeholder {
  color: rgba(236, 241, 255, 0.72);
}

.search-form button {
  min-width: 78px;
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

/* ── HERO ── */

.hero {
  padding: 28px 0 18px;
}

.hero__banner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(194, 205, 255, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(5, 2, 25, 0.95) 0%, rgba(20, 9, 57, 0.76) 32%, rgba(42, 18, 108, 0.36) 100%);
  box-shadow: 0 16px 50px rgba(4, 1, 17, 0.32);
}

.hero__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 35%, rgba(177, 110, 255, 0.24), transparent 22%),
    radial-gradient(circle at 82% 60%, rgba(73, 180, 255, 0.18), transparent 18%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 58px 42px;
}

.hero__subtitle {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fd4ff;
}

.hero h1 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  color: #ffffff;
}

.hero__text {
  margin-bottom: 24px;
  max-width: 540px;
  font-size: 17px;
  color: rgba(238, 242, 255, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  width: min(56%, 760px);
  height: 100%;
}

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

/* ── GAMES ── */

.games-preview,
.content-section {
  padding: 18px 0;
}

.section-header {
  margin-bottom: 22px;
}

.section-header h2 {
  margin-bottom: 10px;
  font-size: 34px;
  line-height: 1.15;
  color: #ffffff;
}

.section-header p {
  max-width: 780px;
  color: rgba(235, 240, 255, 0.82);
}

.section-header--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-link {
  flex-shrink: 0;
  font-weight: 700;
  color: #9fd7ff;
}

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

.game-card {
  overflow: hidden;
  border: 1px solid rgba(190, 199, 255, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(30, 19, 86, 0.96) 0%, rgba(22, 14, 62, 0.96) 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.game-card:hover {
  transform: translateY(-2px);
  border-color: rgba(148, 190, 255, 0.36);
  box-shadow: 0 14px 30px rgba(7, 3, 27, 0.26);
}

.game-card a {
  display: block;
}

.game-card__image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 220 / 124;
  background: rgba(255, 255, 255, 0.04);
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.game-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 9, 24, 0.34);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.game-card__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  background: linear-gradient(180deg, #33dc87 0%, #139e55 100%);
  box-shadow: 0 10px 20px rgba(19, 158, 85, 0.28);
  transform: translateY(8px);
  transition: transform 0.25s ease;
}

.game-card:hover img,
.game-card:focus-within img {
  transform: scale(1.04);
  filter: blur(2px) brightness(0.52);
}

.game-card:hover .game-card__overlay,
.game-card:focus-within .game-card__overlay {
  opacity: 1;
}

.game-card:hover .game-card__play,
.game-card:focus-within .game-card__play {
  transform: translateY(0);
}

.game-card h3 {
  margin: 0;
  padding: 12px 12px 14px;
  font-size: 16px;
  line-height: 1.3;
  color: #edf2ff;
}

/* ── CONTENT ── */

.content-section {
  padding: 20px 0;
}

.content-box,
.content-box.content-article {
  padding: 28px 24px;
  border: 1px solid rgba(190, 200, 255, 0.15);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(31, 20, 89, 0.9) 0%, rgba(21, 14, 63, 0.92) 100%);
  box-shadow: 0 12px 32px rgba(6, 3, 24, 0.2);
}

.content-article > *:first-child { margin-top: 0; }
.content-article > *:last-child { margin-bottom: 0; }

.content-article h1,
.content-article h2,
.content-article h3,
.content-article h4,
.content-article h5,
.content-article h6 {
  margin-top: 0;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.content-article h1 { margin-bottom: 20px; font-size: clamp(30px, 4vw, 42px); }
.content-article h2 { margin-top: 36px; margin-bottom: 16px; font-size: clamp(26px, 3vw, 32px); }
.content-article h3 { margin-top: 28px; margin-bottom: 14px; font-size: clamp(22px, 2.4vw, 26px); }
.content-article h4 { margin-top: 24px; margin-bottom: 12px; font-size: 22px; }
.content-article h5 { margin-top: 20px; margin-bottom: 10px; font-size: 19px; }
.content-article h6 { margin-top: 18px; margin-bottom: 10px; font-size: 17px; }

.content-article p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(239, 243, 255, 0.88);
}

.content-article a {
  color: #8fd4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.content-article a:hover { color: #b3e5ff; }

.content-article strong,
.content-article b { font-weight: 700; color: #ffffff; }

.content-article em,
.content-article i { font-style: italic; }

.content-article hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid rgba(190, 200, 255, 0.16);
}

.content-article ul,
.content-article ol {
  margin: 0 0 18px;
  padding-left: 24px;
  color: rgba(239, 243, 255, 0.88);
}

.content-article ul { list-style: disc; }
.content-article ol { list-style: decimal; }

.content-article li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.content-article li > ul,
.content-article li > ol {
  margin-top: 10px;
  margin-bottom: 10px;
}

.content-article blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid #7fd2ff;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.content-article blockquote p {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #ffffff;
}

.content-article img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 18px;
  border: 1px solid rgba(190, 200, 255, 0.14);
  box-shadow: 0 10px 28px rgba(5, 2, 22, 0.24);
}

.content-article figure { margin: 24px 0; }
.content-article figure img { margin: 0 auto 12px; }

.content-article figcaption {
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  color: rgba(239, 243, 255, 0.68);
}

.content-article table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}

.content-article table::-webkit-scrollbar { height: 8px; }
.content-article table::-webkit-scrollbar-thumb { background: rgba(143, 212, 255, 0.32); border-radius: 999px; }

.content-article th,
.content-article td {
  min-width: 180px;
  padding: 14px 16px;
  border: 1px solid rgba(190, 200, 255, 0.14);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.6;
}

.content-article th {
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.content-article td {
  color: rgba(239, 243, 255, 0.86);
  background: rgba(255, 255, 255, 0.03);
}

/* ── AUTHOR ── */

.author-box-section {
  padding: 12px 0 30px;
}

.author-box {
  padding: 24px 26px;
  border: 1px solid rgba(190, 200, 255, 0.15);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(31, 20, 89, 0.9) 0%, rgba(21, 14, 63, 0.92) 100%);
  box-shadow: 0 12px 32px rgba(6, 3, 24, 0.2);
}

.author-box__tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.author-box__tab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(193, 204, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(190, 200, 255, 0.12);
}

.author-box__tab--active {
  color: #ffffff;
  background: linear-gradient(180deg, #4da5ff 0%, #2a63d9 100%);
  border-color: transparent;
}

.author-box__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 18px;
  margin-bottom: 12px;
}

.author-box__name {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
}

.author-box__date {
  font-size: 14px;
  font-weight: 700;
  color: rgba(193, 204, 255, 0.6);
}

.author-box__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(239, 243, 255, 0.88);
}

/* ── FOOTER ── */

.site-footer {
  margin-top: 24px;
  background: #07002a;
  border-top: 1px solid rgba(190, 200, 255, 0.1);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(220px, 1fr) minmax(220px, 1fr);
  gap: 36px;
  padding: 42px 0 30px;
}

.footer-col--right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  text-align: right;
}

.footer-title {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  line-height: 1.45;
  color: #4fd6ff;
  transition: opacity 0.2s ease;
}

.footer-links a:hover { opacity: 0.8; }

.footer-links--support a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links--support a::before {
  content: "✉";
  font-size: 15px;
  color: #dce8ff;
}

.footer-meta p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
}

.footer-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}

.site-footer__middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px 0;
  border-top: 1px solid rgba(190, 200, 255, 0.1);
  border-bottom: 1px solid rgba(190, 200, 255, 0.1);
}

.footer-apps,
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-apps__label,
.footer-social__label {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}

.footer-apps__badges,
.footer-social__list {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 122px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #050505;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.store-badge:hover { transform: translateY(-1px); }

.store-badge__small {
  font-size: 10px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.82);
}

.store-badge__big {
  font-size: 21px;
  line-height: 1.1;
  font-weight: 700;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.social-btn:hover { transform: translateY(-1px); }
.social-btn--facebook { background: #1877f2; }
.social-btn--instagram { background: #ff0a6c; }

.social-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.site-footer__bottom {
  padding: 16px 0 10px;
  text-align: center;
}

.site-footer__bottom p {
  max-width: 920px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.55;
  color: #ffffff;
}

/* ── RESPONSIVE ── */

@media (max-width: 1100px) {
  .games-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hero__content {
    max-width: 500px;
    padding: 44px 28px;
  }

  .hero__media { width: 50%; }

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

  .footer-col--right {
    align-items: flex-start;
    text-align: left;
  }

  .site-footer__middle {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .topbar__actions .btn {
    display: none;
  }

  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .main-nav__inner {
    align-items: stretch;
    flex-direction: column;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .main-nav__list {
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .main-nav__list a,
  .main-nav__list li a {
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
  }

  .search-form { max-width: 100%; }

  .hero__banner {
    display: flex;
    flex-direction: column;
  }

  .hero__content {
    max-width: none;
    padding: 34px 22px 24px;
  }

  .hero__media {
    position: relative;
    width: 100%;
    height: auto;
  }

  .hero__media img { aspect-ratio: 900 / 420; }

  .section-header--row {
    align-items: flex-start;
    flex-direction: column;
  }

  .games-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 180px;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .games-grid::-webkit-scrollbar { height: 6px; }
  .games-grid::-webkit-scrollbar-thumb { background: rgba(143, 212, 255, 0.32); border-radius: 999px; }

  .game-card { scroll-snap-align: start; }
}

@media (max-width: 860px) {
  body { font-size: 15px; }
  .container { padding: 0 14px; }
  .topbar__inner { min-height: 64px; }
  .site-logo img { max-width: 150px; }

  .main-nav { display: none; }
  .main-nav.is-open { display: block; }

  .hero { padding-top: 16px; }
  .hero__banner { border-radius: 20px; }
  .hero h1 { font-size: 28px; }
  .hero__text { font-size: 16px; }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; }

  .section-header { margin-bottom: 14px; }
  .section-header h2 { font-size: 26px; }
  .section-header p { font-size: 14px; }
  .section-link { font-size: 14px; }

  .games-grid { grid-auto-columns: 168px; }

  .content-box,
  .content-box.content-article {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .content-article h1 { margin-bottom: 18px; font-size: 28px; }
  .content-article h2 { margin-top: 28px; margin-bottom: 14px; font-size: 24px; }
  .content-article h3 { margin-top: 22px; margin-bottom: 12px; font-size: 20px; }
  .content-article p,
  .content-article li { font-size: 16px; line-height: 1.7; }
  .content-article blockquote { padding: 16px; border-radius: 14px; }
  .content-article blockquote p { font-size: 17px; }
  .content-article th,
  .content-article td { min-width: 160px; padding: 12px 14px; font-size: 14px; }

  .author-box { padding: 18px 14px; border-radius: 18px; }
  .author-box__tabs { gap: 6px; margin-bottom: 12px; }
  .author-box__tab { min-height: 30px; padding: 0 10px; font-size: 11px; }
  .author-box__name { font-size: 22px; }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0 22px;
  }

  .site-footer__middle {
    align-items: stretch;
    gap: 20px;
    padding: 14px 0;
  }

  .footer-apps,
  .footer-social {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-apps__badges,
  .footer-social__list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .store-badge,
  .social-btn { width: 100%; min-width: 0; }

  .site-footer__bottom p { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
