:root {
  --bg: #05040a;
  --text: #fff7ee;
  --muted: #c9bdd0;
  --gold: #ffc43d;
  --amber: #ff8d16;
  --red: #e43d24;
  --blue: #48a7ff;
  --violet: #8b58ff;
  --border: rgba(255,255,255,.14);
  --panel: rgba(13,12,24,.78);
  --panel-strong: rgba(18,16,31,.94);
  --shadow: 0 22px 80px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 16%, rgba(255,153,24,.28), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(54,109,255,.30), transparent 30rem),
    radial-gradient(circle at 55% 90%, rgba(92,35,140,.38), transparent 28rem),
    linear-gradient(180deg, #05040a, #090714 45%, #05040a);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 80%, transparent);
  opacity: .55;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5,4,11,.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 950;
  letter-spacing: .02em;
}
.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  box-shadow: 0 0 24px rgba(255,185,45,.25), 0 0 24px rgba(69,142,255,.18);
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--amber), var(--blue));
  color: #100805;
  font-weight: 950;
}
.brand-text { font-weight: 950; }

.site-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-weight: 800;
  font-size: .92rem;
}
.site-nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 999px;
}

.section-pad { padding: 86px 6vw; }

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  padding-top: 92px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr);
  gap: 54px;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,4,10,.96), rgba(5,4,10,.72) 44%, rgba(5,4,10,.92)),
    url("./assets/hollow-bridge-splash.png") center / cover no-repeat;
  opacity: .50;
  filter: saturate(1.1) contrast(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  width: 62vw;
  height: 62vw;
  min-width: 680px;
  min-height: 680px;
  right: -22vw;
  top: -22vw;
  z-index: -1;
  background: radial-gradient(circle, rgba(72,167,255,.24), rgba(139,88,255,.12) 38%, transparent 70%);
}
.hero-bg { display: none; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 950;
  text-shadow: 0 0 22px rgba(255,196,61,.34);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 1120px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 6.1vw, 6rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
  overflow: visible;
}
h2 {
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.052em;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 10px;
}
.title-gradient {
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, var(--gold) 0%, #fff0c0 42%, #dfeaff 62%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 22px rgba(255,178,35,.16));
  padding: .05em .22em .08em .02em;
  margin: -.05em -.12em -.08em -.02em;
  line-height: 1.18;
  overflow: visible;
}

.hero-lead, .section-heading p, .split p {
  max-width: 780px;
  color: #e8ddec;
  font-size: 1.1rem;
  line-height: 1.65;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 950;
  border: 1px solid var(--border);
  transition: transform .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn.primary {
  color: #110807;
  border: 0;
  background: linear-gradient(135deg, var(--gold), var(--amber) 48%, var(--red));
  box-shadow: 0 14px 42px rgba(255,136,22,.24);
}
.btn.secondary {
  color: #edf5ff;
  background: rgba(31,43,78,.58);
  box-shadow: inset 0 0 0 1px rgba(72,167,255,.14);
}
.btn.disabled { opacity: .75; cursor: not-allowed; }

.hero-note {
  margin-top: 26px;
  max-width: 720px;
  padding: 15px 18px;
  border: 1px solid rgba(255,196,61,.28);
  border-radius: 18px;
  color: #fff1c9;
  background: linear-gradient(90deg, rgba(255,151,22,.12), rgba(72,167,255,.08));
}

.hero-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(24,22,38,.96), rgba(8,8,16,.92));
  transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
}
.window-bar {
  height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.045);
}
.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(255,196,61,.35);
}
.window-bar span:nth-child(1) { background: #ff5d55; }
.window-bar span:nth-child(3) { background: var(--blue); }
.window-bar strong {
  margin-left: 8px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 850;
}
.dashboard-preview { padding: 22px; }
.status-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(112,255,179,.2);
  border-radius: 18px;
  background: rgba(112,255,179,.06);
  margin-bottom: 14px;
}
.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #70ffb3;
  box-shadow: 0 0 18px #70ffb3;
}
.event-feed { display: grid; gap: 12px; }
.event-feed div {
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}
.event-feed b { display: block; margin-bottom: 4px; }
.event-feed span { color: var(--muted); font-size: .93rem; }
.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.preview-grid span {
  padding: 14px;
  text-align: center;
  font-weight: 950;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.055);
  color: #e7f3ff;
}

.section-heading { max-width: 900px; margin-bottom: 36px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.feature-card {
  min-height: 230px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 54px rgba(0,0,0,.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.032)),
    radial-gradient(circle at 18% 0%, rgba(255,177,33,.12), transparent 16rem);
}
.feature-card:nth-child(even) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.032)),
    radial-gradient(circle at 80% 0%, rgba(72,167,255,.14), transparent 16rem);
}
.feature-card p { color: var(--muted); }
.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  font-size: 1.5rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(300px,.78fr);
  gap: 46px;
  align-items: center;
}
.platform-list, .timeline { display: grid; gap: 14px; }
.platform, .callout-card, .timeline div {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--panel);
}
.platform strong, .platform span { display: block; }
.platform span, .callout-card p, .timeline p { color: var(--muted); }
.platform.active { border-color: rgba(255,196,61,.28); }
.platform.planned { border-color: rgba(72,167,255,.28); }

.dark-panel {
  margin: 0 6vw;
  padding-left: 0;
  padding-right: 0;
}
.dark-panel .section-heading,
.dark-panel .timeline {
  margin-left: auto;
  margin-right: auto;
  width: min(1100px, 100%);
}
.timeline {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.timeline span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.download-panel {
  margin: 0 6vw 72px;
  padding: 56px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: linear-gradient(90deg, rgba(255,139,22,.11), rgba(72,167,255,.12)), rgba(255,255,255,.035);
  box-shadow: var(--shadow);
}
.download-panel .section-heading {
  margin-left: auto;
  margin-right: auto;
}
.download-panel p {
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  max-width: 760px;
}
.download-actions { justify-content: center; }
.small-print {
  margin: 28px auto 0;
  max-width: 760px;
  color: #a99fb2;
  font-size: .9rem;
}

.site-footer {
  min-height: 110px;
  padding: 24px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.site-footer strong { color: var(--text); display: block; }

@media(max-width:1000px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .hero, .split, .feature-grid, .timeline { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-card { transform: none; }
  .section-pad, .hero { padding-top: 72px; padding-bottom: 72px; }
  .dark-panel { margin: 0; padding-left: 6vw; padding-right: 6vw; }
}
@media(max-width:620px) {
  .site-header { padding: 0 20px; }
  .hero, .section-pad { padding-left: 20px; padding-right: 20px; }
  .brand-text { display: none; }
  .hero-actions, .download-actions { flex-direction: column; }
  .btn { width: 100%; }
  .download-panel { margin: 0 20px 56px; padding: 32px 20px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Stage 2 Patreon / Account page additions */
.page-hero {
  position: relative;
  min-height: 560px;
  padding-top: 92px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,4,10,.96), rgba(5,4,10,.72) 44%, rgba(5,4,10,.92)),
    url("./assets/hollow-bridge-splash.png") center / cover no-repeat;
  opacity: .50;
  filter: saturate(1.1) contrast(1.05);
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 62vw;
  height: 62vw;
  min-width: 680px;
  min-height: 680px;
  right: -22vw;
  top: -22vw;
  z-index: -1;
  background: radial-gradient(circle, rgba(72,167,255,.24), rgba(139,88,255,.12) 38%, transparent 70%);
}

.page-hero h1 {
  max-width: 950px;
}

.page-hero p {
  max-width: 780px;
  color: #e8ddec;
  font-size: 1.1rem;
  line-height: 1.65;
}

.about-section,
.account-section {
  padding-top: 24px;
}

.about-grid,
.account-grid {
  display: grid;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
}

.about-card {
  min-height: 230px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 54px rgba(0,0,0,.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.032)),
    radial-gradient(circle at 18% 0%, rgba(255,177,33,.12), transparent 16rem);
}

.about-card:nth-child(even) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.032)),
    radial-gradient(circle at 80% 0%, rgba(72,167,255,.14), transparent 16rem);
}

.about-card h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
}

.about-card p {
  color: var(--muted);
}

.about-card strong {
  color: var(--text);
}

.contact-card {
  min-height: 0;
}

.contact-link {
  display: inline-flex;
  margin-top: 8px;
  min-height: 48px;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #120806;
  font-weight: 950;
  background: linear-gradient(135deg, var(--gold), var(--amber) 48%, var(--red));
  box-shadow: 0 14px 42px rgba(255,136,22,.20);
}

.tier-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.tier-row {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.045);
}

.tier-row strong,
.tier-row span {
  display: block;
}

.tier-row span {
  margin-top: 5px;
  color: var(--muted);
}

.tier-row.support {
  border-color: rgba(255,196,61,.24);
}

.tier-row.access {
  border-color: rgba(112,255,179,.28);
  background: linear-gradient(90deg, rgba(112,255,179,.08), rgba(72,167,255,.08));
}

.status-panel {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.045);
}

.status-panel strong,
.status-panel span {
  display: block;
}

.status-panel span {
  margin-top: 5px;
  color: var(--muted);
}

.status-panel.pending {
  border-color: rgba(255,196,61,.28);
  background: rgba(255,196,61,.07);
}

.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 850;
}

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

.account-actions {
  justify-content: flex-start;
}

@media(max-width:1000px) {
  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 6vw 22px;
    background: rgba(5,4,11,.96);
    border-bottom: 1px solid var(--border);
  }

  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; }
}

@media(max-width:620px) {
  .footer-links {
    flex-wrap: wrap;
  }
}
