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

:root {
  --bg-dark: #0a0a0f;
  --bg-purple: #1f0a2e;
  --bg-purple-deep: #2d0d3a;
  --bg-wine: #3a1a1a;
  --accent-red: #ff2a4d;
  --accent-purple: #9b4dff;
  --accent-gold: #ffd700;
  --accent-gold-hover: #ffcc33;
  --text-body: #e0e0e0;
  --text-white: #ffffff;
  --text-dim: rgba(255,255,255,0.52);
  --line-divider: rgba(255,255,255,0.07);
  --line-gold: rgba(255,215,0,0.35);
  --font-display: "DIN Condensed", "Arial Black", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --content-width: 1240px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg-dark);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  color: var(--text-white);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
}

p {
  margin: 0 0 1em;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

#main-content {
  scroll-margin-top: 90px;
  outline: none;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--accent-gold);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-purple), var(--accent-gold));
  z-index: 300;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(10,10,15,0.94), rgba(10,10,15,0.9));
  border-bottom: 1px solid var(--line-divider);
  transition: box-shadow 0.3s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255,42,77,0.22), rgba(155,77,255,0.22), rgba(255,215,0,0.22));
  pointer-events: none;
  z-index: 2;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.site-header__inner {
  position: relative;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 12px 24px 0;
}

.site-header__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.site-header__action {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover .nav-toggle__line {
  background: var(--accent-gold);
}

.nav-toggle[data-open] .nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[data-open] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[data-open] .nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  flex: none;
  transform-origin: center;
  animation: brand-breathe 4s ease-in-out infinite;
}

.brand-mark__petal {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 70% 30% 55% 45%;
  background: radial-gradient(circle at 35% 35%, #ffe680, #d9a500);
  box-shadow: 0 1px 4px rgba(0,0,0,0.45);
  opacity: 0.95;
}

.brand-mark__petal--a {
  top: 1px;
  left: 1px;
}

.brand-mark__petal--b {
  top: 1px;
  right: 1px;
  transform: rotate(90deg);
}

.brand-mark__petal--c {
  bottom: 1px;
  right: 1px;
  transform: rotate(180deg);
}

.brand-mark__petal--d {
  bottom: 1px;
  left: 1px;
  transform: rotate(270deg);
}

.brand-mark__core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-gold), #b8860b);
  box-shadow: 0 0 10px rgba(255,215,0,0.85);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--text-white);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.brand:hover .brand-text {
  color: var(--accent-gold);
  text-shadow: 0 0 16px rgba(255,215,0,0.4);
}

@keyframes brand-breathe {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.08) rotate(-3deg);
  }
}

.site-nav {
  position: relative;
  width: 100%;
  margin-top: 10px;
  border-top: 1px solid var(--line-divider);
  border-bottom: 1px solid var(--line-divider);
  background: rgba(255,255,255,0.018);
}

.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__item + .site-nav__item {
  border-left: 1px solid var(--line-divider);
}

.site-nav__link {
  position: relative;
  display: block;
  padding: 10px 18px;
  overflow: hidden;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-purple));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
}

.site-nav__link:hover {
  color: var(--text-white);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav__link[aria-current="page"] {
  color: var(--accent-gold);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-red) 0%, #c4123a 100%);
  color: var(--text-white);
  box-shadow: 0 4px 18px rgba(255,42,77,0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255,42,77,0.42);
}

.btn--gold {
  background: linear-gradient(135deg, var(--accent-gold), #f0a500);
  color: var(--bg-dark);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,215,0,0.35);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.25);
  color: var(--text-white);
}

.btn--ghost:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn--compact {
  padding: 8px 16px;
  font-size: 13px;
}

.click-flash {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.95) 0%, rgba(255,215,0,0) 70%);
  transform: translate(-50%, -50%) scale(0);
  animation: click-flash 0.55s ease-out forwards;
  pointer-events: none;
}

@keyframes click-flash {
  to {
    transform: translate(-50%, -50%) scale(11);
    opacity: 0;
  }
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: rgba(10,10,15,0.88);
  color: var(--accent-gold);
  font-size: 18px;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}

.back-to-top:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--bg-dark);
}

.back-to-top__icon {
  display: block;
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 88px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-purple) 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold) 50%, transparent);
  z-index: 1;
}

.site-footer::after {
  content: "牡丹直播";
  position: absolute;
  right: -2%;
  bottom: -0.25em;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 300px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.045);
  pointer-events: none;
  user-select: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 64px 24px 28px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 48px;
}

.site-footer__block--brand .brand {
  display: flex;
}

.site-footer__block--brand .brand .brand-text {
  font-size: 42px;
}

.site-footer__slogan {
  max-width: 34em;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
}

.site-footer__title {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.site-footer__title::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-purple));
}

.footer-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.footer-list a {
  position: relative;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s var(--ease-out);
}

.footer-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.25s var(--ease-out);
}

.footer-list a:hover {
  color: var(--accent-gold);
  padding-left: 14px;
}

.footer-list a:hover::before {
  width: 8px;
}

.footer-list__label {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line-divider);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.site-footer__copy,
.site-footer__note {
  margin: 0;
}

.content-width {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 72px 0;
}

.section--tight {
  padding: 40px 0;
}

.section--dark {
  background: var(--bg-purple);
}

.section--wine {
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-wine) 50%, var(--bg-dark));
}

.section--purple {
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-purple) 35%, var(--bg-dark));
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.section-title {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: 0.02em;
  line-height: 1.08;
}

.section-title::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin-top: 16px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-purple));
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.card {
  position: relative;
  background: linear-gradient(160deg, rgba(31,10,46,0.6), rgba(10,10,15,0.85));
  border: 1px solid rgba(255,255,255,0.065);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px) rotate(-1deg);
  border-color: rgba(255,215,0,0.34);
  box-shadow: 0 18px 44px rgba(0,0,0,0.5);
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-purple), var(--bg-purple-deep));
  border: 1px solid rgba(255,255,255,0.05);
}

.image-frame--ratio-16x9 {
  aspect-ratio: 16 / 9;
}

.image-frame--ratio-4x5 {
  aspect-ratio: 4 / 5;
}

.image-frame--ratio-1x1 {
  aspect-ratio: 1 / 1;
}

.image-frame--ratio-9x16 {
  aspect-ratio: 9 / 16;
}

.image-frame__content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame--placeholder {
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(135deg, var(--bg-purple), var(--bg-purple-deep));
  background-size: 24px 24px, 24px 24px, 100% 100%;
}

.image-frame--placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.2);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.breadcrumb__link {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb__link:hover {
  color: var(--accent-gold);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "→";
  margin-right: 6px;
  color: rgba(255,255,255,0.28);
}

.breadcrumb__item[aria-current="page"] {
  color: var(--accent-gold);
}

.directory {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-divider);
}

.directory__item {
  border-bottom: 1px solid var(--line-divider);
}

.directory__link {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 20px 8px;
  color: rgba(255,255,255,0.86);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.3s var(--ease-out);
}

.directory__link:hover {
  color: var(--accent-gold);
  padding-left: 16px;
}

.directory__index {
  flex: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-gold);
}

.timeline {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 36px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-red), var(--accent-purple), transparent);
}

.timeline__item {
  position: relative;
  padding: 0 0 28px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(255,215,0,0.14);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.steps__item {
  position: relative;
  padding: 28px;
  background: linear-gradient(160deg, rgba(31,10,46,0.65), rgba(10,10,15,0.85));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  counter-increment: step;
}

.steps__item::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-gold);
}

.vertical-label {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}

.gradient-line {
  height: 2px;
  margin: 28px 0;
  border: 0;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-purple), transparent);
}

.gold-rule {
  width: 84px;
  height: 3px;
  margin: 20px 0 24px;
  border: 0;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-gold), #b8860b);
  color: var(--bg-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(255,215,0,0.05);
  color: var(--accent-gold);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.glow-orb--purple {
  background: radial-gradient(circle, rgba(155,77,255,0.75), transparent 70%);
}

.glow-orb--red {
  background: radial-gradient(circle, rgba(255,42,77,0.6), transparent 70%);
}

.glow-orb--gold {
  background: radial-gradient(circle, rgba(255,215,0,0.45), transparent 70%);
}

.glow-orb--lg {
  width: 440px;
  height: 440px;
}

.glow-orb--md {
  width: 280px;
  height: 280px;
}

.glow-orb--sm {
  width: 160px;
  height: 160px;
}

html.js [data-reveal] {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }

  html.js [data-reveal][data-revealed] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 992px) {
  .section {
    padding: 56px 0;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .site-footer__block--brand {
    grid-column: 1 / -1;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .site-header__inner {
    padding: 8px 16px 0;
  }

  .site-header__action .btn {
    padding: 7px 12px;
    font-size: 12px;
  }

  .brand-text {
    font-size: 26px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .brand-mark__petal {
    width: 13px;
    height: 13px;
  }

  .brand-mark__core {
    width: 9px;
    height: 9px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    width: auto;
    margin-top: 0;
    padding: 12px 20px 20px;
    background: rgba(10,10,15,0.98);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 24px 40px rgba(0,0,0,0.45);
  }

  .site-nav[data-open] {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 2px;
  }

  .site-nav__item + .site-nav__item {
    border-left: none;
  }

  .site-nav__link {
    padding: 13px 8px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .site-nav__link::after {
    left: 8px;
    right: auto;
    bottom: 4px;
    width: 22px;
  }

  .site-nav__item:last-child .site-nav__link {
    border-bottom: none;
  }

  .site-footer {
    margin-top: 56px;
  }

  .site-footer__inner {
    padding: 48px 20px 24px;
  }

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

  .site-footer__block--brand {
    grid-column: auto;
  }

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

@media (max-width: 520px) {
  .site-header__top {
    min-height: 46px;
  }

  .brand-text {
    font-size: 23px;
    letter-spacing: 0.08em;
  }

  .site-header__action .btn {
    padding: 6px 10px;
    font-size: 11px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 44px 0;
  }

  .card {
    padding: 20px;
  }
}

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

  .brand-mark,
  .glow-orb {
    animation: none !important;
  }

  .card:hover,
  .btn--primary:hover,
  .btn--gold:hover,
  .btn--ghost:hover {
    transform: none;
  }
}
