@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/rubik-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/rubik-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/rubik-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/rubik-latin.woff2') format('woff2');
}

:root {
  --color-bg: #100520;
  --color-panel: #1c0f33;
  --color-surface: #281446;
  --color-border: rgba(125, 82, 217, 0.55);
  --color-border-soft: rgba(125, 82, 217, 0.35);
  --color-text: #f7f5ff;
  --color-muted: rgba(214, 200, 255, 0.82);
  --color-brand: #00ff88;
  --color-brand-2: #66d9ff;
  --color-brand-3: #ff6b9d;
  --color-warning: #ffeb3b;
  --shadow-soft: 0 18px 44px rgba(6, 2, 16, 0.65);
  --shadow-hover: 0 24px 60px rgba(102, 217, 255, 0.4);
  --shadow-inner: inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 20%, rgba(102, 217, 255, 0.18), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(255, 107, 157, 0.2), transparent 50%),
    var(--color-bg);
  color: var(--color-text);
  font-family: 'Rubik', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.01em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a:hover {
  color: var(--color-brand-2);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 4, 28, 0.82);
  border-bottom: 1px solid var(--color-border-soft);
  backdrop-filter: blur(18px);
}

.navbar .nav-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  background: rgba(102, 217, 255, 0.1);
  color: var(--color-brand-2);
  outline: none;
  box-shadow: 0 0 0 2px rgba(102, 217, 255, 0.2);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  background: linear-gradient(135deg, var(--color-brand), #4dffb3);
  color: #02060f;
  box-shadow: 0 12px 24px rgba(0, 255, 136, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 255, 136, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: 1px solid var(--color-border);
  color: var(--color-brand-2);
  background: rgba(102, 217, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
  transform: translateY(-2px);
  background: rgba(102, 217, 255, 0.18);
  box-shadow: 0 12px 28px rgba(102, 217, 255, 0.25);
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: linear-gradient(135deg, rgba(40, 20, 70, 0.95), rgba(28, 15, 51, 0.92));
  box-shadow: var(--shadow-soft);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255, 235, 59, 0.3), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(255, 107, 157, 0.25), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.6;
  pointer-events: none;
}

.hero-body {
  position: relative;
  padding: 3.5rem 3rem;
  display: grid;
  gap: 2rem;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-brand-2);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--color-brand-2);
  box-shadow: 0 0 12px rgba(102, 217, 255, 0.9);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin: 0.75rem 0 1rem;
}

.hero p {
  max-width: 42ch;
  color: var(--color-muted);
  font-size: 1.1rem;
  margin: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(102, 217, 255, 0.6);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.card .meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.section-heading p {
  color: var(--color-muted);
  margin: 0;
}

.text-muted {
  color: var(--color-muted);
}

.game-card .meta {
  justify-content: space-between;
  align-items: center;
}

.game-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-brand);
  font-weight: 600;
}

.game-link svg {
  width: 14px;
  height: 14px;
}

footer {
  border-top: 1px solid var(--color-border-soft);
  background: rgba(8, 3, 18, 0.9);
}

footer .footer-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: rgba(214, 200, 255, 0.7);
  font-size: 0.9rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-soft);
  background: rgba(40, 20, 70, 0.55);
  color: var(--color-muted);
  transition: background 0.2s ease, transform 0.2s ease;
}

.back-link:hover,
.back-link:focus {
  background: rgba(102, 217, 255, 0.12);
  color: var(--color-brand-2);
  transform: translateY(-2px);
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-body {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
  }

  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .navbar .nav-shell {
    flex-wrap: wrap;
    height: auto;
    gap: 1rem;
    padding: 1rem 1.25rem;
    justify-content: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-body {
    padding: 2.4rem 2rem;
  }

  .cta-row {
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    flex: 1 1 auto;
  }
}
