/* reset and base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --amber: #f5a623;
  --amber-dark: #c47d10;
  --amber-glow: rgba(245, 166, 35, 0.3);
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-section: #0e0e16;
  --text: #e8e6e3;
  --text-muted: #8a8a9a;
  --red: #e74c3c;
  --green: #2ecc71;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--amber-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 166, 35, 0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--amber);
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/banners/background-3840.png") center/cover no-repeat;
  opacity: 0.3;
  z-index: -1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-dark) 100%);
}

.hero-logo {
  width: clamp(280px, 50vw, 520px);
  height: auto;
  margin-bottom: 2rem;
  animation: levitate 3s ease-in-out infinite;
  filter: drop-shadow(0 0 40px var(--amber-glow));
}

@keyframes levitate {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amber);
  color: #000;
  box-shadow: 0 4px 20px var(--amber-glow);
}

.btn-primary:hover {
  color: #000;
  box-shadow: 0 6px 30px var(--amber-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

/* sections */
section {
  padding: 5rem 2rem;
}

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

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* trailer */
.trailer {
  background: var(--bg-section);
}

.trailer-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.trailer-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.trailer-link {
  display: block;
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s;
}

.trailer-link:hover {
  box-shadow: 0 0 50px var(--amber-glow);
}

.trailer-link img {
  display: block;
  width: 100%;
}

.trailer-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.3s;
}

.trailer-link:hover .trailer-play {
  background: rgba(0, 0, 0, 0.15);
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-block h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--amber);
}

.about-block p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* features */
.features {
  background: var(--bg-section);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: var(--amber-glow);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* screenshots */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.screenshots-grid a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s, transform 0.3s;
}

.screenshots-grid a:hover {
  border-color: var(--amber);
  transform: scale(1.02);
}

.screenshots-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* clips */
.clips {
  background: var(--bg-section);
}

.clips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.clips-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #000;
}

/* press kit */
.press {
  background: var(--bg-section);
}

.press-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.press-info h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.press-facts {
  list-style: none;
}

.press-facts li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 1rem;
}

.press-facts .label {
  color: var(--text-muted);
  min-width: 120px;
  font-size: 0.9rem;
}

.press-facts .value {
  font-size: 0.9rem;
}

/* footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* press kit page */
.presskit-hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
  background: var(--bg-section);
}

.presskit-section {
  padding: 3rem 2rem;
}

.presskit-section:nth-child(even) {
  background: var(--bg-section);
}

.presskit-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--amber);
}

.description-block {
  max-width: 700px;
}

.description-block h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.description-block p {
  color: var(--text-muted);
  line-height: 1.7;
}

.description-block ul {
  list-style: none;
  margin-top: 1rem;
}

.description-block li {
  padding: 0.35rem 0;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
}

.description-block li::before {
  content: "\2022";
  color: var(--amber);
  position: absolute;
  left: 0;
}

.assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.asset-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.asset-card img {
  display: block;
  width: 100%;
}

.asset-card .asset-label {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.asset-card .asset-label a {
  font-size: 0.8rem;
}

/* responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }

  .about-grid,
  .press-content {
    grid-template-columns: 1fr;
  }

  .screenshots-grid {
    grid-template-columns: 1fr 1fr;
  }

  .clips-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: clamp(200px, 70vw, 320px);
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
