:root {
  --bg: #060918;
  --bg-elev: rgba(15, 21, 48, 0.72);
  --bg-elev-strong: rgba(18, 26, 58, 0.88);
  --border: rgba(148, 173, 255, 0.16);
  --border-strong: rgba(255, 230, 163, 0.34);
  --text: #eef2ff;
  --text-muted: #a2aed4;
  --text-dim: #7380aa;
  --gold: #ffe6a3;
  --gold-deep: #f4bd64;
  --indigo: #7c9cff;
  --teal: #64e3d6;
  --radius: 20px;
  --shadow: 0 24px 64px rgba(2, 4, 16, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at 50% -10%, #151e49 0%, #090e26 42%, #060918 100%);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.ambient-top {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: rgba(108, 134, 255, 0.18);
}

.ambient-bottom {
  width: 460px;
  height: 460px;
  bottom: -160px;
  left: -140px;
  background: rgba(244, 189, 100, 0.11);
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  color: var(--gold);
  background: rgba(255, 230, 163, 0.08);
  border: 1px solid rgba(255, 230, 163, 0.16);
  padding: 2px 7px;
  border-radius: 7px;
}

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

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(6, 9, 24, 0.72);
  border-bottom: 1px solid rgba(148, 173, 255, 0.1);
}

.topbar-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: linear-gradient(145deg, rgba(124, 156, 255, 0.24), rgba(255, 230, 163, 0.14));
  border: 1px solid rgba(255, 230, 163, 0.28);
  box-shadow: 0 0 24px rgba(124, 156, 255, 0.24);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.brand-text small {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}

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

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

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  color: #13121c !important;
  font-weight: 600;
  background: linear-gradient(135deg, #fff0c2, #f1bd68);
  box-shadow: 0 6px 20px rgba(244, 189, 100, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(244, 189, 100, 0.34);
}

/* Hero */
.hero {
  padding: 88px 0 56px;
}

.hero-inner {
  max-width: 760px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: #ced8ff;
  background: rgba(124, 156, 255, 0.12);
  border: 1px solid rgba(124, 156, 255, 0.28);
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(100, 227, 214, 0.7);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(100, 227, 214, 0.65); }
  70% { box-shadow: 0 0 0 9px rgba(100, 227, 214, 0); }
  100% { box-shadow: 0 0 0 0 rgba(100, 227, 214, 0); }
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.grad-text {
  background: linear-gradient(120deg, #ffe9ad 0%, #9cb8ff 55%, #7bf0e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 auto 32px;
  max-width: 580px;
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  color: #13111c;
  background: linear-gradient(135deg, #fff1c7 0%, #f3be67 100%);
  box-shadow: 0 10px 30px rgba(243, 190, 103, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(243, 190, 103, 0.36);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 173, 255, 0.35);
}

.btn-secondary {
  color: #dbe4ff;
  background: rgba(124, 156, 255, 0.11);
  border-color: rgba(124, 156, 255, 0.28);
}

.btn-secondary:hover {
  background: rgba(124, 156, 255, 0.2);
  border-color: rgba(124, 156, 255, 0.45);
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: 40px 0 56px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--indigo);
  font-weight: 700;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.01em;
}

.section-note {
  font-size: 13px;
  color: var(--text-dim);
}

/* Cards */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.card-featured {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.25fr);
  overflow: hidden;
  border-color: var(--border-strong);
  margin-bottom: 22px;
}

.card-featured:hover {
  border-color: rgba(255, 230, 163, 0.52);
}

.featured-media {
  position: relative;
  min-height: 360px;
  background: #0a102b;
  overflow: hidden;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 0.5s ease;
}

.card-featured:hover .featured-media img {
  transform: scale(1.03);
}

.media-overlay {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(6, 9, 24, 0.35) 0%, rgba(6, 9, 24, 0.08) 45%, rgba(6, 9, 24, 0.84) 100%);
}

.live-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #e7fffb;
  background: rgba(8, 14, 34, 0.72);
  border: 1px solid rgba(100, 227, 214, 0.36);
  backdrop-filter: blur(8px);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.media-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.media-sub {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 230, 163, 0.8);
}

.media-caption strong {
  font-size: 24px;
  letter-spacing: 0.06em;
  color: #fff8e4;
}

.featured-body {
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tag-gold {
  color: var(--gold);
  background: rgba(255, 230, 163, 0.12);
  border-color: rgba(255, 230, 163, 0.28);
}

.tag-teal {
  color: var(--teal);
  background: rgba(100, 227, 214, 0.1);
  border-color: rgba(100, 227, 214, 0.25);
}

.featured-body h3 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: 0.02em;
}

.card-desc {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 15px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.stat-item {
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(148, 173, 255, 0.12);
}

.stat-item strong {
  display: block;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 2px;
}

.stat-item span {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.35;
}

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

.hint-line {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--text-dim);
}

/* Secondary Grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card-work,
.card-upcoming {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.card-work:hover {
  transform: translateY(-2px);
  border-color: rgba(100, 227, 214, 0.34);
}

.card-upcoming {
  background: rgba(12, 17, 40, 0.48);
  border-style: dashed;
  border-color: rgba(148, 173, 255, 0.24);
}

.work-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.work-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
}

.icon-teal {
  color: var(--teal);
  background: rgba(100, 227, 214, 0.12);
  border: 1px solid rgba(100, 227, 214, 0.26);
}

.icon-indigo {
  color: var(--indigo);
  background: rgba(124, 156, 255, 0.12);
  border: 1px solid rgba(124, 156, 255, 0.26);
}

.card-work h3,
.card-upcoming h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.card-work .card-actions,
.upcoming-slot {
  margin-top: auto;
}

.upcoming-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 173, 255, 0.14);
  font-size: 13px;
  color: var(--text-dim);
}

/* About / Pillars */
.section-about {
  padding-top: 24px;
  padding-bottom: 84px;
}

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

.pillar {
  padding: 24px;
  border-radius: 18px;
  background: rgba(12, 18, 42, 0.56);
  border: 1px solid rgba(148, 173, 255, 0.12);
}

.pillar-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 10px;
}

.pillar h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.pillar p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(148, 173, 255, 0.1);
  background: rgba(5, 8, 21, 0.65);
}

.footer-inner {
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  color: var(--text);
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

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

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text);
  background: rgba(16, 24, 54, 0.94);
  border: 1px solid rgba(255, 230, 163, 0.34);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 40;
  max-width: calc(100vw - 32px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Responsive */
@media (max-width: 860px) {
  .card-featured {
    grid-template-columns: 1fr;
  }

  .featured-media {
    min-height: 240px;
  }

  .featured-body {
    padding: 24px 22px;
  }

  .works-grid,
  .pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 28px);
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 58px 0 36px;
  }

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

  .btn {
    width: 100%;
  }

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