:root {
  --cyan: #0a9db6;
  --glass: #41b6f4;
  --text: #ffffff;
  --header-offset: 76px;
}

html,
body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(123, 213, 161, 0.18) 0%, rgba(123, 213, 161, 0) 28%),
    radial-gradient(circle at 82% 14%, rgba(125, 191, 235, 0.18) 0%, rgba(125, 191, 235, 0) 24%),
    linear-gradient(180deg, #081116 0%, #10231d 32%, #183125 62%, #22372a 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

body:not(.info-page-body):not(.rules-page-body)::before,
body:not(.info-page-body):not(.rules-page-body)::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body:not(.info-page-body):not(.rules-page-body)::before {
  z-index: -2;
  opacity: 0.55;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 120%, rgba(255, 211, 122, 0.15) 0%, rgba(255, 211, 122, 0) 32%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  background-position: 0 0, 0 0, center;
  animation: blockGridFloat 18s linear infinite;
}

body:not(.info-page-body):not(.rules-page-body)::after {
  z-index: -1;
  opacity: 0.72;
  background:
    radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.14) 0 2px, transparent 2.5px),
    radial-gradient(circle at 72% 18%, rgba(154, 230, 180, 0.16) 0 2px, transparent 2.5px),
    radial-gradient(circle at 32% 72%, rgba(121, 188, 228, 0.14) 0 2px, transparent 2.5px),
    radial-gradient(circle at 82% 68%, rgba(255, 216, 129, 0.14) 0 2px, transparent 2.5px),
    radial-gradient(circle at 58% 44%, rgba(255, 255, 255, 0.1) 0 1.5px, transparent 2px);
  background-size: 280px 280px, 360px 360px, 320px 320px, 420px 420px, 260px 260px;
  animation: ambientParticles 26s ease-in-out infinite alternate;
}

@keyframes fadeInUpSoft {
  from {
    opacity: 0;
    transform: none;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInRightSoft {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroImageReveal {
  from {
    opacity: 0;
    transform: none;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes blockGridFloat {
  from {
    background-position: 0 0, 0 0, center;
  }
  to {
    background-position: 44px 22px, -44px 44px, center;
  }
}

@keyframes ambientParticles {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    filter: saturate(100%);
  }
  to {
    transform: translate3d(0, -14px, 0) scale(1.02);
    filter: saturate(118%);
  }
}

.top-strip {
  height: 66px;
  padding: 8px 16px;
  margin: 10px 12px 0;
  border-radius: 16px;
  border: 1px solid rgba(220, 244, 255, 0.45);
  background: linear-gradient(160deg, rgba(97, 195, 250, 0.5) 0%, rgba(64, 154, 219, 0.34) 52%, rgba(31, 123, 191, 0.28) 100%);
  border-bottom: 1px solid rgba(220, 244, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -8px 16px rgba(0, 61, 109, 0.16),
    0 8px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px) saturate(140%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 30;
  animation: fadeInUpSoft 0.55s ease-out both;
}

.header-left,
.header-right {
  width: 250px;
  display: flex;
  align-items: center;
}

.header-left {
  gap: 8px;
}

.header-right {
  gap: 8px;
  justify-content: flex-end;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.header-nav-btn {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(227, 246, 255, 0.62);
  background: rgba(255, 255, 255, 0.09);
  color: #eef9ff;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.header-nav-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.header-nav-btn--disabled {
  color: rgba(220, 236, 244, 0.5);
  border-color: rgba(227, 246, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  cursor: not-allowed;
  pointer-events: none;
  filter: saturate(70%);
}

.header-home-btn {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(233, 248, 255, 0.76);
  background: linear-gradient(160deg, rgba(128, 214, 255, 0.72) 0%, rgba(84, 173, 231, 0.58) 52%, rgba(44, 131, 198, 0.48) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -6px 12px rgba(0, 61, 109, 0.2),
    0 6px 16px rgba(0, 0, 0, 0.2);
  color: #f6fcff;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.header-home-btn:hover {
  filter: brightness(1.08);
}

.logo-placeholder {
  width: 44px;
  height: 44px;
  margin-left: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.hero {
  min-height: calc(100vh - var(--header-offset));
  display: flex;
  flex: 1;
}

.page-blank {
  min-height: calc(100vh - var(--header-offset));
  flex: 1;
}

.info-page {
  min-height: calc(100vh - var(--header-offset));
  padding: 16px 12px 20px;
}

.info-page-body {
  position: relative;
  isolation: isolate;
}

.info-page-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0.55) 0%, rgba(12, 16, 22, 0.5) 100%),
    var(--info-bg-image) center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.02);
  z-index: -2;
}

.rules-page-body {
  position: relative;
  isolation: isolate;
}

.rules-page-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0.6) 0%, rgba(11, 14, 20, 0.56) 100%),
    var(--rules-bg-image) center/cover no-repeat;
  filter: blur(2.5px);
  transform: scale(1.015);
  z-index: -2;
}

@keyframes pageCardsReveal {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: scale(0.992);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

.info-page .info-card,
.rules-page .rules-card {
  opacity: 0;
  animation: pageCardsReveal 0.55s ease both;
}

.info-page .info-card:nth-child(1),
.rules-page .rules-card:nth-child(1) { animation-delay: 0.05s; }
.info-page .info-card:nth-child(2),
.rules-page .rules-card:nth-child(2) { animation-delay: 0.1s; }
.info-page .info-card:nth-child(3),
.rules-page .rules-card:nth-child(3) { animation-delay: 0.15s; }
.info-page .info-card:nth-child(4),
.rules-page .rules-card:nth-child(4) { animation-delay: 0.2s; }
.info-page .info-card:nth-child(5),
.rules-page .rules-card:nth-child(5) { animation-delay: 0.25s; }
.info-page .info-card:nth-child(6),
.rules-page .rules-card:nth-child(6) { animation-delay: 0.3s; }
.info-page .info-card:nth-child(7),
.rules-page .rules-card:nth-child(7) { animation-delay: 0.35s; }
.info-page .info-card:nth-child(8),
.rules-page .rules-card:nth-child(8) { animation-delay: 0.4s; }
.info-page .info-card:nth-child(9),
.rules-page .rules-card:nth-child(9) { animation-delay: 0.45s; }
.info-page .info-card:nth-child(10),
.rules-page .rules-card:nth-child(10) { animation-delay: 0.5s; }

.info-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  column-count: 2;
  column-gap: 14px;
}

.info-card {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(184, 214, 230, 0.45);
  background: linear-gradient(160deg, rgba(58, 88, 108, 0.35) 0%, rgba(42, 67, 84, 0.32) 52%, rgba(29, 48, 62, 0.3) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -8px 16px rgba(0, 22, 38, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.2);
  color: rgba(234, 247, 255, 0.93);
  padding: 14px 14px;
}

.info-card h2 {
  margin: 0 0 9px;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  line-height: 1.25;
  color: #d6ecf8;
}

.info-card p {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.5;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.09);
  margin-bottom: 7px;
  font-size: 10px;
}

.info-meta strong {
  color: #ffffff;
  text-align: right;
}

.info-list {
  margin: 0;
  padding-left: 16px;
}

.info-list li {
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1.45;
}

.info-list li:last-child {
  margin-bottom: 0;
}

.info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 7px;
}

.info-pill {
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(210, 236, 248, 0.45);
  background: rgba(255, 255, 255, 0.1);
  font-size: 10px;
  line-height: 1;
}

.info-card--placeholder {
  text-align: center;
}

.info-image-placeholder {
  width: 100%;
  min-height: 110px;
  border-radius: 10px;
  border: 1px dashed rgba(198, 224, 238, 0.5);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: rgba(220, 240, 250, 0.82);
  font-size: 10px;
}

.rules-page {
  min-height: calc(100vh - var(--header-offset));
  padding: 16px 12px 20px;
}

.rules-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  column-count: 2;
  column-gap: 14px;
}

.rules-card {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(184, 214, 230, 0.45);
  background: linear-gradient(160deg, rgba(58, 88, 108, 0.35) 0%, rgba(42, 67, 84, 0.32) 52%, rgba(29, 48, 62, 0.3) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -8px 16px rgba(0, 22, 38, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.2);
  color: rgba(234, 247, 255, 0.93);
  padding: 14px;
}

.rules-card--wide {
  width: 100%;
}

.rules-card h1,
.rules-card h2 {
  margin: 0 0 9px;
  font-family: "Press Start 2P", monospace;
  line-height: 1.3;
  color: #d6ecf8;
  text-shadow: none;
}

.rules-card h1 {
  font-size: 13px;
}

.rules-card h2 {
  font-size: 11px;
}

.rules-intro {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.5;
}

.rules-sub {
  margin: 0 0 7px;
  font-size: 11px;
  line-height: 1.45;
}

.rules-sub strong {
  color: #eef9ff;
}

.rules-list {
  margin: 0;
  padding-left: 16px;
}

.rules-list li {
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1.45;
}

.rules-list li:last-child {
  margin-bottom: 0;
}

.rules-penalty {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(232, 170, 170, 0.42);
  background: rgba(112, 42, 42, 0.22);
  color: #ffdede;
  font-size: 10px;
  line-height: 1.4;
}

.rules-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rules-pill {
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(210, 236, 248, 0.45);
  background: rgba(255, 255, 255, 0.1);
  font-size: 10px;
  line-height: 1;
}

@media (min-width: 1280px) {
  .info-page {
    padding: 22px 18px 28px;
  }

  .info-grid {
    width: min(1400px, 100%);
    column-count: 3;
    column-gap: 18px;
  }

  .info-card {
    margin-bottom: 18px;
    padding: 18px 18px;
    border-radius: 18px;
  }

  .info-card h2 {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .info-card p,
  .info-list li {
    font-size: 12px;
    line-height: 1.55;
  }

  .info-meta {
    padding: 10px 12px;
    font-size: 11px;
  }

  .info-pill {
    padding: 6px 10px;
    font-size: 11px;
  }

  .info-image-placeholder {
    min-height: 150px;
    font-size: 11px;
  }

  .rules-page {
    padding: 22px 18px 28px;
  }

  .rules-grid {
    width: min(1400px, 100%);
    column-count: 3;
    column-gap: 18px;
  }

  .rules-card {
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 18px;
  }

  .rules-card h1 {
    font-size: 15px;
  }

  .rules-card h2 {
    font-size: 12px;
  }

  .rules-intro,
  .rules-sub,
  .rules-list li {
    font-size: 12px;
  }

  .rules-penalty,
  .rules-pill {
    font-size: 11px;
  }
}

.social-button,
.discord-button {
  margin-right: 2px;
  padding: 9px 16px;
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 0 -6px 14px rgba(0, 61, 109, 0.2),
    0 8px 20px rgba(0, 0, 0, 0.2);
  color: #eef9ff;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-button {
  border: 1px solid rgba(227, 246, 255, 0.58);
}

.social-button--tiktok {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 28%),
    linear-gradient(160deg, rgba(24, 24, 24, 0.88) 0%, rgba(10, 10, 12, 0.82) 58%, rgba(0, 0, 0, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -10px 18px rgba(0, 0, 0, 0.42),
    0 10px 22px rgba(0, 0, 0, 0.3);
}

.discord-button {
  border: 1px solid rgba(227, 246, 255, 0.72);
  background: linear-gradient(160deg, rgba(97, 195, 250, 0.58) 0%, rgba(64, 154, 219, 0.42) 52%, rgba(31, 123, 191, 0.34) 100%);
}

.social-icon,
.discord-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.social-button--tiktok .social-icon {
  width: 14px;
  height: 14px;
  overflow: visible;
  transform: translateY(-0.5px);
}

.social-button:hover,
.discord-button:hover {
  filter: brightness(1.08);
}

.social-button:active,
.discord-button:active {
  transform: translateY(1px);
}

.left-panel,
.right-panel {
  flex: 1;
  min-width: 0;
}

.left-panel {
  flex-basis: 47%;
  position: relative;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(12, 16, 23, 0.82) 62%, rgba(0, 0, 0, 0.44) 86%, rgba(0, 0, 0, 0) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.content {
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 68px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

h1,
.subtitle,
.glass-card {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  max-width: 100%;
}

h1 {
  margin: 0 0 0 18px;
  font-size: 44px;
  line-height: 1;
  font-family: "Press Start 2P", monospace;
  opacity: 0;
  animation: fadeInUpSoft 0.6s ease-out 0.14s both;
}

.subtitle {
  margin: 8px 0 16px 18px;
  font-size: 29px;
  font-weight: 700;
  font-family: "Press Start 2P", monospace;
  opacity: 0;
  animation: fadeInUpSoft 0.6s ease-out 0.22s both;
}

.cards-row {
  width: 100%;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUpSoft 0.65s ease-out 0.3s both;
}

.glass-card {
  width: calc(100% - 6px);
  margin-top: 12px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  border: 1px solid rgba(196, 236, 255, 0.62);
  background: linear-gradient(160deg, rgba(97, 195, 250, 0.58) 0%, rgba(64, 154, 219, 0.42) 52%, rgba(31, 123, 191, 0.34) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 0 -8px 18px rgba(0, 61, 109, 0.2),
    0 10px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(7px) saturate(140%);
  text-align: center;
  padding: 12px 14px;
  color: #eaf7ff;
  font-family: "Press Start 2P", monospace;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.glass-card * {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.server-card {
  width: 44%;
  min-width: 220px;
  margin-top: 0;
  align-self: center;
  align-items: stretch;
  gap: 8px;
  text-align: left;
  padding: 14px 16px;
}

.server-card,
.players-card {
  border: 1px solid rgba(184, 214, 230, 0.45);
  background: linear-gradient(160deg, rgba(58, 88, 108, 0.35) 0%, rgba(42, 67, 84, 0.32) 52%, rgba(29, 48, 62, 0.3) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -8px 16px rgba(0, 22, 38, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.2);
  color: rgba(234, 247, 255, 0.93);
}

.glass-card .server-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  color: #d8f0ff;
  letter-spacing: 0.7px;
  opacity: 0.95;
}

.server-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.09);
}

.server-label {
  font-size: 10px;
  color: #d8efff;
  align-self: center;
}

.server-value {
  font-size: 12px;
  color: #ffffff;
  text-align: right;
  flex: 1;
  min-width: 0;
}

.server-value-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.copy-feedback {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  transform: translateY(4px);
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(220, 244, 255, 0.62);
  background: rgba(10, 21, 31, 0.88);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  font-size: 9px;
  line-height: 1;
  color: #d8f5ff;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.copy-feedback::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 100%;
  width: 8px;
  height: 8px;
  background: rgba(10, 21, 31, 0.88);
  border-right: 1px solid rgba(220, 244, 255, 0.62);
  border-bottom: 1px solid rgba(220, 244, 255, 0.62);
  transform: translateY(-4px) rotate(45deg);
}

.copy-feedback.is-visible {
  animation: copyFeedbackFade 1.2s ease forwards;
}

@keyframes copyFeedbackFade {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(6px);
  }
}

.copy-ip-btn {
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 7px;
  border: 1px solid rgba(225, 245, 255, 0.62);
  background: rgba(255, 255, 255, 0.16);
  color: #f4fcff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.copy-ip-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.copy-ip-btn.copied {
  background: rgba(128, 255, 189, 0.34);
  border-color: rgba(176, 255, 216, 0.82);
}

.copy-icon {
  width: 12px;
  height: 12px;
  display: block;
}

.glass-card p,
.glass-card h2 {
  margin: 7px 0;
  font-size: 10px;
  overflow: hidden;
  line-height: 1.4;
}

.players-card {
  width: 44%;
  min-width: 220px;
  padding: 14px 16px;
  min-height: auto;
  margin-top: 0;
  margin-bottom: 0;
  align-self: center;
  align-items: stretch;
  text-align: left;
}

.players-card h2 {
  font-size: 16px;
  margin: 0 0 8px;
  line-height: 1.2;
  color: #d8f0ff;
  letter-spacing: 0.7px;
  opacity: 0.95;
}

.about-card {
  width: calc(100% - 6px);
  margin-top: 30px;
  text-align: left;
  padding: 14px 16px;
  color: rgba(234, 247, 255, 0.92);
  border-color: rgba(184, 214, 230, 0.45);
  background: linear-gradient(160deg, rgba(58, 88, 108, 0.35) 0%, rgba(42, 67, 84, 0.32) 52%, rgba(29, 48, 62, 0.3) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -8px 16px rgba(0, 22, 38, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: fadeInUpSoft 0.65s ease-out 0.4s both;
}

.about-card h3 {
  margin: 2px 0 10px;
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  line-height: 1.2;
  color: #d6ecf8;
}

.about-card p {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(226, 242, 251, 0.92);
}

.about-card p:last-child {
  margin-bottom: 0;
}

.news-card {
  margin-top: 14px;
  animation-delay: 0.5s;
}

.news-placeholder {
  width: 100%;
  min-height: 112px;
  margin-top: 8px;
  border-radius: 10px;
  border: 1px dashed rgba(198, 224, 238, 0.48);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-size: 10px;
  color: rgba(220, 240, 250, 0.82);
}

.home-news-list {
  display: grid;
  gap: 10px;
}

.home-news-item {
  border-radius: 10px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.09);
  padding: 10px;
}

.home-news-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.home-news-head h4 {
  margin: 0;
  font-size: 11px;
  color: #ffffff;
  font-family: "Press Start 2P", monospace;
}

.home-news-head time {
  font-size: 9px;
  opacity: 0.8;
}

.home-news-item p {
  margin: 0;
  font-size: 10px;
}

.content-page {
  min-height: calc(100vh - var(--header-offset));
  padding: 18px 14px 22px;
}

.content-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(184, 214, 230, 0.45);
  background: linear-gradient(160deg, rgba(58, 88, 108, 0.35) 0%, rgba(42, 67, 84, 0.32) 52%, rgba(29, 48, 62, 0.3) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -8px 16px rgba(0, 22, 38, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 16px;
}

.content-head h1 {
  margin: 0;
  font-size: 20px;
}

.content-head p {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(226, 242, 251, 0.92);
}

.empty-state {
  margin-top: 14px;
  border-radius: 10px;
  border: 1px dashed rgba(198, 224, 238, 0.48);
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
  font-size: 11px;
  color: rgba(220, 240, 250, 0.84);
}

.photo-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.photo-card {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.09);
}

.photo-open-btn {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  color: inherit;
}

.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.photo-open-btn:focus-visible {
  outline: 2px solid rgba(202, 239, 255, 0.92);
  outline-offset: -2px;
}

.photo-card-meta {
  padding: 10px;
}

.photo-card-meta p {
  margin: 0 0 6px;
  font-size: 11px;
}

.photo-card-meta time {
  font-size: 10px;
  opacity: 0.82;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.photo-lightbox.is-open {
  display: flex;
}

.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 16, 0.86);
  backdrop-filter: blur(5px);
}

.photo-lightbox-content {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: min(94vw, 1500px);
  max-height: min(90vh, 920px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox-content img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(94vw, 1500px);
  max-height: min(90vh, 920px);
  border-radius: 12px;
  border: 1px solid rgba(213, 238, 250, 0.32);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  background: transparent;
}

.photo-lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(35%, -35%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(227, 246, 255, 0.72);
  background: rgba(0, 0, 0, 0.48);
  color: #ffffff;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.news-list {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.news-item {
  border-radius: 12px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.09);
  padding: 12px;
}

.news-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.news-item-head h2 {
  margin: 0;
  font-size: 12px;
  font-family: "Press Start 2P", monospace;
}

.news-item-head time {
  font-size: 10px;
  opacity: 0.82;
}

.news-item p {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.5;
  font-size: 11px;
}

.admin-wrap {
  min-height: calc(100vh - var(--header-offset));
  padding: 18px 14px 22px;
}

.admin-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(184, 214, 230, 0.45);
  background: linear-gradient(160deg, rgba(37, 54, 71, 0.46) 0%, rgba(28, 42, 55, 0.4) 52%, rgba(20, 30, 40, 0.38) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -10px 16px rgba(0, 12, 22, 0.22),
    0 10px 24px rgba(0, 0, 0, 0.26);
  padding: 16px;
}

.admin-head h1 {
  margin: 0;
  font-size: 22px;
}

.admin-head p {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(218, 236, 247, 0.95);
}

.flash-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.flash-item {
  border-radius: 10px;
  padding: 10px;
  font-size: 11px;
}

.flash-success {
  border: 1px solid rgba(181, 255, 220, 0.4);
  background: rgba(40, 108, 78, 0.34);
}

.flash-error {
  border: 1px solid rgba(255, 177, 177, 0.38);
  background: rgba(112, 42, 42, 0.28);
}

.admin-login,
.admin-card form {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.admin-login label,
.admin-card form label {
  display: grid;
  gap: 6px;
}

.admin-login span,
.admin-card form span {
  font-size: 10px;
}

.admin-login input,
.admin-card input,
.admin-card textarea {
  width: 100%;
  border-radius: 9px;
  border: 1px solid rgba(220, 244, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
  color: #f2fbff;
  font-size: 12px;
  padding: 10px;
}

.admin-login button,
.admin-card button {
  border-radius: 10px;
  border: 1px solid rgba(233, 248, 255, 0.76);
  background: linear-gradient(160deg, rgba(128, 214, 255, 0.72) 0%, rgba(84, 173, 231, 0.58) 52%, rgba(44, 131, 198, 0.48) 100%);
  color: #f6fcff;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  line-height: 1;
  padding: 10px;
  cursor: pointer;
}

.admin-login button:hover,
.admin-card button:hover {
  filter: brightness(1.08);
}

.danger-btn {
  border-color: rgba(255, 181, 181, 0.5) !important;
  background: linear-gradient(160deg, rgba(214, 99, 99, 0.8) 0%, rgba(165, 58, 58, 0.65) 100%) !important;
}

.lockout-note {
  margin-top: 10px;
  font-size: 11px;
  color: #ffdede;
}

.admin-top-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.admin-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-card {
  border-radius: 12px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.09);
  padding: 12px;
}

.admin-card h2,
.admin-card h3 {
  margin: 0;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
}

.admin-list-card {
  margin-top: 12px;
}

.admin-photo-list,
.admin-news-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.admin-photo-item,
.admin-news-item {
  border-radius: 10px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.09);
  padding: 10px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: flex-start;
}

.admin-photo-item img {
  width: 92px;
  height: 66px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
}

.admin-item-content {
  flex: 1;
  min-width: 0;
}

.admin-item-content h3 {
  margin-bottom: 8px;
}

.admin-item-content p {
  margin: 0 0 8px;
  font-size: 11px;
  white-space: pre-wrap;
}

.admin-item-content time {
  font-size: 10px;
  opacity: 0.82;
}

.players-placeholder {
  width: 100%;
  min-height: 84px;
  margin-top: 0;
  border-radius: 10px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
}

.players-online-text {
  color: #eaf7ff;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.right-panel {
  flex-basis: 53%;
  display: grid;
  place-items: center;
  position: relative;
  overflow: visible;
  isolation: isolate;
  z-index: 1;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 232, 208, 0.23) 0%, rgba(112, 86, 100, 0.34) 100%);
  opacity: 0;
  animation: fadeInRightSoft 0.75s ease-out 0.18s both;
}

.right-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--header-offset));
  bottom: 0;
  background: var(--hero-image) center/cover no-repeat;
  z-index: 0;
  transform-origin: center;
  animation: heroImageReveal 1.2s ease-out 0.2s both;
}

.right-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.04) 0 2px,
    rgba(0, 0, 0, 0.05) 2px 4px
  );
  opacity: 0.16;
  z-index: 1;
}

@media (max-width: 920px) {
  :root {
    --header-offset: 186px;
  }

  body {
    background:
      radial-gradient(circle at 18% 14%, rgba(123, 213, 161, 0.14) 0%, rgba(123, 213, 161, 0) 26%),
      radial-gradient(circle at 84% 12%, rgba(125, 191, 235, 0.14) 0%, rgba(125, 191, 235, 0) 24%),
      linear-gradient(180deg, #081116 0%, #10211a 42%, #1a3024 100%);
  }

  .top-strip {
    height: auto;
    margin: 8px 10px 0;
    padding: 10px;
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .header-left {
    order: 1;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
  }

  .header-right {
    order: 2;
    width: auto;
    flex: 0 0 auto;
  }

  .header-nav {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }

  .header-nav-btn {
    min-height: 36px;
    padding: 9px 7px;
    border-radius: 9px;
    font-size: 9px;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-home-btn {
    padding: 9px 10px;
    font-size: 8px;
    border-radius: 9px;
  }

  .logo-placeholder {
    width: 40px;
    height: 40px;
  }

  .social-button,
  .discord-button {
    margin-right: 0;
    padding: 8px 10px;
    font-size: 8px;
    border-radius: 10px;
    gap: 6px;
  }

  .social-icon,
  .discord-icon {
    width: 13px;
    height: 13px;
  }

  .social-button--tiktok .social-icon {
    width: 11px;
    height: 11px;
    transform: translateY(-0.5px);
  }

  .hero {
    flex-direction: column;
    min-height: calc(100vh - var(--header-offset));
    padding: 12px 10px 10px;
    gap: 10px;
  }

  .page-blank {
    min-height: calc(100vh - var(--header-offset));
  }

  .right-panel {
    order: 1;
    min-height: 36vh;
    border-radius: 14px;
    overflow: hidden;
  }

  .right-panel::before {
    top: 0;
  }

  .left-panel {
    order: 2;
    flex-basis: auto;
    border-right: 0;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(12, 16, 23, 0.86) 72%, rgba(10, 14, 20, 0.9) 100%);
  }

  .content {
    max-width: 100%;
    height: auto;
    padding: 20px 14px 16px;
  }

  h1 {
    margin: 0;
    font-size: 28px;
  }

  .subtitle {
    margin: 8px 0 12px;
    font-size: 16px;
  }

  .cards-row {
    margin-top: 8px;
    gap: 10px;
  }

  .server-card,
  .players-card {
    width: 100%;
    min-width: 0;
    margin-top: 0;
    margin-bottom: 0;
  }

  .players-card {
    min-height: 150px;
  }

  .players-card h2 {
    font-size: 18px;
  }

  .about-card {
    margin-top: 16px;
    padding: 12px 12px;
  }

  .about-card h3 {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .about-card p {
    font-size: 10px;
    line-height: 1.45;
    margin-bottom: 8px;
  }

  .news-card {
    margin-top: 10px;
  }

  .news-placeholder {
    min-height: 96px;
    margin-top: 6px;
  }

  .home-news-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-page,
  .admin-wrap {
    padding: 12px 10px 16px;
  }

  .content-shell,
  .admin-shell {
    padding: 12px;
    border-radius: 12px;
  }

  .content-head h1,
  .admin-head h1 {
    font-size: 16px;
    margin: 0;
  }

  .subpage-body .content-head h1,
  .subpage-body .admin-head h1 {
    font-size: 22px;
    line-height: 1.15;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-card img {
    height: 170px;
  }

  .photo-lightbox {
    padding: 12px;
  }

  .photo-lightbox-content {
    max-width: 96vw;
    max-height: 82vh;
  }

  .photo-lightbox-content img {
    max-width: 96vw;
    max-height: 82vh;
  }

  .photo-lightbox-close {
    width: 38px;
    height: 38px;
    top: 0;
    right: 0;
    font-size: 10px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-photo-item,
  .admin-news-item {
    flex-direction: column;
  }

  .admin-photo-item img {
    width: 100%;
    height: 180px;
  }

  .copy-ip-btn {
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }

  .copy-feedback {
    right: -2px;
    bottom: calc(100% + 6px);
    padding: 5px 7px;
    font-size: 8px;
  }

  .copy-icon {
    width: 11px;
    height: 11px;
  }

  .info-page {
    padding: 12px 10px 16px;
  }

  .info-grid {
    column-count: 2;
    column-gap: 10px;
  }

  .info-card {
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 12px;
  }

  .info-card h2 {
    font-size: 9px;
    margin-bottom: 8px;
  }

  .subpage-body .info-card h2,
  .subpage-body .rules-card h2,
  .subpage-body .admin-card h2,
  .subpage-body .admin-card h3,
  .subpage-body .news-item-head h2 {
    font-size: 13px;
    line-height: 1.35;
  }

  .info-card p,
  .info-list li,
  .info-meta,
  .info-pill {
    font-size: 10px;
  }

  .subpage-body .info-card p,
  .subpage-body .info-list li,
  .subpage-body .rules-intro,
  .subpage-body .rules-sub,
  .subpage-body .rules-list li,
  .subpage-body .news-item p,
  .subpage-body .photo-card-meta p,
  .subpage-body .content-head p,
  .subpage-body .admin-head p,
  .subpage-body .empty-state,
  .subpage-body .flash-item,
  .subpage-body .lockout-note,
  .subpage-body .admin-login input,
  .subpage-body .admin-card input,
  .subpage-body .admin-card textarea {
    font-size: 14px;
    line-height: 1.6;
  }

  .subpage-body .info-meta,
  .subpage-body .info-pill,
  .subpage-body .rules-penalty,
  .subpage-body .rules-pill,
  .subpage-body .photo-card-meta time,
  .subpage-body .news-item-head time,
  .subpage-body .admin-login span,
  .subpage-body .admin-card form span {
    font-size: 12px;
    line-height: 1.45;
  }

  .info-image-placeholder {
    min-height: 90px;
    font-size: 9px;
  }

  .rules-page {
    padding: 12px 10px 16px;
  }

  .rules-grid {
    column-count: 2;
    column-gap: 10px;
  }

  .rules-card {
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 12px;
  }

  .rules-card--wide {
    width: 100%;
  }

  .rules-card h1 {
    font-size: 10px;
  }

  .subpage-body .rules-card h1 {
    font-size: 22px;
    line-height: 1.15;
  }

  .rules-card h2 {
    font-size: 9px;
  }

  .rules-intro,
  .rules-sub,
  .rules-list li,
  .rules-penalty,
  .rules-pill {
    font-size: 10px;
  }

  .subpage-body .admin-login button,
  .subpage-body .admin-card button {
    font-size: 11px;
    padding: 12px;
  }
}

@media (max-width: 640px) {
  .info-grid {
    column-count: 1;
  }

  .rules-grid {
    column-count: 1;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .header-nav {
    gap: 9px;
  }

  .header-nav-btn {
    min-height: 42px;
    padding: 10px 8px;
    font-size: 10px;
  }

  .subpage-body .content-page,
  .subpage-body .admin-wrap,
  .subpage-body .info-page,
  .subpage-body .rules-page {
    padding: 16px 10px 20px;
  }

  .subpage-body .content-shell,
  .subpage-body .admin-shell,
  .subpage-body .info-card,
  .subpage-body .rules-card {
    padding: 14px;
  }

  .subpage-body .content-head h1,
  .subpage-body .admin-head h1,
  .subpage-body .rules-card h1 {
    font-size: 24px;
  }

  .subpage-body .info-card h2,
  .subpage-body .rules-card h2,
  .subpage-body .admin-card h2,
  .subpage-body .admin-card h3,
  .subpage-body .news-item-head h2 {
    font-size: 14px;
  }

  .subpage-body .info-card p,
  .subpage-body .info-list li,
  .subpage-body .rules-intro,
  .subpage-body .rules-sub,
  .subpage-body .rules-list li,
  .subpage-body .news-item p,
  .subpage-body .photo-card-meta p,
  .subpage-body .content-head p,
  .subpage-body .admin-head p,
  .subpage-body .empty-state,
  .subpage-body .flash-item,
  .subpage-body .lockout-note,
  .subpage-body .admin-login input,
  .subpage-body .admin-card input,
  .subpage-body .admin-card textarea {
    font-size: 15px;
    line-height: 1.65;
  }

  .subpage-body .info-meta,
  .subpage-body .info-pill,
  .subpage-body .rules-penalty,
  .subpage-body .rules-pill,
  .subpage-body .photo-card-meta time,
  .subpage-body .news-item-head time,
  .subpage-body .admin-login span,
  .subpage-body .admin-card form span {
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}