:root {
  --ink: #0b0b0f;
  --panel: #11131b;
  --paper: #f4f1ed;
  --accent: #ff6b2d;
  --accent-2: #f7c950;
  --mint: #38f2a1;
  --violet: #3a2b5c;
  --shadow: rgba(10, 10, 18, 0.4);
  --radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: radial-gradient(circle at top left, #fff0d8 0%, #f6e0db 35%, #d4d7ff 100%);
  color: var(--ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 1;
}

.hero {
  padding: 0 clamp(24px, 6vw, 120px) 120px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 45, 0.45), rgba(255, 107, 45, 0));
  top: -160px;
  right: -120px;
  z-index: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 24px clamp(24px, 6vw, 120px);
}

.brand {
  font-family: "Righteous", sans-serif;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  margin-top: 80px;
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-text h1 {
  font-family: "Righteous", sans-serif;
  font-size: clamp(44px, 7vw, 86px);
  margin: 16px 0 12px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  font-size: 12px;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 32px;
}

.cta,
.ghost {
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pulse {
  box-shadow: 0 0 0 10px rgba(255, 107, 45, 0.2);
}

.cta {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 107, 45, 0.35);
}

.cta:hover,
.ghost:hover {
  transform: translateY(-2px);
}

.ghost {
  background: #fff;
  border: 1px solid #ddd;
  text-decoration: none;
  display: inline-block;
}

.stats {
  display: flex;
  gap: 24px;
}

.stats span {
  display: block;
  font-weight: 700;
  font-size: 22px;
}

.hero-card {
  background: var(--panel);
  color: var(--paper);
  padding: 24px;
  max-width: 400px;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px var(--shadow);
  order: -1;
}

.hero-card h2 {
  font-size: 28px;
  margin-top: 6px;
}

.card-body {
  margin: 20px 0 24px;
  line-height: 1.6;
}

.tags {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.tags span {
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.block {
  width: 100%;
}

.section {
  padding: 96px clamp(24px, 6vw, 120px);
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.section.alt {
  background: #0f1219;
  color: var(--paper);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.tile {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(10, 10, 18, 0.15);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(10, 10, 18, 0.25);
}

.tile-image-container {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  overflow: hidden;
}

.tile-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.tile-play-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--accent);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tile-play-btn:hover {
  background: #e55b1f;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.tile-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tile-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.tile-dev {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}

.tile-description {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.tile button {
  align-self: flex-start;
}

.section.alt .tile {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.genre-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.genre {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}

.banner {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #1d1208;
  padding: 28px;
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.crew {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.crew article {
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(14, 14, 21, 0.1);
}

.footer {
  padding: 60px clamp(24px, 6vw, 120px) 40px;
  background: #0b0d12;
  color: var(--paper);
  display: grid;
  gap: 20px;
  margin-top: auto;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.small {
  opacity: 0.7;
}

.side-panel {
  position: fixed;
  top: 30%;
  right: 0;
  width: 220px;
  background: #0f1219;
  color: var(--paper);
  border-radius: 16px 0 0 16px;
  box-shadow: 0 16px 30px rgba(10, 10, 18, 0.35);
  transform: translateX(150px);
  transition: transform 0.3s ease;
  z-index: 5;
}

.side-panel:hover {
  transform: translateX(0);
}

.side-panel-tab {
  position: absolute;
  left: -38px;
  top: 40px;
  background: var(--accent);
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px 12px 0 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: rotate(-90deg);
  transform-origin: left top;
}

.side-panel-body {
  padding: 18px 20px 20px;
  display: grid;
  gap: 10px;
}

.side-panel-body h3 {
  font-size: 16px;
}

.side-panel-body p {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(244, 241, 237, 0.8);
}

.coming-soon-list {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.coming-soon-list li {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .stats {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-bottom: 80px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .side-panel {
    top: auto;
    bottom: 20px;
    transform: translateX(160px);
  }
}
