@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;500;600;700;800&family=Rajdhani:wght@400;500;600;700&display=swap');

/*
  TipTree Interactive / Capital Engine starter site
  ------------------------------------------------
  Main brand palette lives in :root so you can change the whole site quickly.
*/
:root {
  --color-void: #02070b;
  --color-space: #061018;
  --color-panel: #071722;
  --color-panel-soft: #0b1e2a;
  --color-panel-glass: rgba(5, 17, 26, 0.66);
  --color-cyan: #00e5ff;
  --color-cyan-hot: #23f4ff;
  --color-cyan-soft: #00a9c6;
  --color-teal: #00d7c7;
  --color-gold: #d7972f;
  --color-gold-soft: #ffbf4c;
  --color-bronze-border: rgba(215, 151, 47, 0.48);
  --color-white: #f3fbff;
  --color-muted: #b3c3cc;
  --color-dim: #647986;
  --border-cyan: rgba(0, 229, 255, 0.38);
  --border-white: rgba(255, 255, 255, 0.14);
  --shadow-cyan: 0 0 18px rgba(0, 229, 255, 0.42), 0 0 42px rgba(0, 229, 255, 0.12);
  --shadow-deep: 0 24px 70px rgba(0, 0, 0, 0.58);
  --max-width: 1180px;
  --radius-lg: 10px;
  --radius-md: 8px;
  --radius-sm: 5px;
  --font-heading: "Oxanium", "Rajdhani", "Eurostile", "Bank Gothic", "Arial Narrow", sans-serif;
  --font-body: "Rajdhani", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--color-white);
  background:
    radial-gradient(circle at top left, rgba(0, 229, 255, 0.11), transparent 34rem),
    radial-gradient(circle at top right, rgba(215, 151, 47, 0.08), transparent 30rem),
    linear-gradient(180deg, #02070b 0%, #061018 52%, #02070b 100%);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max-width), calc(100% - 64px)); margin-inline: auto; }
.accent { color: var(--color-cyan); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  padding: 10px 14px;
  background: var(--color-cyan);
  color: #001016;
  border-radius: var(--radius-sm);
  z-index: 999;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(2, 7, 11, 0.62), rgba(2, 7, 11, 0));
  border-bottom: 0;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 26px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand img { width: 222px; height: auto; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .78)); }
.brand-icon-only img { width: 64px; max-height: 72px; object-fit: contain; }
.brand-full img { width: 228px; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a:not(.button) {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: rgba(243, 251, 255, 0.92);
  position: relative;
  padding: 9px 0;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.8);
}
.site-nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--color-cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 0 12px rgba(0, 229, 255, .94), 0 0 28px rgba(0, 229, 255, .4);
}
.site-nav a.active,
.site-nav a:not(.button):hover {
  color: var(--color-cyan-hot);
  text-shadow: 0 0 12px rgba(0, 229, 255, .75), 0 0 28px rgba(0, 229, 255, .28);
}
.site-nav a.active::after,
.site-nav a:not(.button):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-sm);
  background: rgba(0, 229, 255, 0.04);
  color: var(--color-white);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-cyan);
  margin: 5px auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-sm);
  background: rgba(0, 14, 20, 0.42);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  box-shadow: inset 0 0 18px rgba(0, 229, 255, 0.05);
}
.button:hover {
  transform: translateY(-2px);
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(35, 244, 255, .75);
  box-shadow: var(--shadow-cyan);
}
.button.primary {
  background: linear-gradient(135deg, var(--color-cyan), #1aa7ff);
  color: #031017;
  border-color: transparent;
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.34);
}
.button.primary:hover { box-shadow: 0 0 34px rgba(0, 229, 255, 0.58); }
.button.gold { border-color: rgba(215, 151, 47, 0.58); color: var(--color-gold-soft); background: rgba(215, 151, 47, 0.08); }
.button.small { min-height: 42px; padding: 0 18px; font-size: 0.78rem; }
.button.wide { min-width: 246px; }
.wishlist-nav {
  color: var(--color-cyan-hot);
  background: rgba(0, 12, 19, 0.34);
  border-color: rgba(0, 229, 255, 0.62);
  box-shadow: inset 0 0 18px rgba(0, 229, 255, 0.07), 0 0 18px rgba(0, 229, 255, .12);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid rgba(0, 229, 255, 0.13);
}
.hero.compact { min-height: 650px; }
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.84;
  transform: scale(1.02);
}
.home-hero .hero-bg { background-image: url("../assets/background-home-top.png"); opacity: 1; background-position: center top; transform: none; }
.capital-hero .hero-bg { background-image: url("../assets/hero-capital.svg"); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 11, 0.90), rgba(2, 7, 11, 0.36) 55%, rgba(2, 7, 11, 0.62)),
    linear-gradient(180deg, rgba(2, 7, 11, 0.06) 0%, rgba(2, 7, 11, 0.18) 58%, var(--color-void) 100%);
}
.home-hero::after {
  background:
    linear-gradient(90deg, rgba(2, 7, 11, 0.46) 0%, rgba(2, 7, 11, 0.20) 35%, rgba(2, 7, 11, 0.16) 58%, rgba(2, 7, 11, 0.30) 100%),
    linear-gradient(180deg, rgba(2, 7, 11, 0.02) 0%, rgba(2, 7, 11, 0.10) 60%, var(--color-void) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 96px 0;
  max-width: 650px;
}
.hero-content.center { max-width: 910px; text-align: center; margin-inline: auto; padding-top: 132px; }
.home-hero {
  min-height: 940px;
  align-items: start;
}
.home-hero-layout {
  position: relative;
  z-index: 1;
  padding-top: 138px;
  padding-bottom: 66px;
}
.home-copy { padding: 0; max-width: 680px; }
.home-logo { width: min(540px, 92vw); margin-bottom: 12px; filter: drop-shadow(0 14px 32px rgba(0,0,0,.75)); }
.capital-logo { width: min(780px, 96vw); margin-inline: auto; margin-bottom: 24px; filter: drop-shadow(0 18px 36px rgba(0,0,0,.8)); }
.eyebrow {
  margin: 0 0 10px;
  color: var(--color-cyan-hot);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  text-shadow: 0 0 16px rgba(0, 229, 255, .36);
}
h1, h2, h3 { line-height: 1.08; margin: 0; }
h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: 0.005em;
  text-shadow: 0 0 34px rgba(0, 229, 255, 0.12), 0 12px 24px rgba(0,0,0,.72);
}
.home-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5.8vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
  margin-top: 4px;
}
.lead {
  max-width: 660px;
  font-size: clamp(1.08rem, 2.1vw, 1.34rem);
  color: var(--color-muted);
  margin: 18px 0 0;
}
.studio-tagline {
  color: var(--color-cyan-hot);
  font-size: clamp(1.28rem, 2.35vw, 1.78rem);
  line-height: 1.16;
  font-weight: 500;
  text-shadow: 0 0 18px rgba(0, 229, 255, .32);
  max-width: 630px;
}
.home-description { max-width: 570px; color: rgba(243, 251, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 32px; }
.hero-content.center .hero-actions { justify-content: center; }
.capital-hero .hero-actions .button { min-width: 224px; }

.section { padding: 76px 0; }
.section-tight { padding: 48px 0; }
.section-head {
  text-align: center;
  margin-bottom: 34px;
}
.section-head h2,
.panel-title {
  color: var(--color-cyan-hot);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.08rem, 2.3vw, 1.48rem);
  text-shadow: 0 0 18px rgba(0, 229, 255, .35);
}
.section-head p { color: var(--color-muted); margin: 12px auto 0; max-width: 720px; }
.compact-head { margin-bottom: 22px; }
.compact-head h2 { font-size: 1.08rem; }

.glass-panel, .feature-card, .game-card, .contact-card {
  background: linear-gradient(180deg, rgba(10, 28, 40, 0.72), rgba(4, 12, 18, 0.90));
  border: 1px solid var(--border-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
}
.glass-panel.highlight, .game-card:hover, .feature-card:hover {
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-deep), var(--shadow-cyan);
}

.about-strip {
  padding: 30px 48px;
  display: grid;
  grid-template-columns: 1.05fr 1.6fr;
  gap: 34px;
  align-items: center;
}
.hero-about-panel {
  margin-top: 52px;
  background: linear-gradient(180deg, rgba(8, 22, 32, .58), rgba(3, 11, 17, .76));
  backdrop-filter: blur(7px);
  border-color: rgba(255, 255, 255, 0.20);
}
.about-strip h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.42rem;
  margin-bottom: 10px;
}
.about-strip p { color: rgba(243, 251, 255, .86); margin: 0; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 12px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}
.stat-icon {
  color: var(--color-cyan-hot);
  font-size: 2.4rem;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 12px rgba(0,229,255,.42));
}
.stat-item strong { display: block; font-size: 1.04rem; font-weight: 600; }
.stat-item span:not(.stat-icon) { color: var(--color-muted); }

.featured-section { padding-top: 72px; }
.home-featured-card {
  position: relative;
  padding-top: 30px;
  overflow: visible;
  border-color: rgba(255, 255, 255, 0.18);
}
.panel-title {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-void);
  padding: 0 28px;
  white-space: nowrap;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1.24fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.featured-copy { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; }
.featured-copy .capital-mini { width: min(456px, 100%); margin-bottom: 22px; filter: drop-shadow(0 12px 28px rgba(0,0,0,.72)); }
.featured-copy p { color: rgba(243, 251, 255, .86); margin: 0 0 22px; font-size: 1.06rem; }
.featured-art {
  min-height: 410px;
  background: radial-gradient(circle at top, rgba(0,229,255,.15), transparent 40%), var(--color-space);
  display: grid;
  place-items: center;
  padding: 24px;
  border-left: 1px solid rgba(255,255,255,.14);
}
.featured-art img { border-radius: var(--radius-md); border: 1px solid var(--border-cyan); box-shadow: var(--shadow-deep); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pillars-inside {
  margin-top: 0;
  padding: 22px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, 0.14);
}
.pillar-card {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(5, 16, 24, 0.72);
}
.pillar-card span { color: var(--color-cyan-hot); font-size: 2.2rem; filter: drop-shadow(0 0 12px rgba(0,229,255,.28)); }
.pillar-card h3 {
  margin: 12px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-family: var(--font-heading);
  font-size: 1rem;
}
.pillar-card p { color: var(--color-muted); margin: 0; font-size: 0.96rem; }

.about-game-section { padding-bottom: 46px; }
.game-intro {
  display: grid;
  grid-template-columns: 1.05fr 1.55fr;
  gap: 48px;
  align-items: start;
}
.game-intro p { color: rgba(243, 251, 255, .84); margin-top: 0; }
.game-about-copy { max-width: 520px; }
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.icon-box {
  padding: 12px 18px 10px;
  text-align: center;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
}
.icon-box .stat-icon { font-size: 2.25rem; }
.icon-box h3 {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 8px;
}
.icon-box p { font-size: 0.92rem; margin: 0; color: var(--color-muted); }

.feature-panels-section { padding-top: 30px; }
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.gold-panel {
  border-color: var(--color-bronze-border);
  background: linear-gradient(180deg, rgba(10, 28, 40, 0.72), rgba(4, 12, 18, 0.92));
}
.gold-panel:hover {
  border-color: rgba(255, 191, 76, .72);
  box-shadow: var(--shadow-deep), 0 0 26px rgba(215, 151, 47, 0.18);
}
.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid rgba(215, 151, 47, 0.34);
}
.feature-card-body { padding: 22px 22px 24px; }
.feature-card h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.105em;
  font-size: 1.04rem;
  margin-bottom: 10px;
}
.feature-card p { color: var(--color-muted); margin: 0; font-size: 0.97rem; }

.gallery-section { padding-top: 54px; }
.gallery-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.gallery-item {
  cursor: pointer;
  border: 1px solid rgba(215, 151, 47, 0.34);
  background: rgba(0,0,0,.24);
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.gallery-item:hover,
.gallery-item.is-active {
  transform: translateY(-2px);
  border-color: var(--color-cyan-hot);
  box-shadow: var(--shadow-cyan);
}
.gallery-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.contact-card {
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  border-color: var(--border-cyan);
}
.contact-card p { color: var(--color-muted); margin: 10px 0 0; max-width: 660px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

.site-footer {
  border-top: 1px solid rgba(0, 229, 255, 0.13);
  padding: 44px 0 28px;
  background:
    linear-gradient(180deg, rgba(3, 12, 18, .86), rgba(1, 5, 8, .98)),
    radial-gradient(circle at top left, rgba(0,229,255,.08), transparent 40rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr .7fr .8fr;
  gap: 36px;
  align-items: start;
}
.footer-logo { width: 220px; margin-bottom: 14px; }
.footer-grid p, .footer-grid a { color: var(--color-muted); }
.footer-grid h3 {
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: var(--font-heading);
  font-size: .92rem;
  margin-bottom: 12px;
}
.footer-grid a { display: block; margin: 7px 0; }
.footer-grid a:hover { color: var(--color-cyan-hot); }
.socials { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-cyan);
  border-radius: 50%;
  color: var(--color-cyan-hot);
  font-weight: 700;
}
.copyright { text-align: center; color: var(--color-dim); margin: 34px 0 0; font-size: 0.9rem; }

@media (max-width: 1020px) {
  .site-nav { gap: 22px; }
  .brand img { width: 190px; }
  .brand-icon-only img { width: 58px; }
  .brand-full img { width: 198px; }
  .button.small { padding: 0 14px; }
}

@media (max-width: 960px) {
  .container { width: min(var(--max-width), calc(100% - 40px)); }
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 88px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px;
    background: rgba(2, 7, 11, 0.96);
    border: 1px solid var(--border-cyan);
    border-radius: var(--radius-md);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 12px; }
  .brand img { width: 180px; }
  .brand-icon-only img { width: 54px; }
  .brand-full img { width: 188px; }
  .hero { min-height: 650px; }
  .home-hero { min-height: auto; }
  .home-hero-layout { padding-top: 126px; }
  .about-strip,
  .featured-grid,
  .game-intro,
  .contact-card { grid-template-columns: 1fr; }
  .stat-grid,
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item,
  .icon-box { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .featured-art { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .media-grid,
  .pillars { grid-template-columns: 1fr; }
  .gallery-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { width: min(100% - 28px, var(--max-width)); }
  .brand img { width: 154px; }
  .brand-icon-only img { width: 48px; }
  .brand-full img { width: 162px; }
  .hero { min-height: 600px; }
  .hero-content,
  .hero-content.center { padding: 68px 0; }
  .home-hero-layout { padding-top: 118px; }
  .home-title { white-space: normal; font-size: clamp(2.55rem, 12vw, 4.2rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .about-strip,
  .featured-copy,
  .contact-card { padding: 28px; }
  .stat-grid,
  .icon-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-row { grid-template-columns: repeat(2, 1fr); }
  .panel-title { font-size: .98rem; letter-spacing: .18em; padding: 0 14px; }
}

/* v3: supplied transparent TipTree assets and blended homepage hero image wired in. */
