:root {
  --bg: #0a0a0a;
  --bg-soft: #0f0f0f;
  --panel: #141414;
  --line: #2d2d2d;
  --text: #f7f7f7;
  --muted: #bcbcbc;
  --accent: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.container {
  width: min(1160px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgb(10 10 10 / 90%);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 800;
}

.brand__logo {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  border-radius: 50%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 140ms ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #111;
  text-decoration: none;
  font-weight: 700;
  padding: 0.74rem 1.14rem;
  transition: transform 130ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgb(255 255 255 / 10%);
}

.button--small {
  padding: 0.55rem 0.9rem;
  font-size: 0.93rem;
}

.button--ghost {
  background: transparent;
  border-color: #666;
  color: var(--text);
}

.button--rgb {
  position: relative;
  background: #111;
  color: #fff;
  border: 1px solid transparent;
  background-image: linear-gradient(#111, #111), linear-gradient(90deg, #ff4d4d, #ffcc33, #59ff86, #33d4ff, #b366ff, #ff4d4d);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100% 100%, 300% 100%;
  animation: rainbow-shift 4s linear infinite;
}

.button--rgb.is-copied {
  background-image: linear-gradient(#111, #111), linear-gradient(90deg, #59ff86, #33d4ff, #b366ff, #ff4d4d, #ffcc33, #59ff86);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 25%), 0 0 24px rgb(111 255 175 / 45%);
}

.hero {
  padding: 5.8rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.1rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d6d6d6;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  margin-bottom: 0.9rem;
}

.gold-glow {
  color: #ffd76a;
  text-shadow: 0 0 10px rgb(255 208 92 / 60%), 0 0 24px rgb(255 180 66 / 35%);
}

.rainbow-glow {
  display: inline-block;
  background: linear-gradient(90deg, #ff4b4b, #ff9f43, #ffe66d, #5cf59b, #4db8ff, #9b6bff, #ff4b4b);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbow-shift 5.5s linear infinite;
  filter: drop-shadow(0 0 8px rgb(255 255 255 / 35%));
}

.lead {
  margin-top: 0;
  max-width: 64ch;
  color: var(--muted);
}


.team-purple-glow {
  color: #b56cff;
  font-weight: 900;
  text-shadow: 0 0 10px rgb(181 108 255 / 85%), 0 0 26px rgb(151 72 255 / 70%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.95rem;
}

.team-card {
  text-align: center;
}

.team-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.45rem;
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4a4a4a;
  margin-bottom: 0.7rem;
}

.team-role {
  margin: 0;
  font-weight: 700;
}

.team-role--rgb {
  font-weight: 900;
  font-size: 1.08rem;
}

.team-role--lime {
  color: #8fff5f;
  font-weight: 900;
  text-shadow: 0 0 12px rgb(143 255 95 / 65%);
}

.team-role--red {
  color: #ff6161;
  font-weight: 900;
  text-shadow: 0 0 12px rgb(255 97 97 / 65%);
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-panel,
.card,
.cta,
.slideshow-card,
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 8px 18px rgb(0 0 0 / 25%);
}

.hero-panel {
  padding: 1.2rem;
}

.hero-panel__label {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.hero-panel ul {
  padding-left: 1rem;
  margin-bottom: 0;
}

.float {
  animation: float-card 4.8s ease-in-out infinite;
}

.section {
  padding: 5rem 0;
}

.section--muted {
  background: var(--bg-soft);
  border-top: 1px solid #232323;
  border-bottom: 1px solid #232323;
}

.world-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.slideshow-card {
  padding: 0.75rem;
}

.slideshow-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid #333;
}

.slideshow-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  will-change: transform, opacity;
  transition: opacity 950ms ease, transform 3200ms linear;
}

.slideshow-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.slideshow-progress {
  margin-top: 0.72rem;
  height: 0.4rem;
  background: #252525;
  border-radius: 999px;
  overflow: hidden;
}

.slideshow-progress__bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff4d4d, #ffcc33, #59ff86, #33d4ff, #b366ff, #ff4d4d);
  background-size: 300% 100%;
  animation: rainbow-shift 4s linear infinite;
  transition: width 80ms linear;
}

.feature-grid,
.stats-grid,
.timeline {
  display: grid;
  gap: 0.95rem;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.timeline {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat {
  padding: 1rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.3rem;
}

.stat span {
  color: var(--muted);
}

.card {
  padding: 1.05rem;
}

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

.hover-up {
  transition: transform 220ms ease, border-color 220ms ease;
}

.hover-up:hover {
  transform: translateY(-4px);
  border-color: #585858;
}

.review-marquee {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #101010;
  overflow: hidden;
  padding: 0.95rem 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.review-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  animation: review-scroll 30s linear infinite;
}

.review {
  width: min(420px, 82vw);
  background: #ffffff;
  color: #111111;
  border-radius: 0.85rem;
  padding: 0.95rem;
  border: 1px solid #dddddd;
}

.review__meta {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.review__name {
  font-weight: 800;
}

.review__role {
  margin: 0 0 0.45rem;
  color: #4a4a4a;
  font-size: 0.88rem;
  font-weight: 600;
}

.review__stars {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.review__list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.review--lime {
  background: #111a0f;
  color: #c9ff9f;
  border-color: #83ff3a;
  box-shadow: 0 0 0 1px rgb(131 255 58 / 35%), 0 0 24px rgb(131 255 58 / 25%);
}

.review--lime .review__role {
  color: #aefc74;
}

.review--owner {
  background: #173218;
  border-color: #58ff86;
  box-shadow: 0 0 0 1px rgb(88 255 134 / 32%), 0 0 26px rgb(88 255 134 / 28%);
}

.review--owner,
.review--owner .review__role,
.review--owner .review__list,
.review--owner .review__name,
.review--owner .review__stars,
.team-role--rgb {
  background: linear-gradient(90deg, #ff6b6b, #ffd93d, #6dff8f, #59d6ff, #bb85ff, #ff6b6b);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbow-shift 4.2s linear infinite;
  filter: drop-shadow(0 0 5px rgb(255 255 255 / 28%));
}

.cta {
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.site-footer {
  border-top: 1px solid #232323;
  padding: 1rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
}

.reveal {
  opacity: 0.15;
  transform: translateY(18px) scale(0.99);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.scrolling-down .reveal.is-visible {
  filter: saturate(1.06);
}

body.scrolling-up .reveal.is-visible {
  filter: saturate(0.98);
}

@keyframes review-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.425rem));
  }
}

@keyframes rainbow-shift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 300% 0;
  }
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 900px) {
  .nav-wrap {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  .main-nav {
    width: 100%;
    order: 3;
    overflow-x: auto;
  }

  .hero-grid,
  .world-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .review-track,
  .slideshow-image,
  .reveal,
  .float,
  .rainbow-glow {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Team section v2 */
.team-section {
  border-top: 1px solid #2b2b2b;
  border-bottom: 1px solid #2b2b2b;
}

.team-title {
  margin-bottom: 1rem;
}

.team-grid--v2 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.team-panel {
  background: #121212;
  border: 1px solid #2f2f2f;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 10px 24px rgb(0 0 0 / 30%);
}

.team-name {
  margin-bottom: 0.4rem;
  font-size: 1.25rem;
}

.team-name--rgb {
  background: linear-gradient(90deg, #ff6b6b, #ffd93d, #6dff8f, #59d6ff, #bb85ff, #ff6b6b);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbow-shift 4.2s linear infinite;
  filter: drop-shadow(0 0 5px rgb(255 255 255 / 28%));
}

.team-panel--owner {
  border-color: #58ff86;
  box-shadow: 0 0 0 1px rgb(88 255 134 / 32%), 0 0 26px rgb(88 255 134 / 24%);
}

.team-panel--lime {
  border-color: #83ff3a;
}

.team-panel--red {
  border-color: #ff6161;
}
