:root {
  --red: #e63c2e;
  --dark: #1f2330;
  --text: #2b2f3b;
  --muted: #6b7280;
  --cream: #fff7f0;
  --line: rgba(31, 35, 48, 0.1);
  --shadow: 0 20px 60px rgba(31, 35, 48, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fdf8f4;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1140px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(31, 35, 48, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand img {
  width: 160px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
}

.nav-link {
  color: var(--dark);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(230, 60, 46, 0.25);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--dark);
  display: block;
}

.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(230, 60, 46, 0.15), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(255, 215, 128, 0.35), transparent 50%),
    linear-gradient(135deg, #fff8f0, #fff 50%, #fff5e6 100%);
  z-index: 0;
}

.hero-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(31, 35, 48, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.3;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-brand {
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--red);
  margin: 0 0 12px;
}

.hero h1 {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  margin: 0 0 16px;
  color: var(--dark);
}

.hero-subtext {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stat-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(31, 35, 48, 0.08);
}

.stat-item img {
  width: 26px;
}

.stat-item p {
  margin: 0;
  font-size: 0.95rem;
}

.hero-card {
  background: linear-gradient(160deg, #1f2330, #34394a 60%);
  color: #fff;
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  margin: 0 0 10px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
}

.btn.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 24px rgba(230, 60, 46, 0.3);
}

.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title span {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 6px;
}

.section-title h2 {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  margin: 0;
}

.title-line {
  width: 70px;
  height: 4px;
  background: var(--red);
  margin: 16px auto 0;
  border-radius: 999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.pricing-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(31, 35, 48, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-card.highlight {
  background: #fff4ee;
  border: 1px solid rgba(230, 60, 46, 0.2);
}

.pricing-card h3 {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.35rem;
}

.pricing-subtitle {
  color: var(--muted);
  margin: 0;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.95rem;
}

.pricing-card button {
  margin-top: auto;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.game-card {
  background: #f9fafb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(31, 35, 48, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.game-card span {
  display: block;
  padding: 12px;
  font-weight: 700;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(31, 35, 48, 0.15);
}

.site-footer {
  background: #1f2330;
  color: #fff;
  padding: 60px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}

.footer-brand img {
  width: 150px;
  margin-bottom: 12px;
}

.footer-links h4,
.footer-contact h4 {
  margin: 0 0 12px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.footer-contact p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.75);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 5vw;
    background: #fff;
    border-radius: 16px;
    flex-direction: column;
    padding: 16px 20px;
    box-shadow: var(--shadow);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding: 14px 0;
  }

  .hero {
    padding: 70px 0 90px;
  }

  .hero-card {
    padding: 24px;
  }
}

.section-clips {
  background: #fff;
}

.clips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.clip-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 16px 32px rgba(31, 35, 48, 0.08);
  display: grid;
  gap: 12px;
}

.clip-card h3 {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.clip-card p {
  margin: 0;
  color: var(--muted);
}

.clip-thumb {
  height: 150px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(230, 60, 46, 0.12), rgba(255, 197, 125, 0.4)),
    url("../images/clip-thumb.svg") center/cover;
  position: relative;
  overflow: hidden;
}

.clip-thumb::after {
  content: "▶";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  color: var(--red);
}
