:root {
  color-scheme: dark;
  --bg: #07100a;
  --bg-2: #101a11;
  --panel: rgba(6, 10, 6, .58);
  --panel-strong: rgba(5, 8, 5, .78);
  --line: rgba(230, 218, 112, .13);
  --text: #f2edcf;
  --muted: rgba(217, 223, 158, .72);
  --soft: rgba(217, 223, 158, .54);
  --leaf: #9aa75f;
  --gold: #f6d70c;
  --gold-2: #d2a902;
  --shadow: 0 28px 90px rgba(0, 0, 0, .48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 10, .92), rgba(7, 16, 10, .96)),
    url("assets/app-background.jpg") center top / cover fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .72)),
    radial-gradient(circle at 50% 12%, rgba(246, 215, 12, .12), transparent 30%);
  z-index: -1;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 52px);
  background: linear-gradient(180deg, rgba(3, 7, 4, .88), rgba(3, 7, 4, .22));
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 215, 12, .28);
  border-radius: 50%;
  background: rgba(246, 215, 12, .08);
  color: var(--gold);
}

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

.nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1fr);
  gap: clamp(24px, 6vw, 92px);
  align-items: center;
  overflow: hidden;
  padding: 92px clamp(18px, 7vw, 96px) 52px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 3, .42), rgba(2, 6, 3, .88)),
    url("assets/app-background.jpg") center / cover;
  opacity: .95;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg) 0%, transparent 34%, rgba(0, 0, 0, .18) 100%);
}

.hero-content,
.hero-phone {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 760;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 7.4vw, 86px);
  line-height: 1.05;
  font-weight: 760;
  color: #eadf9b;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.13;
  font-weight: 720;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 620px;
  color: rgba(217, 223, 158, .9);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.74;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 720;
}

.button.primary {
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #332c04;
  box-shadow: 0 14px 42px rgba(246, 215, 12, .24);
}

.button.secondary {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  color: var(--text);
}

.hero-note {
  margin-top: 18px;
  color: var(--soft);
  font-size: 14px;
}

.container {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
}

.band {
  border-block: 1px solid var(--line);
  background: rgba(0, 0, 0, .22);
}

.experience,
.roles,
.stories,
.player-preview,
.articles,
.download {
  padding: clamp(62px, 10vw, 112px) 0;
}

.app-phone {
  width: min(360px, 100%);
  aspect-ratio: 390 / 844;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 34px;
  background: #030503;
  box-shadow: 0 32px 110px rgba(0, 0, 0, .58);
}

.hero-phone {
  justify-self: center;
}

.app-screen {
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 25px;
}

.home-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 20px 28px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .66), rgba(0, 0, 0, .3), rgba(0, 0, 0, .82)),
    url("assets/app-background.jpg") center / cover;
}

.app-topline {
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: rgba(190, 204, 115, .78);
  font-size: 12px;
  font-weight: 720;
}

.app-copy {
  margin-top: 36px;
  text-align: center;
}

.app-copy h2 {
  margin-bottom: 12px;
  color: #d9ca69;
  font-family: Georgia, "Songti SC", serif;
  font-size: 28px;
}

.app-copy p {
  margin: 0 auto;
  max-width: 270px;
  color: rgba(207, 221, 134, .88);
  font-size: 13px;
  line-height: 1.65;
}

.app-elephant {
  width: 74%;
  margin: 22px auto 8px;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .45));
}

.tonight-card {
  width: min(248px, 100%);
  padding: 14px 16px;
  border: 1px solid rgba(226, 212, 82, .08);
  border-radius: 8px;
  background: rgba(0, 0, 0, .38);
  text-align: center;
}

.tonight-card span {
  display: block;
  color: rgba(180, 193, 103, .75);
  font-size: 12px;
  font-weight: 720;
}

.tonight-card strong {
  display: block;
  margin: 6px 0;
  color: #ded985;
  font-size: 18px;
}

.tonight-card p {
  margin: 0;
  color: rgba(180, 193, 103, .78);
  font-size: 11px;
}

.app-start {
  width: 136px;
  height: 42px;
  margin-top: 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #332c04;
  font-size: 14px;
  font-weight: 780;
  box-shadow: 0 12px 28px rgba(246, 215, 12, .26);
}

.home-screen small {
  margin-top: 10px;
  color: rgba(180, 193, 103, .8);
  font-size: 11px;
}

.experience-grid,
.stories-grid,
.player-grid,
.download-grid {
  display: grid;
  grid-template-columns: minmax(280px, .86fr) minmax(300px, 1fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.experience-grid > div:first-child p,
.stories-grid > div:first-child p,
.player-grid > div:last-child p,
.download-grid > div:first-child p,
.section-head p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article,
.article,
.download-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 22px;
}

.feature-list span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.feature-list p,
.role-card p,
.article p,
.download-card p,
.check-list,
.story-list span {
  color: var(--muted);
  line-height: 1.72;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.role-card {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.role-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: rgba(0, 0, 0, .24);
}

.role-card.active img {
  object-fit: contain;
  padding: 18px 26px 0;
}

.role-card div {
  padding: 22px;
}

.role-card span,
.article span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 780;
}

.role-card.muted {
  opacity: .72;
}

.story-list {
  display: grid;
  gap: 12px;
}

.story-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.story-list strong {
  color: rgba(242, 237, 207, .94);
}

.player-phone {
  justify-self: center;
}

.player-screen {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 20px 28px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .52), rgba(0, 0, 0, .04), rgba(0, 0, 0, .72)),
    url("assets/cabin-player-background.png") center / cover;
}

.player-top {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 720;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-panel {
  color: white;
}

.player-panel h3 {
  font-size: 21px;
}

.player-panel p {
  color: rgba(255, 255, 255, .76);
  line-height: 1.65;
}

.progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
}

.progress span {
  display: block;
  width: 28%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.time-row {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: rgba(255, 255, 255, .52);
  font-size: 11px;
  font-weight: 720;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .72);
}

.controls strong {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  color: white;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li::before {
  content: "✓";
  color: var(--gold);
  margin-right: 10px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article {
  min-height: 230px;
  padding: 24px;
}

.download-card {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(246, 215, 12, .1), transparent 38%),
    var(--panel);
}

.download-card ul {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.download-card li {
  color: rgba(242, 237, 207, .9);
  line-height: 1.6;
}

.download-card p {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer {
  padding: 30px 0 42px;
  color: var(--soft);
}

.footer-inner,
.footer-inner div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-inner {
  justify-content: space-between;
}

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

@media (max-width: 940px) {
  .hero,
  .experience-grid,
  .stories-grid,
  .player-grid,
  .download-grid,
  .role-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 86px;
  }

  .hero-phone {
    order: 2;
  }

  .hero-content {
    order: 1;
  }

  .app-phone {
    max-width: 330px;
  }

  .role-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav {
    gap: 12px;
    font-size: 12px;
  }

  .hero {
    padding-inline: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .feature-list article {
    grid-template-columns: 1fr;
  }

  .story-list div {
    flex-direction: column;
    gap: 6px;
  }

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

  .footer-inner div {
    flex-wrap: wrap;
  }
}
