@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=JetBrains+Mono:wght@500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #040404;
  --bg-alt: #080705;
  --card-bg: #0d0a06;
  --card-bg-elevated: #141009;
  --border: rgba(212, 175, 55, 0.24);
  --border-gold: rgba(212, 175, 55, 0.55);
  --border-gold-bright: rgba(245, 215, 127, 0.85);
  --text: #f7f3e8;
  --text-muted: #c4b79b;
  --accent: #d4af37;
  --accent-hover: #f5d77f;
  --accent-deep: #967015;
  --live-gold: #f5d77f;
}

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

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 85% 42% at 50% 0%, rgba(212, 175, 55, 0.13) 0%, transparent 68%),
    radial-gradient(circle at 85% 25%, rgba(170, 128, 32, 0.06) 0%, transparent 45%);
  color: var(--text);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: var(--accent-hover);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #ffffff;
  text-decoration: underline;
}

code {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.24);
  padding: 0.14rem 0.42rem;
  border-radius: 4px;
  color: var(--accent-hover);
}

/* Brand & Protected Un-Squashed Emblem Shielding (True 522x675 Portrait Aspect Ratio) */
.logo-shield-wrap,
.hero-crest-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
}

.brand-logo,
.hero-crest-img,
.footer-logo {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  aspect-ratio: 522 / 675;
  object-fit: contain;
  display: block;
}

.brand-logo {
  width: 34px;
  height: 44px;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.52));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand:hover .brand-logo {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 0 14px rgba(245, 215, 127, 0.78));
}

.brand-text {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.06rem;
  background: linear-gradient(180deg, #fff8e1 0%, #e5c358 65%, #b88b22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tm-mark {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.62em;
  color: var(--accent);
  margin-left: 3px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(5, 4, 3, 0.92);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.85), inset 0 -1px 0 rgba(245, 215, 127, 0.14);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  font-weight: 700;
}

.brand:hover {
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

/* Hero Section */
.hero {
  padding: 4.75rem 0 4rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 18% 34%, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.03) 38%, transparent 65%),
    linear-gradient(180deg, rgba(14, 11, 6, 0.55) 0%, rgba(4, 4, 4, 0.95) 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (max-width: 820px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.85rem;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
}

.hero-crest-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-crest-frame {
  width: 156px;
  height: 202px;
  background: radial-gradient(ellipse at 50% 48%, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.05) 48%, transparent 72%);
  border: none;
  box-shadow: none;
  padding: 0;
}

.hero-crest-img {
  width: 148px;
  height: 191px;
  aspect-ratio: 522 / 675;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(212, 175, 55, 0.52)) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.95));
}

.crest-caption {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--accent-hover);
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
}

.eyebrow {
  font-family: "Cinzel", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-hover);
  margin-bottom: 0.65rem;
}

.hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 850px;
  margin-bottom: 1.15rem;
  color: var(--text);
}

.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 790px;
  margin-bottom: 1.85rem;
}

.lead strong {
  color: var(--accent-hover);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.015em;
  transition: all 0.18s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #f7dc88 0%, #d4af37 52%, #a67c16 100%);
  color: #080602;
  border: 1px solid #fbe6a2;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #ffea9f 0%, #e3be42 52%, #b88b1d 100%);
  color: #050401;
  box-shadow: 0 0 32px rgba(245, 215, 127, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-secondary {
  background: linear-gradient(180deg, rgba(28, 22, 12, 0.9) 0%, rgba(12, 9, 5, 0.95) 100%);
  color: var(--text);
  border: 1px solid var(--border-gold);
  box-shadow: inset 0 1px 0 rgba(245, 215, 127, 0.15);
}

.btn-secondary:hover {
  border-color: var(--border-gold-bright);
  color: var(--accent-hover);
  background: linear-gradient(180deg, rgba(42, 32, 16, 0.95) 0%, rgba(18, 14, 7, 0.98) 100%);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}

/* Telemetry Ribbon */
.telemetry-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 1rem;
  background: linear-gradient(180deg, #141009 0%, #090704 100%);
  border: 1px solid var(--border-gold);
  border-top: 2px solid var(--accent-hover);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 238, 186, 0.2);
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding-left: 0.65rem;
  border-left: 2px solid rgba(212, 175, 55, 0.32);
}

.telemetry-val {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--accent-hover);
  letter-spacing: 0.02em;
}

.telemetry-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.38;
}

/* Sections & Cards */
.section {
  padding: 4.75rem 0;
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background-color: var(--bg-alt);
  background-image: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.section-header {
  max-width: 840px;
  margin-bottom: 2.65rem;
}

.section-header h2,
.section-header h1 {
  font-size: clamp(1.6rem, 2.9vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.04rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.card, .showcase-panel {
  background: linear-gradient(165deg, #130f08 0%, #080604 100%);
  border: 1px solid var(--border);
  border-top: 1.5px solid var(--border-gold);
  border-radius: 10px;
  padding: 1.8rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 238, 186, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.9), 0 0 24px rgba(212, 175, 55, 0.1), inset 0 1px 0 rgba(255, 238, 186, 0.22);
}

.framework-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border-top: 2px solid var(--accent);
}

.card h3, .showcase-panel h3 {
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.sub-tag {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-hover);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.problem-box {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-left: 3px solid var(--accent);
  padding: 0.72rem 0.9rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.91rem !important;
}

.problem-box strong {
  color: var(--accent-hover);
}

.compact-list {
  margin: 0.25rem 0 0.5rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.91rem;
}

.compact-list li {
  margin-bottom: 0.48rem;
}

.compact-list strong {
  color: var(--text);
}

.proof-Callout {
  margin-top: auto;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14) 0%, rgba(150, 112, 21, 0.08) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 0.78rem 0.95rem;
  font-size: 0.89rem;
  color: var(--text);
}

.proof-Callout strong {
  color: var(--accent-hover);
}

.card-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.42);
  padding: 0.22rem 0.68rem;
  border-radius: 4px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.card-header h3 {
  margin-bottom: 0;
}

.status-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.status-live {
  color: #080602;
  background: linear-gradient(180deg, #f7dc88 0%, #d4af37 100%);
  border-color: #fbe6a2;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

/* Showcase Pipeline & Grid */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}

.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.24rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(212, 175, 55, 0.07);
  color: var(--text);
}

.pill-live {
  color: #080602;
  font-weight: 700;
  border-color: #fbe6a2;
  background: linear-gradient(180deg, #f7dc88 0%, #d4af37 100%);
}

.pipeline-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.65rem;
  align-items: stretch;
  margin: 1.15rem 0 1.65rem;
}

@media (max-width: 920px) {
  .pipeline-diagram {
    grid-template-columns: 1fr;
  }
  .pipe-arrow {
    display: none;
  }
}

.pipe-step {
  background: linear-gradient(180deg, #1a140b 0%, #0d0a05 100%);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  box-shadow: inset 0 1px 0 rgba(255, 238, 186, 0.16);
}

.pipe-num {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-hover);
  font-weight: 700;
}

.pipe-step strong {
  font-size: 0.96rem;
  color: var(--text);
}

.pipe-step span:last-child {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.42;
}

.pipe-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-hover);
  font-size: 1.3rem;
  font-weight: 700;
}

.showcase-grid {
  margin-top: 1.15rem;
}

.innovation-item {
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 1.2rem 1.3rem;
}

.innovation-item h4 {
  color: var(--accent-hover);
  font-size: 1.03rem;
  margin-bottom: 0.42rem;
}

.innovation-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.velocity-banner {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.velocity-banner strong {
  color: var(--accent-hover);
}

.feature-list {
  margin: 1rem 0 1.5rem 1.25rem;
  color: var(--text-muted);
}

.feature-list li {
  margin-bottom: 0.55rem;
}

.feature-list strong {
  color: var(--text);
}

/* Footer */
.site-footer {
  padding: 2.75rem 0;
  background: #030201;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand-col {
  max-width: 650px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 28px;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.42));
}

.trademark-note {
  font-size: 0.78rem;
  color: #968970;
  margin-top: 0.3rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Live Gameplay Screenshot Showcase Gallery */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

@media (max-width: 900px) {
  .screenshot-gallery {
    grid-template-columns: 1fr;
  }
}

.screenshot-card {
  background: linear-gradient(180deg, #141008 0%, #070503 100%);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 238, 186, 0.22);
  display: flex;
  flex-direction: column;
  margin: 0;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.screenshot-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-hover);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.95), 0 0 24px rgba(212, 175, 55, 0.24), inset 0 1px 0 rgba(255, 238, 186, 0.35);
}

.screenshot-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #040302;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  overflow: hidden;
}

.screenshot-img-wrap img,
.screenshot-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.screenshot-card:hover .screenshot-img-wrap img,
.screenshot-card:hover .screenshot-img {
  transform: scale(1.015);
}

.screenshot-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(8, 6, 3, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.65);
  border-radius: 5px;
  padding: 0.24rem 0.65rem;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

.screenshot-zoom-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(8, 6, 3, 0.86);
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 5px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.85);
  opacity: 0.88;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
}

.screenshot-card:hover .screenshot-zoom-pill {
  opacity: 1;
  border-color: var(--accent-hover);
  color: var(--accent-hover);
}

.screenshot-caption {
  padding: 1rem 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.screenshot-caption h4,
.screenshot-caption strong {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.02rem;
  color: var(--accent-hover);
}

.screenshot-caption p,
.screenshot-caption span {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Interactive Full-Resolution Showcase Lightbox Modal */
.showcase-lightbox {
  border: 2px solid var(--border-gold);
  border-radius: 12px;
  background: #080603;
  color: var(--text);
  padding: 0;
  max-width: min(96vw, 1680px);
  max-height: 94vh;
  width: 100%;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.96), 0 0 40px rgba(212, 175, 55, 0.28);
  overflow: hidden;
}

.showcase-lightbox::backdrop {
  background: rgba(3, 2, 1, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
  max-height: 94vh;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(180deg, #161109 0%, #0b0804 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

.lightbox-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lightbox-tag {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-hover);
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.lightbox-title {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.05rem;
  color: var(--text);
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lightbox-btn {
  background: rgba(20, 15, 8, 0.9);
  border: 1px solid var(--border-gold);
  color: var(--accent-hover);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.lightbox-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--accent-hover);
}

.lightbox-stage {
  position: relative;
  background: #030201;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-stage img {
  width: 100%;
  max-height: 76vh;
  height: auto;
  object-fit: contain;
  display: block;
}

.lightbox-desc {
  margin: 0;
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  background: #0b0804;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
}
