*,
*::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: #f3f4f6;
}

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

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

:root {
  --bg-page: #f3f4f6;
  --bg-surface: #ffffff;
  --primary: #2563eb;
  --primary-soft: #dbeafe;
  --primary-dark: #1d4ed8;
  --accent: #06b6d4;
  --text-main: #0f172a;
  --text-soft: #6b7280;
  --border-subtle: #e5e7eb;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 55px rgba(15, 23, 42, 0.18);
}

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(15, 23, 42, 0.95), transparent 65%),
    radial-gradient(circle at bottom, rgba(15, 23, 42, 0.85), transparent 65%),
    linear-gradient(to bottom, #020617, #020617 40%, #020617 55%, #020617 65%, #020617 75%, #030712 100%);
  color: var(--text-main);
  position: relative;
  overflow: hidden;
}

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

/* Nebula-style colored glows */
.page::before {
  opacity: 0.6;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.35), transparent 60%),
    radial-gradient(circle at 85% 70%, rgba(147, 51, 234, 0.35), transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(8, 47, 73, 0.6), transparent 70%);
}

/* Star field made from tiny dots */
.page::after {
  opacity: 0.8;
  background-image:
    radial-gradient(circle, rgba(248, 250, 252, 0.82) 0, rgba(248, 250, 252, 0) 40%),
    radial-gradient(circle, rgba(191, 219, 254, 0.9) 0, rgba(191, 219, 254, 0) 40%),
    radial-gradient(circle, rgba(129, 140, 248, 0.9) 0, rgba(129, 140, 248, 0) 40%);
  background-size: 2px 2px, 2px 2px, 2px 2px;
  background-position:
    0 0,
    1px 1px,
    0.5px 1.5px;
  mix-blend-mode: screen;
}

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

/* Header / Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(249, 250, 251, 0.96);
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f172a;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 25% 0, #f97316, transparent 60%),
    radial-gradient(circle at 80% 80%, #2563eb, transparent 60%),
    #020617;
  border: 1px solid rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.7);
}

.logo-text span {
  color: var(--primary);
}

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

.nav-link {
  position: relative;
  padding: 4px 0;
  color: #4b5563;
}

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

.nav-link:hover {
  color: var(--primary-dark);
}

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

.nav-link.is-active {
  color: var(--primary-dark);
}

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

.nav-cta {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: linear-gradient(90deg, #eff6ff, #e0f2fe);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 500;
}

.nav-cta:hover {
  border-color: rgba(37, 99, 235, 0.4);
  background: linear-gradient(90deg, #dbeafe, #bae6fd);
}

/* Generic layout */

main {
  padding: 40px 0 56px;
}

.section-alt {
  background:
    radial-gradient(circle at 0 0, rgba(209, 213, 219, 0.3), transparent 55%),
    rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(209, 213, 219, 0.7);
  border-bottom: 1px solid rgba(209, 213, 219, 0.7);
}

/* Dark text on light surfaces inside alt sections and cards */
.section-alt .section-title,
.contact-card .section-title,
.contact-cta .section-title {
  color: #0f172a;
}

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

.hero {
  padding: 44px 0 52px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 15%, rgba(37, 99, 235, 0.45), transparent 60%),
    radial-gradient(circle at 85% 85%, rgba(6, 182, 212, 0.4), transparent 60%),
    radial-gradient(circle at 50% 0, rgba(15, 23, 42, 0.9), transparent 70%);
  opacity: 0.9;
  z-index: -1;
}

/* Subtle grid overlay for sections */

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

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: linear-gradient(
      rgba(148, 163, 184, 0.25) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(148, 163, 184, 0.18) 1px,
      transparent 1px
    );
  background-size: 40px 40px;
  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: 36px;
  align-items: center;
}

.eyebrow,
.section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 10px;
}

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

.hero-title {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 14px;
  color: #f9fafb;
}

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

.hero-subtitle {
  font-size: 15px;
  color: #cbd5f5;
  max-width: 30rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.hero-search-card {
  border-radius: var(--radius-xl);
  padding: 16px 16px 18px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(circle at bottom right, rgba(6, 182, 212, 0.18), transparent 60%),
    #ffffff;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
}

.hero-search-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
}

.hero-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.hero-search-form input {
  flex: 1 1 180px;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 8px 12px;
  font-size: 14px;
  outline: none;
}

.hero-search-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #f9fafb;
  color: #4b5563;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  color: #cbd5f5;
  margin-top: 16px;
}

.hero-metric strong {
  display: block;
  font-size: 18px;
  color: #e5e7eb;
}

.hero-panel {
  border-radius: var(--radius-xl);
  padding: 16px 18px 18px;
  background: #ffffff;
  border: 1px solid rgba(209, 213, 219, 0.95);
  box-shadow: var(--shadow-soft);
}

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

.hero-panel-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
}

.hero-panel-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.hero-panel-title {
  margin: 0 0 8px;
  font-size: 17px;
}

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

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

.hero-panel-tags span {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary-dark);
}

.hero-panel-list {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-soft);
}

.hero-panel-link {
  font-size: 13px;
  color: var(--primary-dark);
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    background 0.12s ease-out;
}

.btn-primary {
  background: linear-gradient(115deg, var(--primary), var(--accent));
  color: #f9fafb;
  box-shadow: 0 15px 32px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.6);
}

/* Sections and cards */

.section-header {
  max-width: 520px;
  margin-bottom: 20px;
}

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

.section-title {
  font-size: 22px;
  margin: 0 0 8px;
  color: #e5e7eb;
}

.section-description {
  margin: 0;
  font-size: 14px;
  color: #cbd5f5;
}

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

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

.card {
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.card-title {
  margin: 0 0 8px;
  font-size: 16px;
  color: #0f172a;
}

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

.card-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

.card-list {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-soft);
}

.card-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--primary-dark);
}

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

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

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

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

.pill {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary-dark);
}

.pill-green {
  background: #dcfce7;
  color: #166534;
}

/* Layout utilities */

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

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

.list li {
  padding-left: 12px;
  border-left: 2px solid rgba(148, 163, 184, 0.8);
  margin-bottom: 10px;
}

.details-grid {
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 16px 16px 6px;
}

.details-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

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

.details-label {
  font-size: 13px;
  color: #6b7280;
}

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

.body-text {
  font-size: 14px;
  color: #cbd5f5;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Page hero / breadcrumbs */

.page-hero {
  padding: 32px 0 20px;
}

.breadcrumbs {
  font-size: 12px;
  color: #9ca3d8;
  margin-bottom: 6px;
}

.breadcrumbs a {
  color: #6b7280;
}

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

.page-title {
  font-size: 26px;
  margin: 0 0 8px;
  color: #f9fafb;
}

.page-subtitle {
  font-size: 14px;
  color: #cbd5f5;
  max-width: 32rem;
}

.link-inline {
  font-size: 13px;
  color: #bfdbfe;
}

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

.alert-note {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
}

/* Contact layouts */

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

.contact-card {
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 16px 16px 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

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

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

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

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

.field input,
.field textarea,
.field select {
  border-radius: 10px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

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

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

.contact-meta h3 {
  margin: 0 0 4px;
  font-size: 14px;
  color: #0f172a;
}

.contact-meta p {
  margin: 0 0 2px;
}

.contact-meta a {
  color: var(--primary-dark);
}

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

.contact-cta {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 16px 16px 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

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

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

/* Footer */

.site-footer {
  border-top: 1px solid rgba(209, 213, 219, 0.9);
  background: #f9fafb;
  padding: 14px 0 18px;
  font-size: 13px;
  color: #6b7280;
}

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

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

.footer-links a {
  color: #6b7280;
}

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

/* Responsive */

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

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

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

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

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

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

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

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


