:root {
  --gold-light: #f3e3ad;
  --gold-dark: #c5a059;
  --gold-primary: #e2c299;
  --bg-color: #050505;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  background-color: var(--bg-color);
  color: #fff;
  font-family: 'Noto Serif SC', "Source Han Serif SC", "Songti SC", serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.main-wrapper {
  height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #111111 0%, #050505 100%);
  z-index: -1;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  z-index: 10;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.25em;
  line-height: 1.4;
  margin-bottom: 5rem;
  min-height: 2.8em;
  opacity: 0;
  transition: opacity 1.0s ease-in-out;
  width: 100%;
  transform: none;
}

.hero-title.is-ready {
  opacity: 1;
}

.text-white {
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.text-gold {
  background: linear-gradient(to bottom, var(--gold-light) 0%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 0.5rem;
}

@media (min-width: 1024px) {
  .hero-title {
    flex-direction: row;
    white-space: nowrap;
    justify-content: center;
    font-size: 4.8rem;
  }
  .text-gold {
    margin-top: 0;
    margin-left: 0.5em;
  }
}

.cta-button {
  display: inline-block;
  background: transparent;
  color: var(--gold-dark);
  border: 1px solid var(--gold-dark);
  padding: 1.1rem 4rem;
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.6em;
  text-indent: 0.6em;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  font-family: 'Noto Serif SC', serif;
}

.cta-button:hover {
  background: var(--gold-dark);
  color: #000;
  box-shadow: 0 0 30px rgba(197, 160, 89, 0.2);
}

.footer-nav {
  height: 100px;
  display: flex;
  background: #000;
  border-top: 1px solid rgba(197, 160, 89, 0.1);
  z-index: 20;
}

.nav-item {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--gold-primary);
  text-decoration: none;
  font-size: clamp(1.0rem, 1.9vw, 2.0rem);
  font-weight: 400;
  font-family: "Microsoft YaHei", "PingFang SC", "SimHei", system-ui, sans-serif;
  letter-spacing: 0.2rem;
  cursor: pointer;
  transition: 0.4s;
  position: relative;
}

.nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  height: 22px;
  width: 1px;
  background: var(--gold-primary);
  opacity: 0.5;
}

.nav-item:hover {
  background: rgba(197, 160, 89, 0.05);
  color: #fff;
}

#qrModal,
#infoModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.4s;
}

#qrModal.active,
#infoModal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #000;
  border: 1px solid var(--gold-dark);
  padding: 3rem 2rem;
  text-align: center;
  width: 85%;
  max-width: 320px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #444;
  font-size: 2rem;
  cursor: pointer;
}

.info-title {
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
  letter-spacing: 0.35em;
  font-weight: 500;
  font-size: 1.25rem;
}

.info-text {
  color: #999;
  font-size: 0.95rem;
  line-height: 2;
  letter-spacing: 0.08em;
  text-align: left;
}

#infoModal .modal-content {
  max-width: 720px;
  padding: 3rem 3rem;
  border-color: var(--gold-primary);
}

.info-divider {
  height: 1px;
  background: linear-gradient(to right, rgba(226, 194, 153, 0), rgba(226, 194, 153, 0.7), rgba(226, 194, 153, 0));
  margin: 1.5rem 0 2rem;
}

.info-block {
  margin-bottom: 1.6rem;
}

.info-block-title {
  color: #e2c299;
  font-weight: 500;
  margin-bottom: 0.4rem;
  letter-spacing: 0.18em;
}

.info-block-body {
  color: #d0d0d0;
  font-size: 0.9rem;
  line-height: 2;
}
