/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background-color: #0a0a14;
  color: #e8e8f0;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Container ===== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 20, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s;
}

.navbar.scrolled {
  background: rgba(10, 10, 20, 0.95);
}

.nav-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6c3ce0, #e03c6c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  color: #8888a0;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #e8e8f0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e8e8f0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at 50% 50%, #1a1040 0%, #0a0a14 70%);
  padding: 2rem 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #e8e8f0, #6c3ce0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #8888a0;
  margin-bottom: 2rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #6c3ce0, #e03c6c);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(108, 60, 224, 0.35);
}

.btn-steam {
  background: linear-gradient(135deg, #1b2838, #2a475e);
  color: #c7d5e0;
}

.btn-steam:hover {
  box-shadow: 0 8px 24px rgba(42, 71, 94, 0.4);
}

.steam-icon {
  flex-shrink: 0;
}

/* ===== Sections ===== */
.section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  background: linear-gradient(135deg, #e8e8f0, #6c3ce0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== About ===== */
.about-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: #8888a0;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ===== Games ===== */
.game-card {
  background: #12121f;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(108, 60, 224, 0.15);
}

.game-logo {
  display: block;
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 0 auto 1.25rem;
}

.game-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.game-description {
  color: #8888a0;
  margin-bottom: 2rem;
  padding: 0 50px;
}

/* Trailer */
.trailer-container {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.trailer-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Screenshots */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.screenshot-placeholder {
  aspect-ratio: 16 / 9;
  background: #0a0a14;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #8888a0;
  border: 1px dashed rgba(136, 136, 160, 0.25);
}

.screenshot {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* ===== Footer ===== */
.footer {
  padding: 4rem 0 2rem;
  text-align: center;
  border-top: 1px solid rgba(108, 60, 224, 0.15);
}

.contact-email {
  display: inline-block;
  color: #6c3ce0;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.contact-email:hover {
  color: #e03c6c;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-link {
  color: #8888a0;
  transition: color 0.2s, transform 0.2s;
}

.social-link:hover {
  color: #e8e8f0;
  transform: translateY(-2px);
}

.copyright {
  color: #555568;
  font-size: 0.85rem;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    padding: 1.5rem;
  }
}
