:root {
  --ink: #181525;
  --muted: #5f6072;
  --paper: #fffaf2;
  --panel: #ffffff;
  --night: #16112b;
  --night-2: #29204d;
  --gold: #e7bf62;
  --rose: #ef7e9e;
  --mint: #55d6b1;
  --line: rgba(24, 21, 37, 0.12);
  --shadow: 0 18px 50px rgba(25, 17, 45, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--night-2);
}

.hero {
  min-height: 720px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 11, 34, 0.92) 0%, rgba(28, 18, 58, 0.82) 42%, rgba(28, 18, 58, 0.22) 100%),
    url("assets/hero-bg.png") center / cover;
  overflow: hidden;
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 30px;
}

.hero-copy {
  align-self: center;
  padding: 80px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 12vw, 112px);
  line-height: 0.95;
  font-weight: 900;
}

.lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.8;
  font-weight: 700;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  color: var(--night);
  background: var(--gold);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.hero-visual {
  position: relative;
  min-height: 600px;
}

.character {
  position: absolute;
  right: -48px;
  bottom: -12px;
  width: min(520px, 48vw);
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.35));
}

.summary-band {
  background: var(--night);
  color: #fff;
}

.summary {
  width: min(1120px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 10px;
  text-align: center;
  font-weight: 800;
}

.summary span {
  color: rgba(255, 255, 255, 0.92);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.section-heading h2,
.cast-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.18;
}

.section-heading p,
.cast-copy p,
.feature p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(25, 17, 45, 0.07);
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.feature:nth-child(1) {
  border-top: 5px solid var(--gold);
}

.feature:nth-child(2) {
  border-top: 5px solid var(--rose);
}

.feature:nth-child(3) {
  border-top: 5px solid var(--mint);
}

.feature:nth-child(4) {
  border-top: 5px solid #8f88ff;
}

.cast-section {
  padding: 86px max(16px, calc((100% - 1120px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  align-items: center;
  gap: 36px;
  background:
    linear-gradient(120deg, rgba(255, 250, 242, 0.96), rgba(255, 250, 242, 0.76)),
    url("assets/hero-bg.png") center / cover;
}

.cast-copy {
  max-width: 520px;
}

.chibi-row {
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 4vw, 36px);
}

.chibi-row img {
  width: clamp(96px, 16vw, 168px);
  filter: drop-shadow(0 16px 20px rgba(24, 21, 37, 0.18));
}

.chibi-row img:nth-child(2) {
  transform: translateY(-28px);
}

.info-section {
  padding-bottom: 104px;
}

.info-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.info-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  color: var(--muted);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  font-weight: 800;
}

.site-footer {
  padding: 30px max(16px, calc((100% - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  background: var(--night);
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

@media (max-width: 860px) {
  .nav {
    min-height: 62px;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .hero-copy {
    padding: 74px 0 0;
  }

  .hero-visual {
    min-height: 330px;
  }

  .character {
    right: 50%;
    width: min(410px, 86vw);
    transform: translateX(50%);
  }

  .summary {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px 0;
  }

  .feature-grid,
  .cast-section,
  .info-list {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 0;
  }

  .cast-section {
    padding-top: 72px;
    padding-bottom: 70px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-links a {
    max-width: 34%;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
