:root {
  /* NeroMC bright sky theme */
  --sky-0: #eefcff;
  --sky-1: #b8eeff;
  --sky-2: #76dfff;
  --sky-3: #14aef5;
  --blue-deep: #07366d;
  --blue-ink: #092346;
  --green: #20f28a;
  --green-dark: #0aa65a;
  --cyan: #21d6ff;
  --white: #ffffff;
  --muted: #4b7184;
  --line: rgba(7, 54, 109, 0.14);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --shadow: 0 28px 80px rgba(4, 73, 128, 0.18);
  --shadow-hard: 8px 8px 0 rgba(7, 54, 109, 0.16);
  --radius: 28px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100% - 36px));
  --display: "Space Grotesk", "Outfit", sans-serif;
  --body: "Outfit", "Trebuchet MS", sans-serif;
}

body.theme-dark {
  --sky-0: #020407;
  --sky-1: #05080d;
  --sky-2: #07111a;
  --sky-3: #38d9ff;
  --blue-deep: #f6fcff;
  --blue-ink: #ffffff;
  --green: #77ff7a;
  --green-dark: #b6ff7a;
  --cyan: #58e6ff;
  --white: #05080d;
  --muted: #d4e9f2;
  --line: rgba(119, 255, 122, 0.28);
  --glass: rgba(5, 8, 13, 0.88);
  --glass-strong: rgba(2, 4, 7, 0.96);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.72);
  --shadow-hard: 8px 8px 0 rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--blue-ink);
  font-family: var(--body);
  background:
    radial-gradient(circle at 12% 12%, rgba(32, 242, 138, 0.28), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(33, 214, 255, 0.35), transparent 30rem),
    linear-gradient(180deg, var(--sky-0) 0%, var(--sky-1) 40%, #d7fff0 100%);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.theme-dark {
  background:
    radial-gradient(circle at 14% 10%, rgba(119, 255, 122, 0.12), transparent 26rem),
    radial-gradient(circle at 88% 8%, rgba(88, 230, 255, 0.1), transparent 28rem),
    linear-gradient(180deg, #020407 0%, #05080d 52%, #000000 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sky-glow,
.pixel-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.sky-glow {
  z-index: -3;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.9), transparent 24rem),
    linear-gradient(130deg, rgba(4, 148, 255, 0.18), transparent 42%);
}

body.theme-dark .sky-glow {
  background:
    radial-gradient(circle at 50% -10%, rgba(119, 255, 122, 0.1), transparent 22rem),
    linear-gradient(130deg, rgba(88, 230, 255, 0.05), transparent 42%);
}

.pixel-field {
  z-index: -2;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(7, 54, 109, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 54, 109, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
  animation: driftPixels 24s linear infinite;
}

body.theme-dark .pixel-field {
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(132, 231, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 231, 255, 0.2) 1px, transparent 1px);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: var(--container);
  margin: 14px auto 0;
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

body.theme-dark .nav-shell {
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.75);
}

body.theme-dark .nav-links a {
  color: rgba(246, 252, 255, 0.84);
}

body.theme-dark .nav-links a:hover,
body.theme-dark .nav-links a.active,
body.theme-dark .nav-status:hover,
body.theme-dark .theme-toggle:hover {
  color: #080808;
  background: var(--green);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7, 54, 109, 0.12);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(33, 214, 255, 0.22));
  box-shadow: 0 8px 18px rgba(7, 54, 109, 0.14);
  overflow: hidden;
}

.brand-icon img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  object-position: center;
  border-radius: 9px;
}

.brand-name {
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-name span {
  color: var(--green-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a,
.nav-status,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(9, 35, 70, 0.78);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-status:hover,
.theme-toggle:hover {
  color: var(--blue-ink);
  background: rgba(32, 242, 138, 0.22);
  box-shadow: inset 0 0 0 1px rgba(10, 166, 90, 0.16);
  transform: translateY(-2px);
}

.nav-status {
  background: rgba(33, 214, 255, 0.2);
  border: 1px solid rgba(7, 54, 109, 0.1);
  min-width: 112px;
}

.theme-toggle {
  border: 1px solid rgba(7, 54, 109, 0.1);
  background: rgba(255, 255, 255, 0.76);
  min-width: 72px;
}

body.theme-dark .theme-toggle,
body.theme-dark .nav-status,
body.theme-dark .brand-icon {
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.68);
  color: var(--blue-ink);
}

body.theme-dark .brand-name,
body.theme-dark .brand-name span {
  color: var(--blue-deep);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a9b7c0;
  box-shadow: 0 0 0 0 rgba(32, 242, 138, 0.65);
}

.live-dot.online {
  background: var(--green);
  animation: pulse 1.8s infinite;
}

.live-dot.offline {
  background: #ff4778;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--blue-ink);
  background: var(--glass-strong);
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.page-shell {
  width: var(--container);
  margin: 0 auto;
  padding: 76px 0 90px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  min-height: calc(100vh - 170px);
}

.hero-copy,
.page-hero {
  position: relative;
}

.hero-badge {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 18px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 38px rgba(7, 54, 109, 0.12);
  animation: logoFloat 5s ease-in-out infinite;
}

.hero-badge img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
}

.hero-badge span {
  color: var(--blue-deep);
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.04em;
}

body.theme-dark .hero-badge {
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.82);
}

body.theme-dark .eyebrow {
  color: #080808;
  border-color: rgba(119, 255, 122, 0.82);
  background: linear-gradient(135deg, #b6ff7a, #77ff7a);
  box-shadow: 0 16px 40px rgba(119, 255, 122, 0.18);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(4, 73, 128, 0.1);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 850px;
  color: var(--blue-deep);
  font-size: clamp(3.8rem, 9vw, 8.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  max-width: 760px;
  margin: 20px 0 28px;
  color: #315f76;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

body.theme-dark .lead,
body.theme-dark p {
  color: var(--muted);
}

body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark strong,
body.theme-dark .live-metrics strong,
body.theme-dark .metric-card strong,
body.theme-dark .detail-card strong,
body.theme-dark .ip-card strong {
  color: var(--blue-deep);
}

.ip-card,
.live-console,
.category-card,
.wide-card,
.metric-card,
.detail-card,
.truth-card,
.staff-card,
.mode-card,
.empty-panel,
.vote-card,
.locked-stat,
.faq-item,
.contact-form,
.discord-panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

body.theme-dark .ip-card,
body.theme-dark .live-console,
body.theme-dark .category-card,
body.theme-dark .wide-card,
body.theme-dark .metric-card,
body.theme-dark .detail-card,
body.theme-dark .truth-card,
body.theme-dark .staff-card,
body.theme-dark .mode-card,
body.theme-dark .empty-panel,
body.theme-dark .vote-card,
body.theme-dark .faq-item,
body.theme-dark .contact-form,
body.theme-dark .discord-panel {
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.72);
}

.ip-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 610px;
  padding: 18px;
  border-radius: 24px;
}

.ip-card span,
.metric-card span,
.detail-card span,
.news-label,
.api-source {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ip-card strong {
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  font-weight: 900;
  box-shadow: var(--shadow-hard);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 12px 12px 0 rgba(7, 54, 109, 0.16);
  filter: saturate(1.08);
}

.btn:focus-visible,
.nav-links a:focus-visible,
.nav-toggle:focus-visible,
.faq-item button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.primary {
  color: #062444;
  background: linear-gradient(135deg, var(--green), #8cffc5);
}

.secondary {
  color: white;
  background: linear-gradient(135deg, var(--sky-3), var(--blue-deep));
}

.ghost {
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(7, 54, 109, 0.12);
}

body.theme-dark .ghost {
  color: var(--blue-ink);
  background: rgba(0, 0, 0, 0.62);
  border-color: var(--line);
}

.hero-actions,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.live-console {
  position: relative;
  padding: 26px;
  border-radius: 36px;
  overflow: hidden;
}

.live-console.compact {
  max-width: 760px;
  min-height: auto;
  margin: 24px 0;
  border-radius: 26px;
}

.live-console::before,
.live-console::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.live-console::before {
  width: 220px;
  height: 220px;
  right: -90px;
  top: -90px;
  background: rgba(33, 214, 255, 0.22);
}

.live-console::after {
  width: 180px;
  height: 180px;
  left: -80px;
  bottom: -80px;
  background: rgba(32, 242, 138, 0.2);
}

body.theme-dark .live-console::before {
  background: rgba(88, 230, 255, 0.08);
}

body.theme-dark .live-console::after {
  background: rgba(119, 255, 122, 0.08);
}

.console-top,
.status-overview,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  color: white;
  background: #8aa6b8;
  font-weight: 900;
}

.status-pill.online {
  color: #063217;
  background: var(--green);
}

.status-pill.offline {
  color: white;
  background: #ff4778;
}

.orbital-status {
  position: relative;
  width: 340px;
  height: 340px;
  margin: 50px auto 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 34%, rgba(33, 214, 255, 0.28) 35% 42%, transparent 43%),
    conic-gradient(from 90deg, var(--green), var(--cyan), #ffffff, var(--green));
  box-shadow: inset 0 0 0 20px rgba(255, 255, 255, 0.46), 0 35px 70px rgba(4, 73, 128, 0.18);
  animation: slowSpin 15s linear infinite;
}

.orbital-status span {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, var(--sky-2));
  box-shadow: var(--shadow-hard);
}

.orbital-status span:nth-child(1) { top: 24px; left: 42px; }
.orbital-status span:nth-child(2) { right: 22px; top: 142px; background: linear-gradient(135deg, var(--green), #ffffff); }
.orbital-status span:nth-child(3) { left: 122px; bottom: 18px; }

.live-metrics,
.status-dashboard,
.team-grid,
.mode-grid,
.vote-grid,
.news-layout,
.contact-grid,
.quick-grid {
  display: grid;
  gap: 20px;
}

.live-metrics {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.live-metrics article,
.metric-card,
.detail-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

body.theme-dark .live-metrics article,
body.theme-dark .metric-card,
body.theme-dark .detail-card,
body.theme-dark input,
body.theme-dark select,
body.theme-dark textarea,
body.theme-dark .discord-card,
body.theme-dark .social-row a {
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.55);
  color: var(--blue-ink);
}

body.theme-dark .status-pill.online {
  color: #080808;
  background: var(--green);
}

body.theme-dark .api-source,
body.theme-dark .ip-card span,
body.theme-dark .metric-card span,
body.theme-dark .detail-card span,
body.theme-dark .news-label {
  color: #bfefff;
}

.live-metrics strong,
.metric-card strong,
.detail-card strong {
  display: block;
  margin-top: 10px;
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  line-height: 1.05;
  word-break: break-word;
}

.mini-note {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  font-weight: 800;
}

.quick-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.category-card,
.wide-card,
.truth-card,
.empty-panel,
.locked-stat,
.vote-card,
.discord-panel,
.contact-form {
  border-radius: var(--radius);
  padding: 28px;
}

.category-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  transition: transform 220ms ease, background 220ms ease;
}

.category-card::after,
.mode-card::after,
.staff-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 28% 100%, 28% 72%, 0 72%);
  opacity: 0.22;
  transition: transform 220ms ease, opacity 220ms ease;
}

.category-card:hover,
.staff-card:hover,
.mode-card:hover,
.vote-card:hover,
.locked-stat:hover,
.empty-panel:hover {
  transform: translateY(-8px) rotate(-0.4deg);
  background: rgba(255, 255, 255, 0.86);
}

body.theme-dark .category-card:hover,
body.theme-dark .staff-card:hover,
body.theme-dark .mode-card:hover,
body.theme-dark .vote-card:hover,
body.theme-dark .locked-stat:hover,
body.theme-dark .empty-panel:hover {
  background: rgba(0, 0, 0, 0.86);
}

.category-card:hover::after,
.mode-card:hover::after,
.staff-card:hover::after {
  transform: rotate(12deg) scale(1.2);
  opacity: 0.42;
}

.category-card span {
  color: var(--green-dark);
  font-weight: 900;
}

.page-hero {
  padding: 42px 0 34px;
}

.status-dashboard {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wide-card,
.truth-card {
  grid-column: 1 / -1;
}

.status-overview h2,
.wide-card h2,
.truth-card h2,
.empty-panel h2,
.locked-stat h2,
.discord-panel h2 {
  color: var(--blue-deep);
  margin-top: 14px;
}

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

.staff-card,
.mode-card,
.vote-card,
.locked-stat,
.empty-panel {
  position: relative;
  min-height: 260px;
  padding: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 220ms ease, background 220ms ease;
}

.role-cube {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 20px;
  color: white;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: var(--shadow-hard);
}

.owner { background: linear-gradient(135deg, var(--blue-deep), var(--cyan)); }
.admin { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: var(--blue-ink); }
.mod { background: linear-gradient(135deg, #2297ff, var(--cyan)); }
.builder { background: linear-gradient(135deg, var(--cyan), var(--green)); color: var(--blue-ink); }
.dev { background: linear-gradient(135deg, #0f4a8c, var(--green)); }

.staff-card span,
.staff-card small {
  color: var(--green-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mode-art {
  position: relative;
  height: 180px;
  margin: -26px -26px 24px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    var(--mode-bg);
  background-size: 26px 26px, 26px 26px, cover;
  overflow: hidden;
}

.mode-art::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.48), transparent 34%);
  opacity: 0.7;
}

.survival { --mode-bg: linear-gradient(135deg, #0b5b42, #23df88 55%, #7cff8b); }
.skyblock { --mode-bg: linear-gradient(135deg, #112942, #42dfff 52%, #7cff8b 53%); }
.bedwars { --mode-bg: linear-gradient(135deg, #071a34, #0d7de0 34%, #7cff8b 35% 70%, #f7fbff 71%); }
.lifesteal { --mode-bg: linear-gradient(135deg, #0d1a2d, #28c6ff 48%, #7cff8b 49%); }
.arena { --mode-bg: linear-gradient(135deg, #071a34 0 28%, #91f3ff 28% 48%, #77ff7a 48% 72%, #0d7de0 72%); }
.events { --mode-bg: linear-gradient(135deg, #06203a, #38d9ff 44%, #77ff7a 45% 72%, #ecfbff 73%); }

.mc-item {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  image-rendering: pixelated;
  filter: drop-shadow(12px 14px 0 rgba(0, 0, 0, 0.24));
  transition: transform 220ms ease;
}

.mode-card:hover .mc-item {
  transform: translateY(-8px) rotate(-4deg) scale(1.06);
}

.item-grass {
  border: 6px solid #062816;
  background:
    linear-gradient(#77ff7a 0 28%, #41c66e 28% 42%, #7b4a28 42% 100%);
  box-shadow:
    inset 0 -18px 0 #54301e,
    inset 18px 0 0 rgba(255, 255, 255, 0.18),
    inset -18px 0 0 rgba(0, 0, 0, 0.12);
}

.item-island {
  width: 104px;
  height: 74px;
  clip-path: polygon(12% 0, 88% 0, 100% 32%, 68% 100%, 32% 100%, 0 32%);
  background:
    linear-gradient(#7cff8b 0 28%, #31c46b 28% 42%, #8a5a32 42% 74%, #4b2f1f 74%);
  border: 0;
}

.item-bed {
  width: 112px;
  height: 70px;
  border-radius: 8px;
  background:
    linear-gradient(#ffffff 0 32%, #1284e7 32% 100%);
  box-shadow:
    inset 0 -16px 0 #07366d,
    0 18px 0 #4b2f1f,
    -28px 22px 0 #26160e,
    28px 22px 0 #26160e;
}

.item-heart {
  width: 96px;
  height: 86px;
  background: #77ff7a;
  clip-path: polygon(50% 92%, 8% 52%, 8% 20%, 28% 4%, 50% 18%, 72% 4%, 92% 20%, 92% 52%);
  box-shadow:
    inset 14px 12px 0 rgba(255, 255, 255, 0.34),
    inset -14px -16px 0 rgba(0, 0, 0, 0.18);
}

.item-sword {
  width: 112px;
  height: 112px;
  transform: rotate(-45deg);
  background:
    linear-gradient(90deg, transparent 0 39%, #bffcff 39% 61%, transparent 61%),
    linear-gradient(#bffcff 0 64%, #0d7de0 64% 74%, transparent 74%);
}

.item-sword::before,
.item-sword::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.item-sword::before {
  top: 70px;
  width: 86px;
  height: 14px;
  background: #77ff7a;
}

.item-sword::after {
  top: 84px;
  width: 24px;
  height: 32px;
  background: #4b2f1f;
}

.item-firework {
  width: 72px;
  height: 108px;
  border-radius: 12px 12px 4px 4px;
  background:
    linear-gradient(90deg, #ffffff 0 18%, transparent 18% 82%, #ffffff 82%),
    linear-gradient(#77ff7a 0 34%, #38d9ff 34% 68%, #07366d 68%);
}

.item-firework::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, #ffffff 0 18%, transparent 19%),
    conic-gradient(#77ff7a, #38d9ff, #ffffff, #77ff7a);
}

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

.player-sample {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.player-pill {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(32, 242, 138, 0.22);
  color: var(--blue-deep);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border-radius: 22px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 0;
  color: var(--blue-deep);
  background: transparent;
  text-align: left;
  font-weight: 900;
}

.faq-item button span {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--green-dark);
  transition: transform 180ms ease;
}

.faq-item button span::after {
  transform: rotate(90deg);
}

.faq-item.active button span::after {
  transform: rotate(0deg);
}

.faq-item div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-item.active div {
  grid-template-rows: 1fr;
}

.faq-item p {
  min-height: 0;
  margin: 0;
  padding: 0 24px 24px;
  overflow: hidden;
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--blue-deep);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--blue-ink);
  background: rgba(255, 255, 255, 0.76);
  padding: 15px 16px;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green-dark);
  font-weight: 900;
}

.discord-card,
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.discord-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
  margin: 18px 0;
  padding: 18px;
  color: var(--blue-deep);
  border: 1px solid var(--line);
}

.discord-card span {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.discord-card strong {
  font-size: 1.35rem;
}

.social-row a {
  min-height: 42px;
  padding: 0 14px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(18px);
}

body.theme-dark .site-footer {
  border-top-color: rgba(145, 233, 255, 0.12);
  background: #000;
}

body.theme-dark .footer-shell,
body.theme-dark .footer-bottom,
body.theme-dark .footer-shell a,
body.theme-dark .site-footer p {
  color: #d9f5ff;
}

body.theme-dark .footer-shell strong {
  color: #ffffff;
}

.footer-shell {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  gap: 30px;
  padding: 42px 0;
}

.footer-logo {
  width: 86px;
  margin-bottom: 10px;
}

.footer-shell > div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-shell a {
  color: var(--muted);
  font-weight: 800;
}

.footer-shell a:hover {
  color: var(--green-dark);
}

.footer-bottom {
  width: var(--container);
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(7, 54, 109, 0.1);
  color: var(--muted);
  font-weight: 700;
}

body.theme-dark .footer-bottom {
  border-top-color: rgba(119, 255, 122, 0.22);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  color: var(--blue-ink);
  background: var(--green);
  box-shadow: var(--shadow);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(.2,.9,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 13px rgba(32, 242, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(32, 242, 138, 0); }
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

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

@keyframes driftPixels {
  to { background-position: 130px 130px; }
}

@media (max-width: 1120px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto auto auto;
  }

  .nav-toggle {
    display: block;
    order: 5;
  }

  .nav-status {
    order: 3;
  }

  .theme-toggle {
    order: 4;
  }

  .nav-links {
    position: fixed;
    top: 104px;
    left: 18px;
    right: 18px;
    display: grid;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.theme-dark .nav-links {
    border-color: var(--line);
    background: #000;
  }

  .section-grid,
  .contact-grid,
  .news-layout {
    grid-template-columns: 1fr;
  }

  .quick-grid,
  .status-dashboard,
  .team-grid,
  .mode-grid,
  .vote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 26px, 1180px);
  }

  .site-header {
    top: 8px;
    margin-top: 8px;
  }

  .nav-shell {
    min-height: 68px;
    gap: 10px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
  }

  .nav-status [data-live-status-pill] {
    display: none;
  }

  .theme-toggle {
    min-width: 60px;
    padding: 0 10px;
  }

  .nav-status {
    min-width: auto;
    padding: 0 11px;
  }

  .page-shell {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 5.2rem);
  }

  .section-grid {
    min-height: auto;
  }

  .ip-card,
  .status-overview,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

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

  .live-console {
    min-height: auto;
  }

  .orbital-status {
    width: 240px;
    height: 240px;
  }

  .orbital-status span {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .live-metrics,
  .quick-grid,
  .status-dashboard,
  .team-grid,
  .mode-grid,
  .vote-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .category-card,
  .wide-card,
  .truth-card,
  .empty-panel,
  .locked-stat,
  .vote-card,
  .discord-panel,
  .contact-form,
  .staff-card,
  .mode-card {
    padding: 22px;
  }

  .mode-art {
    margin: -22px -22px 22px;
  }
}

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