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

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

html, body {
  background: #080808;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  color: #ff4d8d;
}

/* ── Navbar ─────────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0,0,0,0.85);
}

.navbar-brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.navbar-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── Hero ────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 inverse */
  border: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem;
}

.hero-caption img.logo {
  max-width: 340px;
  width: 50vw;
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
}

.hero-caption .tagline {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  font-family: Montserrat, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  color: #080808;
  background: #ff4d8d;
  border-color: #ff4d8d;
}

.btn-primary {
  background: #ff4d8d;
  border-color: #ff4d8d;
  color: #080808;
}

.btn-primary:hover {
  background: #d93070;
  border-color: #d93070;
  color: #fff;
}

/* ── Screenshots ─────────────────────────────────────── */

.screenshots-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}

.section-divider {
  width: 40px;
  height: 2px;
  background: #ff4d8d;
  margin-bottom: 2.5rem;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.screenshot-item {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 9;
  background: #111;
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.screenshot-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.screenshot-item:hover img {
  transform: scale(1.04);
}

.screenshot-item:hover .overlay {
  opacity: 1;
}

/* ── Footer ──────────────────────────────────────────── */

.footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer a {
  color: rgba(255,255,255,0.4);
}

.footer a:hover {
  color: #ff4d8d;
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 900px) {
  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .hero-caption img.logo {
    max-width: 220px;
  }

  .navbar {
    padding: 0.75rem 1rem;
  }

  .navbar-links {
    gap: 1rem;
  }
}
