*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e5e7eb;
  background-color: #0a0a0a;
}

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

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

:root {
  --bg-page: #0a0a0a;
  --bg-surface: #1a1a1a;
  --primary: #ff4444;
  --primary-soft: #ff6b6b;
  --primary-dark: #cc0000;
  --accent: #ff8800;
  --accent-2: #ffbb00;
  --text-main: #ffffff;
  --text-soft: #b0b0b0;
  --border-subtle: #333333;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 20px 60px rgba(255, 68, 68, 0.25);
  --shadow-glow: 0 0 30px rgba(255, 68, 68, 0.5);
}

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 68, 68, 0.15), transparent 50%),
    radial-gradient(circle at top right, rgba(255, 136, 0, 0.15), transparent 50%),
    radial-gradient(circle at bottom, rgba(255, 187, 0, 0.1), transparent 60%),
    linear-gradient(to bottom, #0a0a0a, #1a0a0a 40%, #0a0a0a 100%);
  color: var(--text-main);
  position: relative;
  overflow: hidden;
}

.page::before,
.page::after {
  content: "";
  position: fixed;
  inset: -120px;
  pointer-events: none;
  z-index: -1;
}

/* Animated background effects */
.page::before {
  opacity: 0.3;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 68, 68, 0.3), transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(255, 136, 0, 0.3), transparent 50%);
}

/* Particle effect */
.page::after {
  opacity: 0.4;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.6) 0, transparent 40%),
    radial-gradient(circle, rgba(255, 68, 68, 0.5) 0, transparent 40%);
  background-size: 2px 2px, 2px 2px;
  background-position:
    0 0,
    1px 1px;
  mix-blend-mode: screen;
}

.container {
  width: min(1200px, 100% - 32px);
  margin: 0 auto;
}

/* Header / Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: rgba(26, 26, 26, 0.95);
  border-bottom: 1px solid rgba(255, 68, 68, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}

.logo-text span {
  background: linear-gradient(120deg, var(--primary), var(--accent-2));
  -webkit-background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav-link {
  position: relative;
  padding: 6px 0;
  color: #b0b0b0;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease-out;
}

.nav-link:hover {
  color: #ffffff;
}

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

.nav-link.is-active {
  color: #ffffff;
}

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

.nav-cta {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 68, 68, 0.4);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 68, 68, 0.5);
}

/* Generic layout */

main {
  padding: 40px 0 60px;
}

.section-alt {
  background:
    radial-gradient(circle at 0 0, rgba(255, 68, 68, 0.1), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(255, 136, 0, 0.1), transparent 50%),
    rgba(20, 20, 20, 0.8);
  border-top: 1px solid rgba(255, 68, 68, 0.2);
  border-bottom: 1px solid rgba(255, 68, 68, 0.2);
}

.section-alt .section-title,
.contact-card .section-title,
.contact-cta .section-title {
  color: #ffffff;
}

.section-alt .section-description,
.contact-card .section-description,
.contact-cta .section-description {
  color: var(--text-soft);
}

.hero {
  padding: 50px 0 60px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255, 68, 68, 0.25), transparent 60%),
    radial-gradient(circle at 85% 75%, rgba(255, 136, 0, 0.25), transparent 60%);
  opacity: 0.7;
  z-index: -1;
}

.section {
  position: relative;
  padding: 50px 0;
}

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image: linear-gradient(
      rgba(255, 68, 68, 0.2) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 68, 68, 0.2) 1px,
      transparent 1px
    );
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.eyebrow,
.section-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-eyebrow {
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: #ffffff;
  font-weight: 800;
}

.hero-title span {
  background: linear-gradient(120deg, var(--primary), var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  color: transparent;
  display: block;
}

.hero-subtitle {
  font-size: 16px;
  color: #d0d0d0;
  max-width: 32rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: #b0b0b0;
  margin-top: 24px;
}

.hero-stat strong {
  display: block;
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 4px;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-panel {
  border-radius: var(--radius-xl);
  padding: 24px;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(30, 30, 30, 0.95));
  border: 1px solid rgba(255, 68, 68, 0.3);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 70px rgba(255, 68, 68, 0.35);
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.hero-panel-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
}

.hero-panel-badge {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-weight: 600;
}

.hero-panel-title {
  margin: 0 0 10px;
  font-size: 20px;
  color: #ffffff;
  font-weight: 700;
}

.hero-panel-text {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

.hero-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-panel-tags span {
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 68, 68, 0.2);
  color: var(--primary-soft);
  border: 1px solid rgba(255, 68, 68, 0.3);
}

.hero-panel-list {
  margin: 0 0 14px;
  padding-left: 20px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.8;
}

.hero-panel-list li {
  margin-bottom: 6px;
}

.hero-panel-link {
  font-size: 14px;
  color: var(--primary-soft);
  font-weight: 600;
  transition: color 0.2s ease;
}

.hero-panel-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(255, 68, 68, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 68, 68, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Sections and cards */

.section-header {
  max-width: 600px;
  margin-bottom: 32px;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.section-title {
  font-size: 28px;
  margin: 0 0 10px;
  color: #ffffff;
  font-weight: 700;
}

.section-description {
  margin: 0;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.7;
}

.cards-grid {
  display: grid;
  gap: 24px;
}

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

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

.card {
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(30, 30, 30, 0.9));
  border: 1px solid rgba(255, 68, 68, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 45px rgba(255, 68, 68, 0.3);
  border-color: rgba(255, 68, 68, 0.4);
}

.card-title {
  margin: 0 0 10px;
  font-size: 18px;
  color: #ffffff;
  font-weight: 700;
}

.card-title-large {
  font-size: 24px;
  margin-bottom: 12px;
}

.card-text {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

.card-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
}

.card-list {
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.8;
}

.card-list li {
  margin-bottom: 6px;
}

.card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--primary-soft);
  font-weight: 600;
  transition: color 0.2s ease;
}

.card-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.card-game .card-text {
  margin-bottom: 10px;
}

.card-game-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.card-game-large {
  padding: 24px;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 12px 0;
  font-size: 12px;
  color: var(--text-soft);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 6px;
}

.pill {
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 68, 68, 0.2);
  color: var(--primary-soft);
  border: 1px solid rgba(255, 68, 68, 0.3);
  font-weight: 600;
}

.pill-green {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.3);
}

.pill-orange {
  background: rgba(255, 136, 0, 0.2);
  color: #ffaa44;
  border-color: rgba(255, 136, 0, 0.3);
}

.pill-purple {
  background: rgba(147, 51, 234, 0.2);
  color: #a78bfa;
  border-color: rgba(147, 51, 234, 0.3);
}

/* Layout utilities */

.layout-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.8;
}

.list li {
  padding-left: 16px;
  border-left: 3px solid rgba(255, 68, 68, 0.5);
  margin-bottom: 12px;
  position: relative;
}

.list li::before {
  content: "▶";
  position: absolute;
  left: -2px;
  color: var(--primary);
  font-size: 10px;
}

.list-large {
  font-size: 16px;
}

.list-large li {
  margin-bottom: 16px;
}

.details-grid {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(30, 30, 30, 0.9));
  border: 1px solid rgba(255, 68, 68, 0.2);
  padding: 20px 22px;
  backdrop-filter: blur(10px);
}

.details-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 68, 68, 0.1);
}

.details-row:last-child {
  border-bottom: none;
}

.details-label {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 600;
}

.details-value {
  font-size: 14px;
  color: #ffffff;
}

.body-text {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 16px;
}

.body-text p {
  margin-bottom: 16px;
}

.body-text p:last-child {
  margin-bottom: 0;
}

/* Page hero / breadcrumbs */

.page-hero {
  padding: 40px 0 30px;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.breadcrumbs a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--primary-soft);
}

.page-title {
  font-size: 36px;
  margin: 0 0 12px;
  color: #ffffff;
  font-weight: 800;
}

.page-subtitle {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 36rem;
  line-height: 1.7;
}

.link-inline {
  font-size: 14px;
  color: var(--primary-soft);
  font-weight: 600;
  transition: color 0.2s ease;
}

.link-inline:hover {
  color: #ffffff;
  text-decoration: underline;
}

.alert-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-soft);
}

/* Games filter */

.games-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 68, 68, 0.3);
  background: rgba(26, 26, 26, 0.8);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: rgba(255, 68, 68, 0.5);
  color: #ffffff;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  border-color: transparent;
}


/* Contact layouts */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.contact-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(30, 30, 30, 0.9));
  border: 1px solid rgba(255, 68, 68, 0.2);
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  border-radius: 12px;
  border: 1px solid rgba(255, 68, 68, 0.3);
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: rgba(20, 20, 20, 0.8);
  color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.2);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 14px;
  color: var(--text-soft);
}

.contact-meta h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #ffffff;
  font-weight: 700;
}

.contact-meta p {
  margin: 0 0 4px;
  line-height: 1.7;
}

.contact-meta a {
  color: var(--primary-soft);
  transition: color 0.2s ease;
}

.contact-meta a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.contact-cta {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(30, 30, 30, 0.9));
  border: 1px solid rgba(255, 68, 68, 0.2);
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  backdrop-filter: blur(10px);
}

.contact-cta-compact {
  margin-top: 20px;
}

.contact-cta-actions {
  text-align: right;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 68, 68, 0.2);
  background: rgba(20, 20, 20, 0.95);
  padding: 20px 0 24px;
  font-size: 13px;
  color: var(--text-soft);
  backdrop-filter: blur(10px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

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

/* Responsive */

@media (max-width: 1000px) {
  .nav {
    gap: 16px;
    font-size: 13px;
  }

  .hero-grid,
  .layout-two-column,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    margin-top: 20px;
  }

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

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

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 640px);
  }

  .nav {
    display: none;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .contact-cta {
    flex-direction: column;
  }

  .contact-cta-actions {
    text-align: left;
    width: 100%;
  }
}

