:root {
  color-scheme: dark;
  --bg: #09090b;
  --panel: #18181b;
  --panel-2: #111113;
  --red: #dc2626;
  --red-hot: #ff3b3b;
  --text: #ffffff;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.11);
  --shadow: 0 0 48px rgba(220, 38, 38, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.2), transparent 34rem),
    linear-gradient(180deg, #09090b 0%, #101012 52%, #09090b 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

button {
  color: inherit;
  font: inherit;
}

#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.92), rgba(9, 9, 11, 0.2));
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
  filter: drop-shadow(0 0 18px rgba(255, 59, 59, 0.55));
}

nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

nav a,
.footer-links a,
.footer-links button {
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, text-shadow 180ms ease, background 180ms ease;
}

nav a:hover,
.footer-links a:hover,
.footer-links button:hover {
  color: var(--text);
  background: rgba(220, 38, 38, 0.12);
  text-shadow: 0 0 18px rgba(255, 59, 59, 0.7);
}

.section-panel,
section {
  position: relative;
}

.hero {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 7rem 1rem 4rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(72vw, 620px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.18);
  box-shadow: 0 0 120px rgba(255, 59, 59, 0.38), inset 0 0 80px rgba(255, 255, 255, 0.035);
  filter: blur(10px);
  transform: translate(-50%, -50%);
  animation: pulseGlow 4s ease-in-out infinite;
}

.hero-logo {
  width: clamp(124px, 20vw, 210px);
  height: clamp(124px, 20vw, 210px);
  margin-bottom: 1.25rem;
  border-radius: 999px;
  object-fit: cover;
  filter: drop-shadow(0 0 34px rgba(255, 59, 59, 0.65));
  animation: logoFloat 5s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--red-hot);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.35rem;
  font-size: clamp(3rem, 12vw, 9.5rem);
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow: 0 0 40px rgba(255, 59, 59, 0.42);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.12rem;
}

.tagline {
  margin-bottom: 2rem;
  color: #e4e4e7;
  font-size: clamp(1.15rem, 3vw, 2rem);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 50px;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  border-color: rgba(255, 59, 59, 0.7);
  background: linear-gradient(135deg, var(--red), #7f1d1d);
  box-shadow: var(--shadow);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.wide {
  width: 100%;
}

.server-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  width: min(100%, 720px);
  margin: 0 auto;
}

.server-pill {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(24, 24, 27, 0.74);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.server-pill:hover {
  border-color: rgba(255, 59, 59, 0.7);
  background: rgba(220, 38, 38, 0.14);
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.18);
}

.server-pill span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.server-pill strong {
  overflow-wrap: anywhere;
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
}

.why,
.mode-tabs,
.feature-section,
.stats,
.community,
.news,
.store,
.staff,
.support {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.mode-tab {
  display: grid;
  gap: 0.35rem;
  min-height: 118px;
  align-content: center;
  padding: 1.1rem;
  background: rgba(24, 24, 27, 0.88);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mode-tab:hover,
.mode-tab.active {
  background:
    linear-gradient(135deg, rgba(220, 38, 38, 0.28), rgba(24, 24, 27, 0.88)),
    rgba(24, 24, 27, 0.88);
  box-shadow: inset 0 2px 0 var(--red-hot);
}

.mode-tab:hover {
  transform: translateY(-3px);
}

.mode-tab span {
  color: var(--red-hot);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mode-tab strong {
  font-size: clamp(1.15rem, 2.3vw, 1.65rem);
  text-transform: uppercase;
}

.why {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.showcase-frame {
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 59, 59, 0.65), rgba(255, 255, 255, 0.08), rgba(220, 38, 38, 0.25));
  box-shadow: var(--shadow);
}

.showcase-screen {
  position: relative;
  display: grid;
  min-height: clamp(300px, 44vw, 520px);
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(220, 38, 38, 0.16), transparent 42%),
    radial-gradient(circle at 70% 40%, rgba(255, 59, 59, 0.24), transparent 15rem),
    #0e0e10;
}

.showcase-screen::before {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  content: "";
  transform: skew(-8deg);
}

.scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.055) 1px, transparent 1px, transparent 7px);
  opacity: 0.25;
}

.server-preview {
  position: relative;
  max-width: 360px;
  padding: 2rem;
  text-align: center;
}

.server-preview strong {
  display: block;
  margin: 0.5rem 0;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.preview-label {
  color: var(--red-hot);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.why-copy p:not(.eyebrow),
.community-copy p,
.store p,
.news-card p,
.feature-panel p,
.server-preview p {
  color: var(--muted);
  line-height: 1.7;
}

.focus-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.focus-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #e4e4e7;
  font-weight: 800;
}

.focus-list span {
  width: 10px;
  height: 10px;
  background: var(--red-hot);
  box-shadow: 0 0 18px rgba(255, 59, 59, 0.9);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.feature-panels {
  display: grid;
  gap: 0.8rem;
}

.feature-panel {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 1.2rem;
  padding: clamp(1rem, 3vw, 1.45rem);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(24, 24, 27, 0.95), rgba(24, 24, 27, 0.42));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-panel:hover {
  border-color: rgba(255, 59, 59, 0.6);
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.24), rgba(24, 24, 27, 0.62));
  transform: translateX(8px);
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 59, 59, 0.42);
  background: rgba(220, 38, 38, 0.14);
  box-shadow: 0 0 22px rgba(220, 38, 38, 0.16);
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 900;
}

.stats {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: end;
  gap: 2rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat-grid article {
  min-height: 150px;
  padding: 1.2rem;
  background: rgba(24, 24, 27, 0.86);
}

.stat-grid strong {
  display: block;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  text-shadow: 0 0 22px rgba(255, 59, 59, 0.38);
}

.stat-grid span {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.community {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(1.5rem, 6vw, 4rem);
  align-items: center;
}

.community-copy {
  max-width: 760px;
}

.discord-panel,
.news-card,
.store,
.staff-card,
.support {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(24, 24, 27, 0.78);
}

.discord-panel {
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: #e4e4e7;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.live-dot::before {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.8);
  content: "";
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.news-card {
  min-height: 230px;
  padding: 1.35rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.news-card:hover {
  border-color: rgba(255, 59, 59, 0.55);
  transform: translateY(-6px);
}

.news-card span {
  color: var(--red-hot);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card h3 {
  margin-top: 3rem;
}

.store {
  padding: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}

.store p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.store-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.store-tags span {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 59, 59, 0.34);
  background: rgba(220, 38, 38, 0.08);
  color: #e4e4e7;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.staff-card {
  min-height: 230px;
  padding: 1.35rem;
  transition: border-color 180ms ease, transform 180ms ease;
}

.staff-card:hover {
  border-color: rgba(255, 59, 59, 0.55);
  transform: translateY(-6px);
}

.staff-card span {
  color: var(--red-hot);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-card h3 {
  margin-top: 3rem;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.staff-card p,
.support p {
  color: var(--muted);
  line-height: 1.7;
}

.owner-card {
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 59, 59, 0.2), transparent 18rem),
    rgba(24, 24, 27, 0.82);
  box-shadow: var(--shadow);
}

.support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.support-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.support-actions a {
  display: grid;
  min-height: 86px;
  place-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(9, 9, 11, 0.4);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.support-actions a:hover {
  border-color: rgba(255, 59, 59, 0.55);
  background: rgba(220, 38, 38, 0.14);
  transform: translateY(-3px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  width: min(100% - 2rem, 1180px);
  margin: 2rem auto 0;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  max-width: min(340px, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 59, 59, 0.45);
  border-radius: 6px;
  background: rgba(9, 9, 11, 0.94);
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(0.96);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 900px) {
  .site-header {
    position: fixed;
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 0.8rem;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .why,
  .stats,
  .community,
  .support,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .stat-grid,
  .news-grid,
  .mode-tabs,
  .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 8.5rem;
  }

  .hero-actions,
  .server-strip,
  .stat-grid,
  .news-grid,
  .mode-tabs,
  .staff-grid,
  .support-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .feature-panel {
    grid-template-columns: 52px 1fr;
    gap: 0.9rem;
  }

  .feature-icon {
    width: 46px;
    height: 46px;
  }

  .stat-grid article {
    min-height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
