/* ─── RESET & ROOT ────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:          #080003;
  --red-deep:    #1a0008;
  --accent:      #2e2e2e;
  --accent-dim:  rgba(46,46,46,0.6);
  --gold:        #c8a020;
  --white:       #ffffff;
  --white-70:    rgba(255,255,255,0.70);
  --white-40:    rgba(255,255,255,0.40);
  --font-head:   'Bebas Neue', sans-serif;
  --font-body:   'Rajdhani', sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  background: #000;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}

/* ─── VIDEO BACKGROUND ────────────────────────────────────────── */
.video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

#bgVideo {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
}

/* Dark vignette only — no red tint, just makes edges/text readable */
.video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%,  rgba(0,0,0,0.75) 0%, transparent 60%),
    radial-gradient(ellipse 100% 30% at 50% 100%, rgba(0,0,0,0.7) 0%, transparent 70%),
    radial-gradient(ellipse 100% 20% at 50% 0%,  rgba(0,0,0,0.5) 0%, transparent 70%);
}

/* ─── PARTICLES CANVAS ────────────────────────────────────────── */
#particlesCanvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ─── THREE.JS CANVAS ─────────────────────────────────────────── */
#threeCanvas {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  width: 100% !important;
  height: 100% !important;
}

/* ─── WRAPPER ─────────────────────────────────────────────────── */
.wrapper {
  position: relative;
  z-index: 10;
  width: 100vw;
  height: 100vh;           /* hero fills exactly one screen */
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.wrapper > * { pointer-events: auto; }

/* ─── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  gap: 32px;
  flex-shrink: 0;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}

/* Solid dark background once user scrolls past hero */
.navbar.scrolled {
  background: rgba(6, 0, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--white);
  text-shadow: 0 0 20px rgba(255,255,255,0.3);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.nav-logo span { color: #1a1a1a; }
.navbar.scrolled .nav-logo span { color: rgba(255,255,255,0.5); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--white-70);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.btn-nav-play {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 11px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-nav-play:hover {
  background: #444;
  box-shadow: 0 0 18px rgba(0,0,0,0.6);
}


/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 54px 48px;
}

.model-glow { display: none; }

/* ─── HERO CONTENT ────────────────────────────────────────────── */
.hero-content {
  max-width: 480px;
  z-index: 5;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 32px; height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(62px, 7.5vw, 110px);
  line-height: 0.92;
  letter-spacing: 2px;
  color: var(--white);
  text-shadow: 0 0 60px rgba(0,0,0,0.8), 0 2px 4px rgba(0,0,0,0.6);
  margin-bottom: 20px;
  animation: titleIn 0.8s ease both;
}

@keyframes titleIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--white-70);
  line-height: 1.65;
  max-width: 360px;
  margin-bottom: 36px;
  animation: titleIn 0.8s 0.2s ease both;
}

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: titleIn 0.8s 0.35s ease both;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: #444;
  box-shadow: 0 0 24px rgba(0,0,0,0.5);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-red {
  background: #e8102e;
  text-decoration: none;
  clip-path: none;
  border-radius: 8px;
  box-shadow: 0 0 28px rgba(232,16,46,0.45);
}
.btn-red:hover {
  background: #ff1a3a !important;
  clip-path: none !important;
  box-shadow: 0 0 40px rgba(232,16,46,0.65) !important;
}

.btn-ghost {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  color: var(--white-70);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--white); }

.ghost-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--white-40);
  transition: border-color 0.2s;
}
.btn-ghost:hover .ghost-circle { border-color: var(--white-70); }

/* ─── PLATFORM BAR ────────────────────────────────────────────── */
.platform-bar {
  position: absolute;
  right: 54px;
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  animation: titleIn 0.8s 0.5s ease both;
}

.plat-sep {
  color: var(--white-40);
  font-size: 11px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--white-70);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: color 0.2s, transform 0.2s;
}
.social-link:hover {
  color: var(--white);
  transform: translateY(-2px);
}
.social-link svg {
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.social-link:hover svg { opacity: 1; }

/* ─── SCANLINE TEXTURE ────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.05) 2px,
    rgba(0,0,0,0.05) 4px
  );
}

/* ─── SCROLLBAR (hidden) ──────────────────────────────────────── */
::-webkit-scrollbar { display: none; }

/* ─── MOBILE RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 640px) {
  /* Navbar: tighter padding so cart icon stays visible */
  .navbar {
    padding: 14px 18px;
    gap: 8px;
  }
  .navbar.scrolled {
    padding: 11px 18px;
  }
  .nav-logo {
    font-size: 20px;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  /* Hero: reduce side padding */
  .hero {
    padding: 0 22px 40px;
    gap: 16px;
  }
  .hero-title {
    font-size: clamp(44px, 12vw, 80px);
  }
  .hero-desc {
    font-size: 13px;
    max-width: 100%;
    margin-bottom: 28px;
  }

  /* Social bar: un-fix it so it flows below JAVAR button */
  .platform-bar {
    position: static;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Team section */
  .team-section {
    padding: 60px 22px;
  }
}

/* video always visible — JS removes it only intentionally */

/* ═══════════════════════════════════════════════════════════════
   TEAM SECTION
═══════════════════════════════════════════════════════════════ */
.team-section {
  position: relative;
  z-index: 10;
  background: #080008;
  padding: 100px 54px 100px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.team-header {
  text-align: center;
  margin-bottom: 64px;
}

.team-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.team-title {
  font-family: var(--font-head);
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 12px;
}

.team-subtitle {
  font-size: 15px;
  color: var(--white-40);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}

/* Card */
.team-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: default;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Photo */
.card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  background: #12001a;
  overflow: hidden;
}

.card-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s;
}

.team-card:hover .card-photo img { transform: scale(1.04); }

.card-photo-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a0025 0%, #0a000f 100%);
}

/* Info */
.card-info {
  padding: 18px 20px 20px;
}

.card-name {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 6px;
}

.card-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
}
