:root {
  --bg: #070604;
  --panel: #11100d;
  --panel-2: #17130d;
  --ink: #fff8dd;
  --muted: #cdbf94;
  --gold: #f3bd4b;
  --gold-2: #ffd978;
  --amber: #b7761c;
  --line: rgba(255, 213, 121, 0.25);
  --line-strong: rgba(255, 213, 121, 0.52);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 195, 72, 0.16), transparent 32rem),
    radial-gradient(circle at 78% 0%, rgba(206, 137, 25, 0.18), transparent 30rem),
    linear-gradient(180deg, #070604 0%, #0d0904 46%, #050403 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 82%);
  z-index: -1;
}

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

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

p {
  margin: 0 0 1rem;
  color: rgba(255, 248, 221, 0.78);
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 5.1rem);
  max-width: 900px;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 3.1rem);
}

h3 {
  font-size: 1.1rem;
}

.site-shell {
  overflow: hidden;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.7rem 1rem;
  background: var(--gold);
  color: #171008;
  z-index: 50;
}

.skip-link:focus {
  top: 1rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 6, 4, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line), 0 0 24px rgba(243, 189, 75, 0.28);
}

.brand-text {
  display: grid;
  gap: 0.1rem;
  min-width: 168px;
}

.brand-text strong {
  color: var(--gold-2);
  font-size: 1.04rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.82rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 213, 121, 0.08);
  color: var(--gold-2);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0.85rem;
  border-radius: 8px;
  color: rgba(255, 248, 221, 0.78);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #201405;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 28px rgba(243, 189, 75, 0.22);
}

.hero {
  position: relative;
  padding: 44px 0 70px;
}

.hero-frame {
  position: relative;
  min-height: 640px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: #0c0803;
  box-shadow: var(--shadow);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.5) 43%, rgba(0,0,0,0.18) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.7));
  z-index: 1;
}

.hero-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 640px;
  display: grid;
  align-content: center;
  max-width: 720px;
  padding: clamp(1.5rem, 5vw, 4.5rem);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  color: #fff6cf;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.55);
}

.hero p {
  max-width: 620px;
  margin-top: 1.2rem;
  font-size: 1.07rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.btn.primary {
  color: #170f05;
  background: linear-gradient(135deg, #ffe28e, #efb338 58%, #9d6419);
}

.btn.ghost {
  color: var(--gold-2);
  background: rgba(255, 213, 121, 0.08);
}

.hero-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.44);
}

.hero-strip div {
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.hero-strip div:last-child { border-right: 0; }
.hero-strip b { display: block; color: var(--gold-2); font-size: 1.4rem; line-height: 1; }
.hero-strip span { color: var(--muted); font-size: 0.9rem; }

.section {
  padding: 62px 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 213, 121, 0.04), rgba(0,0,0,0));
  border-block: 1px solid rgba(255, 213, 121, 0.08);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.8rem;
}

.section-head p {
  margin: 0;
}

.image-map {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
}

.image-chip {
  min-height: 112px;
  padding: 0.78rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 213, 121, 0.08), rgba(255,255,255,0.02));
}

.image-chip b {
  display: block;
  color: var(--gold-2);
}

.image-chip span {
  color: var(--muted);
  font-size: 0.86rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
}

.feature-image {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #0a0805;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-image.tall img {
  aspect-ratio: 4 / 5;
}

.feature-copy > .eyebrow {
  margin-bottom: 0.8rem;
}

.feature-copy h2 {
  margin-bottom: 1rem;
}

.rule-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.rule-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 213, 121, 0.055);
}

.rule-item span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #1b1005;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-weight: 900;
}

.rule-item p {
  margin: 0.24rem 0 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  min-height: 220px;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 215, 128, 0.12), transparent 14rem),
    linear-gradient(180deg, rgba(255, 213, 121, 0.07), rgba(255,255,255,0.015));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 215, 128, 0.18), transparent 14rem),
    linear-gradient(180deg, rgba(255, 213, 121, 0.1), rgba(255,255,255,0.02));
}

.card .num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: #1b1005;
  background: var(--gold-2);
  font-weight: 900;
}

.card h3 {
  color: var(--gold-2);
  margin-bottom: 0.55rem;
}

.card p { margin: 0; }

.stat-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.4rem;
}

.stat-panel div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
}

.stat-panel b {
  color: var(--gold-2);
  font-size: 1.45rem;
}

.wide-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  min-height: 420px;
  background: #0b0804;
}

.wide-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.wide-panel .wide-content {
  position: relative;
  max-width: 520px;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 213, 121, 0.045);
  overflow: hidden;
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0 1rem;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-button:hover {
  color: var(--gold-2);
}

.faq-button::after {
  content: "+";
  color: var(--gold-2);
  font-size: 1.6rem;
  line-height: 1;
}

.faq-item.open .faq-button::after {
  content: "-";
}

.faq-panel {
  display: none;
  padding: 0 1rem 1rem;
}

.faq-item.open .faq-panel {
  display: block;
}

.faq-panel p {
  margin: 0;
}

.page-hero {
  padding: 48px 0 34px;
}

.page-hero .panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.4rem, 4vw, 3rem);
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82), rgba(0,0,0,0.48)),
    url("../images/hero-nohu-online.png") center / cover;
  box-shadow: var(--shadow);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a:hover {
  color: var(--gold-2);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 1.4rem;
  align-items: start;
}

.article {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 213, 121, 0.045);
}

.article h2 {
  margin-top: 1.2rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.article h2:first-child { margin-top: 0; }

.article ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: rgba(255, 248, 221, 0.78);
}

.side-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
}

.side-panel .mini {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0,0,0,0.28);
}

.side-panel img {
  border-radius: 8px;
  border: 1px solid var(--line);
}

.contact-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contact-box div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 213, 121, 0.04);
}

.footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.38);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}

.footer-logo {
  max-width: 300px;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.footer h3 {
  color: var(--gold-2);
  margin-bottom: 0.8rem;
}

.footer a {
  display: block;
  width: fit-content;
  color: var(--muted);
  margin: 0.34rem 0;
}

.footer a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 213, 121, 0.12);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .container { width: min(100% - 28px, var(--max)); }

  .menu-toggle { display: block; }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 6, 4, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    width: 100%;
  }

  .hero-frame,
  .hero-content {
    min-height: 560px;
  }

  .hero-strip,
  .section-head,
  .split,
  .split.reverse,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .side-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(1.7rem, 7.8vw, 2.05rem); }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 0.96rem;
  }

  .brand-text span {
    display: none;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-frame,
  .hero-content {
    min-height: 590px;
  }

  .hero-frame::before {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.42) 58%, rgba(0,0,0,0.85) 100%);
  }

  .hero-content {
    align-content: end;
    padding: 1.05rem;
    max-width: 100%;
  }

  .hero p {
    font-size: 0.98rem;
  }

  .hero h1,
  .hero p {
    max-width: 330px;
  }

  .hero-strip,
  .cards,
  .stat-panel,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .image-map {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 42px 0;
  }
}
