:root {
  --ink: #f4ead2;
  --muted: #b7a98b;
  --gold: #b8860b;
  --gold-soft: #d6a441;
  --red: #6f1010;
  --panel: rgba(10, 8, 6, 0.82);
  --line: rgba(184, 134, 11, 0.34);
  --black: #000000;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000;
  color: var(--ink);
  font-family: "Noto Sans SC", serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 24% 18%, rgba(184, 134, 11, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 58%, rgba(111, 16, 16, 0.24), transparent 24rem),
    linear-gradient(180deg, #000 0%, #070403 48%, #000 100%);
}

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

a {
  color: inherit;
}

.serif-title {
  font-family: "Noto Serif SC", "Noto Sans SC", serif;
}

.site-header {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.58));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-link {
  position: relative;
  color: var(--muted);
  transition: color 180ms ease;
}

.nav-link:hover {
  color: var(--gold-soft);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 1px;
  transform: scaleX(0);
  background: var(--gold);
  transition: transform 180ms ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.btn-gold {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(214, 164, 65, 0.72);
  background: linear-gradient(135deg, #4b0606, #b8860b 48%, #2a0705);
  color: #fff8e5;
  box-shadow: 0 0 0 1px rgba(255, 233, 179, 0.08), 0 18px 48px rgba(184, 134, 11, 0.22);
}

.btn-gold::before {
  content: "";
  position: absolute;
  inset: -90% auto -90% -40%;
  width: 28%;
  z-index: -1;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  animation: sheen 3.8s ease-in-out infinite;
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 233, 179, 0.16), 0 24px 70px rgba(184, 134, 11, 0.3);
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--gold-soft);
  background: rgba(0, 0, 0, 0.42);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.btn-outline:hover {
  border-color: var(--gold-soft);
  background: rgba(184, 134, 11, 0.09);
  transform: translateY(-1px);
}

.section-line {
  border-top: 1px solid rgba(184, 134, 11, 0.16);
}

.metal-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 40%),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 238, 190, 0.06), 0 24px 80px rgba(0, 0, 0, 0.36);
}

.feature-card,
.review-card,
.guide-card,
.platform-card,
.gallery-card {
  border: 1px solid var(--line);
  background: rgba(8, 7, 5, 0.76);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.review-card:hover,
.guide-card:hover,
.platform-card:hover,
.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 164, 65, 0.72);
  box-shadow: 0 22px 70px rgba(111, 16, 16, 0.22);
}

.gallery-card img {
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
  filter: brightness(1.12) contrast(1.08);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms ease;
}

.accordion-item.is-open .accordion-body {
  max-height: 18rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lightbox,
.modal {
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open,
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.tab-button[aria-selected="true"] {
  color: #fff8e5;
  border-color: var(--gold-soft);
  background: rgba(184, 134, 11, 0.16);
}

.timeline-dot {
  box-shadow: 0 0 0 6px rgba(184, 134, 11, 0.12);
}

@keyframes sheen {
  0%, 58% {
    left: -42%;
  }
  100% {
    left: 128%;
  }
}

@media (max-width: 767px) {
  .mobile-menu {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.96);
    padding: 1rem;
  }

  .mobile-menu.is-open {
    display: grid;
    gap: 0.9rem;
  }
}
