:root {
  --bg: #060807;
  --bg-2: #0d1110;
  --panel: rgba(14, 18, 17, 0.82);
  --panel-strong: rgba(10, 13, 12, 0.94);
  --line: rgba(137, 183, 114, 0.28);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #f5f8ff;
  --muted: #a8b3aa;
  --blue: #3479ff;
  --cyan: #68d5ff;
  --red: #ff4b57;
  --green: #9bd26d;
  --amber: #f3b45f;
  --steel: #b9c9d8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes pageIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translate3d(var(--hero-x, 0px), calc(-48% + var(--hero-y, 0px)), 0) scale(1);
  }

  50% {
    transform: translate3d(calc(var(--hero-x, 0px) - 10px), calc(-51% + var(--hero-y, 0px)), 0) scale(1.035);
  }
}

@keyframes avatarPulse {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(155, 210, 109, 0.28), 0 0 42px rgba(52, 121, 255, 0.16);
  }

  50% {
    box-shadow: 0 0 36px rgba(155, 210, 109, 0.46), 0 0 58px rgba(104, 213, 255, 0.18);
  }
}

@keyframes mapDrift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }

  100% {
    background-position: 80px -48px, -72px 52px, 0 0, 0 0;
  }
}

@keyframes contourBreath {
  0%,
  100% {
    opacity: 0.64;
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    opacity: 0.82;
    transform: translate3d(-18px, 12px, 0) scale(1.025);
  }
}

@keyframes fieldSweep {
  from {
    transform: translate3d(-40%, -16%, 0) rotate(-12deg);
  }

  to {
    transform: translate3d(40%, 16%, 0) rotate(-12deg);
  }
}

@keyframes cardSettle {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.98);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes panelDrift {
  0% {
    transform: translate3d(0, 0, 0) rotate(18deg);
  }

  100% {
    transform: translate3d(-28px, 28px, 0) rotate(18deg);
  }
}

@keyframes scanSweep {
  from {
    transform: translateX(-120%) skewX(-18deg);
  }

  to {
    transform: translateX(320%) skewX(-18deg);
  }
}

@keyframes rippleOut {
  from {
    opacity: 0.36;
    transform: scale(0);
  }

  to {
    opacity: 0;
    transform: scale(3.2);
  }
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  animation: pageIn 0.45s ease both;
  background:
    radial-gradient(ellipse at 14% 16%, rgba(155, 210, 109, 0.16), transparent 34%),
    radial-gradient(ellipse at 78% 28%, rgba(243, 180, 95, 0.1), transparent 32%),
    linear-gradient(145deg, #050706 0%, #0c1110 45%, #07090b 100%);
  background-attachment: fixed;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(ellipse at 18% 22%, transparent 0 46px, rgba(155, 210, 109, 0.09) 47px 48px, transparent 49px 86px),
    radial-gradient(ellipse at 76% 64%, transparent 0 54px, rgba(104, 213, 255, 0.07) 55px 56px, transparent 57px 100px),
    repeating-linear-gradient(124deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 28px),
    linear-gradient(110deg, rgba(155, 210, 109, 0.1), transparent 36%, rgba(52, 121, 255, 0.08) 62%, transparent 86%);
  background-size: 260px 180px, 310px 230px, 100% 100%, auto;
  animation: mapDrift 28s linear infinite;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(102deg, transparent 0%, rgba(155, 210, 109, 0.08) 46%, rgba(104, 213, 255, 0.11) 50%, transparent 56%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 7px);
  opacity: 0.58;
  animation: fieldSweep 18s cubic-bezier(0.45, 0, 0.2, 1) infinite alternate;
}

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

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

button {
  color: inherit;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  border-bottom: 1px solid transparent;
  background: rgba(5, 7, 8, 0.72);
  backdrop-filter: blur(20px) saturate(1.1);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--green), var(--amber), var(--cyan));
  opacity: 0.82;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  transition: transform 0.12s linear;
}

.site-header[data-elevated="true"] {
  border-bottom-color: var(--line);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 185px;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(155, 210, 109, 0.72);
  object-fit: cover;
  box-shadow: 0 0 24px rgba(155, 210, 109, 0.28);
  animation: avatarPulse 4.2s ease-in-out infinite;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #d8e5f6;
  font-size: 14px;
}

.site-nav a,
.nav-admin-button {
  position: relative;
  min-height: 38px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  transition: color 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, background 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover,
.site-nav a.active,
.nav-admin-button:hover {
  border-color: rgba(155, 210, 109, 0.34);
  color: var(--green);
  background: rgba(155, 210, 109, 0.1);
  transform: translateY(-1px);
}

.site-nav a::after,
.nav-admin-button::after {
  position: absolute;
  right: 10px;
  bottom: 5px;
  left: 10px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--green), var(--amber));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after,
.nav-admin-button:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.menu-button {
  position: relative;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(10, 13, 12, 0.86);
  transition: border-color 0.26s ease, background 0.26s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.icon-button:hover,
.menu-button:hover {
  border-color: rgba(155, 210, 109, 0.72);
  background: rgba(155, 210, 109, 0.12);
  transform: translateY(-1px);
}

.icon-button {
  width: 40px;
  height: 40px;
  color: var(--green);
  font-weight: 900;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  gap: 4px;
  padding: 10px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 72px;
  right: 16px;
  z-index: 25;
  display: block;
  width: min(280px, calc(100% - 32px));
  border: 1px solid var(--line);
  background: rgba(7, 10, 9, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px) scale(0.96);
  transform-origin: top right;
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mobile-menu a,
.mobile-admin-button {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  color: #d8e5f6;
  text-align: left;
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}

.mobile-menu a:hover,
.mobile-admin-button:hover {
  padding-left: 22px;
  color: var(--green);
  background: rgba(155, 210, 109, 0.1);
}

.mobile-menu a:last-child,
.mobile-admin-button:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  min-height: min(660px, calc(100svh - 92px));
  overflow: hidden;
  border-bottom: 1px solid rgba(137, 183, 114, 0.24);
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero::before {
  z-index: 0;
  background:
    radial-gradient(ellipse at 82% 48%, rgba(52, 121, 255, 0.14), transparent 28%),
    repeating-radial-gradient(ellipse at 20% 74%, transparent 0 28px, rgba(155, 210, 109, 0.075) 29px 30px, transparent 31px 60px),
    linear-gradient(135deg, transparent 0 34%, rgba(243, 180, 95, 0.08) 34% 35%, transparent 35% 100%);
  opacity: 0.9;
  animation: contourBreath 12s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero::after {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.96) 0%, rgba(5, 7, 6, 0.8) 48%, rgba(5, 7, 6, 0.2) 100%),
    linear-gradient(0deg, rgba(5, 7, 6, 0.95), transparent 36%);
}

.hero-art {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: max(20px, calc((100% - 1180px) / 2));
  width: 520px;
  height: 520px;
  transform: translateY(-48%);
  object-fit: cover;
  opacity: 0.36;
  filter: saturate(1.05) contrast(1.04) drop-shadow(0 30px 90px rgba(0, 0, 0, 0.5));
  mask-image: radial-gradient(circle at 55% 50%, #000 0 44%, transparent 72%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  animation: heroFloat 10s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(102deg, transparent 0%, rgba(155, 210, 109, 0.1) 48%, transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(255, 255, 255, 0.025) 73px 74px);
  opacity: 0.56;
  animation: fieldSweep 16s cubic-bezier(0.45, 0, 0.2, 1) infinite alternate;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0 64px;
}

.eyebrow,
.section-head p,
.panel-label {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  animation: riseIn 0.9s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: #d4dfed;
  font-size: 20px;
  line-height: 1.8;
  animation: riseIn 0.9s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-actions,
.join-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  animation: riseIn 0.9s 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.primary-button,
.secondary-button,
.join-links button,
.join-links a {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  transition: border-color 0.28s ease, background 0.28s ease, color 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.primary-button {
  border-color: rgba(155, 210, 109, 0.85);
  color: #081008;
  background: linear-gradient(135deg, #b8ea7d, #f3b45f);
}

.primary-button:hover {
  background: linear-gradient(135deg, #c9f690, #ffc979);
  box-shadow: 0 18px 42px rgba(155, 210, 109, 0.16);
  transform: translate3d(0, -3px, 0);
}

.secondary-button,
.join-links button,
.join-links a {
  border-color: var(--line);
  color: #d8e5f6;
  background: rgba(10, 13, 12, 0.76);
}

.secondary-button:hover,
.join-links button:hover,
.join-links a:hover {
  color: var(--green);
  border-color: rgba(155, 210, 109, 0.7);
  transform: translate3d(0, -3px, 0);
}

.primary-button:active,
.secondary-button:active,
.join-links button:active,
.join-links a:active,
.icon-button:active,
.menu-button:active {
  transform: translateY(0) scale(0.98);
}

.ripple {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  pointer-events: none;
  background: rgba(243, 180, 95, 0.55);
  animation: rippleOut 0.58s ease-out forwards;
}

.ops-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(1180px, calc(100% - 32px));
  margin: -18px auto 0;
  border: 0;
  background: transparent;
}

.ops-strip div {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(137, 183, 114, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(155, 210, 109, 0.1), transparent 44%),
    rgba(9, 12, 11, 0.84);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
  transition: border-color 0.32s ease, background 0.32s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
}

.ops-strip div::after {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 46px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--amber));
  opacity: 0.45;
  transform: scaleX(0.55);
  transform-origin: right;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.ops-strip div:hover {
  border-color: rgba(155, 210, 109, 0.55);
  background:
    linear-gradient(145deg, rgba(155, 210, 109, 0.14), transparent 44%),
    rgba(11, 15, 14, 0.92);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.44);
  transform: translate3d(0, -5px, 0);
}

.ops-strip div:hover::after {
  opacity: 0.95;
  transform: scaleX(1);
}

.ops-strip span,
.event-card time,
.sponsor-wall small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.ops-strip strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.35;
}

.ops-strip a {
  color: inherit;
  transition: color 0.2s ease;
}

.ops-strip a:hover {
  color: var(--green);
}

.green {
  color: var(--green) !important;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-head h2,
.section-copy h2,
.join-copy h2 {
  margin: 8px 0 0;
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: 0;
}

.feature-grid,
.squad-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.squad-grid article,
.event-card,
.sponsor-wall article,
.join-form,
.server-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(137, 183, 114, 0.23);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(155, 210, 109, 0.08), transparent 38%),
    rgba(10, 13, 12, 0.82);
  box-shadow: var(--shadow);
  transition: border-color 0.34s ease, box-shadow 0.34s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), background 0.34s ease;
}

.feature-grid article::after,
.squad-grid article::after,
.event-card::after,
.sponsor-wall article::after {
  position: absolute;
  inset: auto 18px 14px auto;
  width: 42px;
  height: 1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(243, 180, 95, 0.78));
  opacity: 0;
  transform: translateX(-8px) scaleX(0.5);
  transform-origin: right;
  transition: opacity 0.34s ease, transform 0.34s ease;
}

.feature-grid article:hover,
.squad-grid article:hover,
.event-card:hover,
.sponsor-wall article:hover,
.join-form:hover,
.server-console:hover {
  border-color: rgba(155, 210, 109, 0.52);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.54), 0 0 36px rgba(155, 210, 109, 0.08);
  transform: translate3d(0, -6px, 0);
}

.feature-grid article:hover::after,
.squad-grid article:hover::after,
.event-card:hover::after,
.sponsor-wall article:hover::after {
  opacity: 1;
  transform: translateX(0) scaleX(1);
}

.feature-grid article {
  min-height: 230px;
  padding: 22px;
}

.index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 32px;
  border: 1px solid rgba(155, 210, 109, 0.46);
  color: var(--green);
  background: rgba(155, 210, 109, 0.1);
  font-weight: 900;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-grid article:hover .index {
  border-color: var(--green);
  background: rgba(155, 210, 109, 0.16);
  transform: translateX(4px);
}

.feature-grid h3,
.squad-grid h3,
.event-card h3 {
  margin: 22px 0 10px;
  font-size: 21px;
  letter-spacing: 0;
}

.feature-grid p,
.squad-grid p,
.event-card p,
.section-copy p,
.join-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.split-section,
.sponsor-section,
.join-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}

.server-console {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 18px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(155, 210, 109, 0.14), transparent 38%),
    linear-gradient(315deg, rgba(243, 180, 95, 0.1), transparent 36%),
    var(--panel-strong);
}

.server-console::before {
  position: absolute;
  right: -78px;
  bottom: 34px;
  width: 260px;
  height: 260px;
  transform: rotate(18deg);
  pointer-events: none;
  content: "";
  border: 1px solid rgba(155, 210, 109, 0.2);
  background: repeating-linear-gradient(
    -45deg,
    rgba(155, 210, 109, 0.12) 0,
    rgba(155, 210, 109, 0.12) 1px,
    transparent 1px,
    transparent 14px
  );
  opacity: 0.34;
  animation: panelDrift 9s linear infinite alternate;
}

.server-console > * {
  position: relative;
  z-index: 1;
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.console-top span {
  color: rgba(216, 229, 246, 0.62);
  font-size: 12px;
  font-weight: 900;
}

.rotation-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 142px;
  align-items: end;
  gap: 18px;
  min-height: 132px;
  padding: 22px;
  border-left: 4px solid var(--green);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  background:
    linear-gradient(90deg, rgba(155, 210, 109, 0.18), rgba(10, 13, 12, 0.82)),
    rgba(6, 9, 8, 0.82);
}

.rotation-card::after {
  position: absolute;
  top: -20%;
  bottom: -20%;
  width: 70px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(243, 180, 95, 0.2), transparent);
  animation: scanSweep 5.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.rotation-card span {
  color: var(--muted);
  font-size: 13px;
}

.rotation-card strong {
  display: block;
  margin-top: 10px;
  max-width: 360px;
  font-size: 34px;
  line-height: 1.05;
  text-wrap: balance;
}

.rotation-card p {
  margin: 0;
  align-self: center;
  padding: 14px;
  border: 1px solid rgba(155, 210, 109, 0.42);
  border-radius: 6px;
  color: var(--green);
  background: rgba(6, 9, 8, 0.5);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
  text-align: right;
}

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

.server-metrics div {
  min-height: 86px;
  padding: 14px;
  border-top: 1px solid rgba(155, 210, 109, 0.28);
  border-bottom: 1px solid rgba(243, 180, 95, 0.26);
  background: rgba(6, 9, 8, 0.64);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.server-metrics div:hover {
  border-top-color: rgba(155, 210, 109, 0.72);
  border-bottom-color: rgba(243, 180, 95, 0.56);
  background: rgba(13, 18, 14, 0.82);
  transform: translate3d(0, -4px, 0);
}

.server-metrics b {
  display: block;
  color: var(--amber);
  font-size: 30px;
  line-height: 1;
}

.server-metrics span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.rotation-list {
  display: grid;
  gap: 10px;
}

.rotation-list article {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 4px 14px;
  padding: 13px 14px;
  border: 1px solid rgba(137, 183, 114, 0.18);
  border-radius: 6px;
  background: rgba(6, 9, 8, 0.58);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.rotation-list article:hover {
  border-color: rgba(155, 210, 109, 0.46);
  background: rgba(13, 18, 14, 0.82);
  transform: translate3d(6px, 0, 0);
}

.rotation-list span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.rotation-list strong {
  line-height: 1.35;
}

.rotation-list small {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.5;
}

.section-copy {
  max-width: 560px;
}

.section-copy p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 17px;
}

.copy-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.copy-stats span {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(137, 183, 114, 0.24);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(10, 13, 12, 0.7);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.copy-stats span:hover {
  border-color: rgba(155, 210, 109, 0.58);
  background: rgba(13, 18, 14, 0.84);
  transform: translate3d(0, -4px, 0);
}

.copy-stats strong {
  display: block;
  color: var(--amber);
  font-size: 30px;
}

.event-list {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

.event-card {
  min-height: 250px;
  padding: 22px;
}

.event-card.pinned {
  border-color: rgba(243, 180, 95, 0.62);
  background:
    linear-gradient(135deg, rgba(243, 180, 95, 0.16), transparent 42%),
    var(--panel);
}

.event-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.event-card span,
.squad-grid span,
.sponsor-wall span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.squad-grid article {
  min-height: 270px;
  padding: 22px;
}

.squad-grid strong {
  display: inline-block;
  min-width: 74px;
  padding: 6px 10px;
  border: 1px solid rgba(243, 180, 95, 0.5);
  color: #ffe0b5;
  background: rgba(243, 180, 95, 0.12);
}

.squad-grid span {
  display: inline-block;
  margin-top: 24px;
}

.sponsor-section {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.sponsor-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sponsor-wall article {
  min-height: 190px;
  padding: 22px;
}

.sponsor-wall strong {
  display: block;
  margin: 34px 0 8px;
  font-size: 24px;
}

.join-section {
  align-items: stretch;
  padding-bottom: 88px;
}

.join-copy {
  padding: 34px 0;
}

.join-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.join-form label {
  display: grid;
  gap: 8px;
  color: #d8e5f6;
  font-size: 14px;
  font-weight: 800;
}

.join-form input,
.join-form select,
.join-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(6, 9, 8, 0.7);
  outline: none;
  transition: border-color 0.26s ease, box-shadow 0.26s ease, background 0.26s ease;
}

.join-form textarea {
  resize: vertical;
}

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
  border-color: var(--green);
  background: rgba(13, 18, 14, 0.86);
  box-shadow: 0 0 0 3px rgba(155, 210, 109, 0.12);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.985);
  filter: blur(8px);
  transition: opacity 0.86s cubic-bezier(0.22, 1, 0.36, 1), transform 0.86s cubic-bezier(0.22, 1, 0.36, 1), filter 0.86s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  min-height: 92px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--text);
}

.site-footer p {
  margin: 0;
  text-align: right;
}

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

  .menu-button {
    display: inline-grid;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-art {
    right: -110px;
    width: 430px;
    height: 430px;
  }

  .ops-strip,
  .feature-grid,
  .squad-grid,
  .event-list,
  .split-section,
  .sponsor-section,
  .join-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-card.pinned,
  .server-console,
  .section-copy,
  .join-copy {
    grid-column: 1 / -1;
  }

  .sponsor-wall {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 56px 0 46px;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 36px;
    line-height: 1.12;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-art {
    top: auto;
    right: -95px;
    bottom: -80px;
    width: 340px;
    height: 340px;
    transform: none;
    opacity: 0.26;
    animation: none;
  }

  .hero-overlay {
    background: rgba(5, 7, 6, 0.82);
  }

  .ops-strip,
  .feature-grid,
  .squad-grid,
  .event-list,
  .split-section,
  .sponsor-section,
  .sponsor-wall,
  .join-section,
  .copy-stats,
  .server-metrics {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .section-head h2,
  .section-copy h2,
  .join-copy h2 {
    font-size: 30px;
  }

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

  .rotation-card {
    display: block;
  }

  .rotation-card p {
    max-width: none;
    margin-top: 16px;
    text-align: left;
  }

  .rotation-list article {
    grid-template-columns: 68px 1fr;
  }

  .site-footer {
    display: block;
    padding: 22px 0;
  }

  .site-footer p {
    margin-top: 12px;
    text-align: left;
  }
}

.admin-page {
  min-height: 100vh;
  padding: 0 0 56px;
}

.admin-header,
.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 22px;
}

.admin-header h1 {
  margin: 6px 0 0;
  font-size: 38px;
  line-height: 1.1;
}

.admin-shell {
  display: grid;
  gap: 18px;
}

.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.admin-panel-title,
.admin-item-top,
.admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-panel-title {
  margin-bottom: 18px;
}

.admin-panel-title h2 {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 1.2;
}

.admin-status {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(8, 13, 20, 0.8);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-status[data-state="ok"] {
  border-color: rgba(50, 224, 146, 0.5);
  color: var(--green);
}

.admin-status[data-state="busy"] {
  border-color: rgba(155, 210, 109, 0.56);
  color: var(--green);
}

.admin-status[data-state="error"] {
  border-color: rgba(243, 180, 95, 0.56);
  color: var(--amber);
}

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

.admin-grid label,
.admin-check {
  display: grid;
  gap: 8px;
  color: #d8e5f6;
  font-size: 13px;
  font-weight: 800;
}

.admin-check {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
}

.admin-grid input,
.admin-grid textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(69, 126, 198, 0.44);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(3, 8, 14, 0.78);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-grid textarea {
  resize: vertical;
  line-height: 1.65;
}

.admin-grid input:focus,
.admin-grid textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(155, 210, 109, 0.12);
}

.admin-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 18px;
}

.compact-button {
  min-height: 38px;
  padding-inline: 12px;
  font-size: 13px;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-item {
  border: 1px solid rgba(69, 126, 198, 0.28);
  border-radius: 8px;
  padding: 16px;
  background: rgba(3, 8, 14, 0.42);
}

.admin-item-top {
  margin-bottom: 14px;
}

.admin-item-top strong {
  font-size: 16px;
}

@media (max-width: 720px) {
  .admin-header,
  .admin-panel-title,
  .admin-item-top {
    align-items: flex-start;
  }

  .admin-header,
  .admin-panel-title {
    flex-direction: column;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-status {
    white-space: normal;
  }
}

/* Classic blue theme override */
:root {
  --bg: #05070a;
  --bg-2: #0b0f16;
  --panel: rgba(13, 18, 26, 0.84);
  --panel-strong: rgba(10, 15, 22, 0.96);
  --line: rgba(69, 126, 198, 0.34);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #f5f8ff;
  --muted: #9cadbf;
  --blue: #1d78ff;
  --cyan: #4dd9ff;
  --red: #ff304a;
  --green: #32e092;
  --amber: #ffce66;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.44);
}

body {
  background:
    linear-gradient(rgba(30, 120, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 217, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #030407 0%, #08111d 44%, #09080b 100%);
  background-size: 54px 54px, 54px 54px, auto;
  background-attachment: fixed;
}

body::before {
  background:
    linear-gradient(115deg, rgba(29, 120, 255, 0.18), transparent 42%),
    linear-gradient(280deg, rgba(255, 48, 74, 0.12), transparent 38%);
  animation: none;
}

body::after {
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.028) 0,
    rgba(255, 255, 255, 0.028) 1px,
    transparent 1px,
    transparent 5px
  );
  opacity: 0.42;
  animation: none;
}

.site-header {
  background: rgba(5, 7, 10, 0.74);
  backdrop-filter: blur(18px);
}

.site-header::after {
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--red));
}

.brand img {
  border-color: var(--blue);
  box-shadow: 0 0 28px rgba(29, 120, 255, 0.4);
}

.site-nav a:hover,
.site-nav a.active,
.nav-admin-button:hover,
.mobile-menu a:hover,
.mobile-admin-button:hover {
  border-color: rgba(77, 217, 255, 0.36);
  color: var(--cyan);
  background: rgba(29, 120, 255, 0.12);
}

.site-nav a::after,
.nav-admin-button::after {
  background: var(--cyan);
}

.icon-button,
.menu-button,
.secondary-button,
.join-links button,
.join-links a {
  background: rgba(8, 13, 20, 0.86);
}

.icon-button,
.eyebrow,
.section-head p,
.panel-label,
.event-card span,
.squad-grid span,
.sponsor-wall span,
.rotation-list span {
  color: var(--cyan);
}

.icon-button:hover,
.menu-button:hover {
  border-color: rgba(77, 217, 255, 0.72);
  background: rgba(29, 120, 255, 0.18);
}

.primary-button {
  border-color: #77dfff;
  color: #031019;
  background: var(--cyan);
}

.primary-button:hover {
  background: #86e8ff;
  box-shadow: 0 0 26px rgba(77, 217, 255, 0.22);
}

.secondary-button:hover,
.join-links button:hover,
.join-links a:hover {
  color: var(--cyan);
  border-color: rgba(77, 217, 255, 0.7);
}

.hero::before {
  background:
    radial-gradient(ellipse at 74% 42%, rgba(29, 120, 255, 0.2), transparent 30%),
    radial-gradient(ellipse at 18% 74%, rgba(255, 48, 74, 0.08), transparent 34%);
  animation: contourBreath 13s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.96) 0%, rgba(5, 7, 10, 0.84) 48%, rgba(5, 7, 10, 0.28) 100%),
    linear-gradient(0deg, rgba(5, 7, 10, 0.94), transparent 35%);
}

.hero-overlay {
  background:
    linear-gradient(102deg, transparent 0%, rgba(77, 217, 255, 0.08) 48%, transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(255, 255, 255, 0.025) 73px 74px);
}

.hero-art {
  opacity: 0.42;
  filter: saturate(1.16) contrast(1.08) drop-shadow(0 30px 90px rgba(0, 0, 0, 0.5));
}

.ops-strip {
  gap: 1px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--line);
}

.ops-strip div {
  border: 0;
  border-radius: 0;
  background: rgba(8, 13, 20, 0.92);
}

.ops-strip div:hover {
  background: rgba(14, 28, 45, 0.96);
}

.feature-grid article,
.squad-grid article,
.event-card,
.sponsor-wall article,
.join-form,
.server-console,
.about-grid article,
.admin-panel,
.admin-item {
  border-color: var(--line);
  background:
    linear-gradient(145deg, rgba(29, 120, 255, 0.08), transparent 38%),
    var(--panel);
}

.feature-grid article::after,
.squad-grid article::after,
.event-card::after,
.sponsor-wall article::after {
  background: linear-gradient(90deg, transparent, rgba(77, 217, 255, 0.78));
}

.feature-grid article:hover,
.squad-grid article:hover,
.event-card:hover,
.sponsor-wall article:hover,
.join-form:hover,
.server-console:hover,
.about-grid article:hover {
  border-color: rgba(77, 217, 255, 0.58);
  box-shadow: 0 26px 82px rgba(0, 0, 0, 0.5), 0 0 34px rgba(29, 120, 255, 0.12);
}

.index,
.about-grid span {
  border-color: rgba(77, 217, 255, 0.44);
  color: var(--cyan);
  background: rgba(29, 120, 255, 0.14);
}

.server-console {
  background:
    linear-gradient(135deg, rgba(77, 217, 255, 0.14), transparent 38%),
    linear-gradient(315deg, rgba(255, 48, 74, 0.1), transparent 36%),
    var(--panel-strong);
}

.server-console::before {
  border-color: rgba(77, 217, 255, 0.22);
  background: repeating-linear-gradient(
    -45deg,
    rgba(77, 217, 255, 0.16) 0,
    rgba(77, 217, 255, 0.16) 1px,
    transparent 1px,
    transparent 14px
  );
}

.rotation-card {
  border-left-color: var(--cyan);
  background:
    linear-gradient(90deg, rgba(29, 120, 255, 0.28), rgba(8, 13, 20, 0.82)),
    rgba(3, 8, 14, 0.82);
}

.rotation-card p {
  border-color: rgba(77, 217, 255, 0.42);
  color: var(--cyan);
  background: rgba(3, 8, 14, 0.46);
}

.server-metrics b,
.copy-stats strong {
  color: var(--red);
}

.event-card.pinned {
  border-color: rgba(255, 48, 74, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 48, 74, 0.16), transparent 42%),
    var(--panel);
}

.squad-grid strong {
  border-color: rgba(255, 48, 74, 0.5);
  color: #ffc4cb;
  background: rgba(255, 48, 74, 0.12);
}

.join-form input,
.join-form select,
.join-form textarea,
.admin-grid input,
.admin-grid textarea {
  background: rgba(3, 8, 14, 0.7);
}

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus,
.admin-grid input:focus,
.admin-grid textarea:focus {
  border-color: var(--cyan);
  background: rgba(6, 14, 24, 0.86);
  box-shadow: 0 0 0 3px rgba(77, 217, 255, 0.12);
}

.site-footer a:hover {
  color: var(--cyan);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 210px;
  padding: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: border-color 0.34s ease, box-shadow 0.34s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), background 0.34s ease;
}

.about-grid .about-lead {
  grid-row: span 1;
}

.about-grid h3,
.about-grid strong {
  display: block;
  margin: 16px 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

.about-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.about-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 32px;
  border: 1px solid rgba(77, 217, 255, 0.44);
  font-weight: 900;
}

.admin-login {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  width: min(560px, calc(100% - 32px));
  margin: 0 auto;
}

.admin-login-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  margin: 8px 0 12px;
  font-size: 34px;
}

.admin-login-card p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.hidden {
  display: none !important;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-tab {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: rgba(8, 13, 20, 0.84);
}

.admin-tab.active {
  border-color: rgba(77, 217, 255, 0.7);
  color: var(--cyan);
  background: rgba(29, 120, 255, 0.16);
}

.application-list {
  display: grid;
  gap: 12px;
}

.application-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(3, 8, 14, 0.58);
}

.application-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.application-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.application-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.application-meta span {
  border: 1px solid rgba(77, 217, 255, 0.28);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.site-footer button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
}

.site-footer button:hover {
  color: var(--cyan);
}

.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow-y: auto;
  padding: 26px 16px;
  background:
    linear-gradient(rgba(30, 120, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 217, 255, 0.06) 1px, transparent 1px),
    rgba(3, 6, 10, 0.92);
  background-size: 54px 54px, 54px 54px, auto;
  backdrop-filter: blur(18px);
}

body.admin-open {
  overflow: hidden;
}

.admin-dock {
  position: relative;
  width: min(1180px, 100%);
  min-height: calc(100svh - 52px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 7, 10, 0.94);
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.7);
}

.admin-close {
  position: sticky;
  top: 14px;
  z-index: 3;
  float: right;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(8, 13, 20, 0.9);
}

.admin-close:hover {
  border-color: rgba(77, 217, 255, 0.7);
  background: rgba(29, 120, 255, 0.16);
}

.admin-overlay .admin-login {
  min-height: calc(100svh - 80px);
}

.admin-overlay .admin-header,
.admin-overlay .admin-shell {
  width: min(1080px, calc(100% - 32px));
}

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
