:root {
  color-scheme: dark;
  --background: oklch(0.13 0.03 274);
  --foreground: oklch(0.95 0.01 280);
  --card: oklch(0.17 0.035 274);
  --popover: oklch(0.16 0.035 274);
  --primary: oklch(0.7 0.26 350);
  --primary-foreground: oklch(0.13 0.03 274);
  --secondary: oklch(0.22 0.04 274);
  --muted: oklch(0.2 0.035 274);
  --muted-foreground: oklch(0.7 0.04 280);
  --accent: oklch(0.8 0.15 200);
  --border: oklch(0.32 0.06 290);
  --input: oklch(0.24 0.04 274);
  --neon-pink: oklch(0.7 0.26 350);
  --neon-purple: oklch(0.62 0.25 300);
  --neon-cyan: oklch(0.82 0.15 200);
  --neon-orange: oklch(0.72 0.2 45);
  --font-pixel: "Press Start 2P", system-ui, sans-serif;
  --font-sans: "Geist", Arial, sans-serif;
  --font-mono: "Geist Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background-color: var(--background);
  background-image:
    linear-gradient(to bottom, oklch(0.13 0.03 274 / 0.92), oklch(0.13 0.03 274 / 0.92)),
    linear-gradient(oklch(0.32 0.06 290 / 0.12) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.32 0.06 290 / 0.12) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  background-attachment: fixed;
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
}

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

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

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

.site-container {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
}

.main-content {
  min-height: 62vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 2px solid var(--border);
  background: oklch(0.13 0.03 274 / 0.85);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--neon-pink);
  color: var(--neon-pink);
  font-family: var(--font-pixel);
  font-size: 8px;
  line-height: 1;
  box-shadow: 0 0 10px oklch(0.7 0.26 350 / 0.45), inset 0 0 8px oklch(0.7 0.26 350 / 0.15);
}

.brand-mark.small {
  width: 32px;
  height: 32px;
  font-size: 7px;
}

.brand-text {
  color: var(--neon-pink);
  font-family: var(--font-pixel);
  font-size: 14px;
  text-shadow: 0 0 6px oklch(0.7 0.26 350 / 0.8), 0 0 18px oklch(0.7 0.26 350 / 0.5);
}

.brand-text.small {
  font-size: 12px;
}

.desktop-nav,
.desktop-auth {
  display: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 2px solid transparent;
  padding: 8px 12px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease;
}

.nav-link:hover,
.nav-link.active {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  text-shadow: 0 0 6px oklch(0.7 0.26 350 / 0.8), 0 0 18px oklch(0.7 0.26 350 / 0.5);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  min-width: 260px;
  visibility: hidden;
  transform: translateY(4px);
  border: 2px solid var(--border);
  background: var(--popover);
  padding: 4px;
  opacity: 0;
  box-shadow: 0 18px 35px oklch(0 0 0 / 0.35);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  visibility: visible;
  transform: translateY(0);
  opacity: 1;
}

.dropdown-menu a {
  border-left: 2px solid transparent;
  padding: 10px 12px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
}

.dropdown-menu a:hover {
  border-left-color: var(--neon-cyan);
  background: var(--secondary);
  color: var(--foreground);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1;
  padding: 12px 16px;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.btn-small {
  padding: 10px 12px;
}

.btn-outline:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  text-shadow: 0 0 6px oklch(0.82 0.15 200 / 0.8), 0 0 18px oklch(0.82 0.15 200 / 0.5);
}

.btn-primary {
  border-color: var(--neon-pink);
  background: var(--neon-pink);
  color: var(--primary-foreground);
  box-shadow: 0 0 10px oklch(0.7 0.26 350 / 0.45), inset 0 0 8px oklch(0.7 0.26 350 / 0.15);
}

.btn-cyan {
  border-color: var(--neon-cyan);
  background: var(--neon-cyan);
  color: var(--background);
  box-shadow: 0 0 10px oklch(0.82 0.15 200 / 0.45), inset 0 0 8px oklch(0.82 0.15 200 / 0.15);
}

.btn-orange {
  border-color: var(--neon-orange);
  color: var(--neon-orange);
}

.btn-danger {
  border-color: var(--neon-orange);
  color: var(--neon-orange);
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--border);
  padding: 6px 10px 6px 6px;
  color: var(--foreground);
  font-family: var(--font-mono);
  font-size: 12px;
}

.user-chip img {
  width: 28px;
  height: 28px;
  border: 1px solid var(--neon-cyan);
  object-fit: cover;
}

.mobile-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 2px solid var(--border);
  background: transparent;
  cursor: pointer;
}

.mobile-toggle span {
  width: 18px;
  height: 2px;
  background: var(--foreground);
}

.mobile-nav {
  display: none;
  border-top: 2px solid var(--border);
  background: var(--background);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-inner {
  display: grid;
  gap: 2px;
  padding-block: 8px 16px;
}

.mobile-link {
  border-left: 2px solid transparent;
  padding: 12px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-link.active {
  border-left-color: var(--neon-pink);
  color: var(--neon-pink);
  text-shadow: 0 0 6px oklch(0.7 0.26 350 / 0.8);
}

.mobile-auth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.scanlines {
  position: relative;
}

.scanlines::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    oklch(0 0 0 / 0) 0,
    oklch(0 0 0 / 0) 2px,
    oklch(0 0 0 / 0.18) 3px,
    oklch(0 0 0 / 0) 4px
  );
}

.scanlines > * {
  position: relative;
  z-index: 2;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-content {
  padding-block: 96px;
}

.hero h1 {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--neon-pink);
  font-family: var(--font-pixel);
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.15;
  text-shadow: 0 0 6px oklch(0.7 0.26 350 / 0.8), 0 0 18px oklch(0.7 0.26 350 / 0.5);
  animation: vhs-flicker 4s infinite steps(1);
}

.hero p {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--muted-foreground);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions,
.section-top,
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 32px;
}

.eyebrow {
  display: inline-flex;
  border: 2px solid var(--neon-cyan);
  padding: 4px 12px;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0 6px oklch(0.82 0.15 200 / 0.8), 0 0 18px oklch(0.82 0.15 200 / 0.5);
  box-shadow: 0 0 10px oklch(0.82 0.15 200 / 0.45), inset 0 0 8px oklch(0.82 0.15 200 / 0.15);
}

.page-banner {
  border-bottom: 2px solid var(--border);
  background: oklch(0.17 0.035 274 / 0.4);
}

.page-banner-inner {
  padding-block: 48px;
}

.kicker {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-shadow: 0 0 6px oklch(0.82 0.15 200 / 0.8), 0 0 18px oklch(0.82 0.15 200 / 0.5);
}

.page-banner h1,
.section-heading h2 {
  margin: 12px 0 0;
  color: var(--neon-pink);
  font-family: var(--font-pixel);
  line-height: 1.25;
  text-shadow: 0 0 6px oklch(0.7 0.26 350 / 0.8), 0 0 18px oklch(0.7 0.26 350 / 0.5);
}

.page-banner h1 {
  font-size: clamp(24px, 4vw, 42px);
}

.page-banner p {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.section-heading {
  display: grid;
  gap: 8px;
}

.section-heading .label {
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(18px, 3vw, 28px);
}

.accent-cyan h2,
.text-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 6px oklch(0.82 0.15 200 / 0.8), 0 0 18px oklch(0.82 0.15 200 / 0.5);
}

.accent-purple h2,
.text-purple {
  color: var(--neon-purple);
  text-shadow: 0 0 6px oklch(0.62 0.25 300 / 0.8), 0 0 18px oklch(0.62 0.25 300 / 0.5);
}

.accent-orange h2,
.text-orange {
  color: var(--neon-orange);
  text-shadow: 0 0 6px oklch(0.72 0.2 45 / 0.8), 0 0 18px oklch(0.72 0.2 45 / 0.5);
}

.section {
  padding-block: 64px;
}

.section.band {
  border-block: 2px solid var(--border);
  background: oklch(0.17 0.035 274 / 0.4);
}

.stats-band {
  border-bottom: 2px solid var(--border);
  background: oklch(0.17 0.035 274 / 0.4);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--background);
  padding: 24px;
}

.stat-icon {
  color: var(--neon-cyan);
  font-family: var(--font-pixel);
  font-size: 18px;
}

.stat-value {
  color: var(--neon-pink);
  font-family: var(--font-pixel);
  font-size: 18px;
}

.stat-label {
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2,
.grid-3,
.members-grid {
  grid-template-columns: 1fr;
}

.card {
  border: 2px solid var(--border);
  background: var(--card);
}

.hover-pink,
.hover-cyan,
.hover-purple,
.hover-orange {
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hover-pink:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 0 10px oklch(0.7 0.26 350 / 0.45), inset 0 0 8px oklch(0.7 0.26 350 / 0.15);
}

.hover-cyan:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px oklch(0.82 0.15 200 / 0.45), inset 0 0 8px oklch(0.82 0.15 200 / 0.15);
}

.hover-purple:hover {
  border-color: var(--neon-purple);
  box-shadow: 0 0 10px oklch(0.62 0.25 300 / 0.45), inset 0 0 8px oklch(0.62 0.25 300 / 0.15);
}

.hover-orange:hover {
  border-color: var(--neon-orange);
}

.image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 2px solid var(--border);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.card:hover .image-frame img {
  transform: scale(1.05);
}

.card-body {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meta-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 6px oklch(0.82 0.15 200 / 0.8);
}

.card-title {
  margin: 0;
  color: var(--foreground);
  font-family: var(--font-pixel);
  font-size: 14px;
  line-height: 1.55;
}

.card p,
.muted {
  color: var(--muted-foreground);
}

.read-more {
  margin-top: auto;
  padding-top: 8px;
  color: var(--neon-pink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-panel {
  border: 2px solid var(--border);
  background: var(--card);
  padding: 28px;
}

.content-panel h2,
.content-panel h3 {
  color: var(--neon-cyan);
  font-family: var(--font-pixel);
  font-size: 15px;
  line-height: 1.5;
}

.rich-text {
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.8;
}

.rich-text p {
  margin: 0 0 16px;
}

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

.forum-category {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 2px solid var(--border);
  background: var(--card);
  padding: 24px;
}

.forum-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  background: var(--background);
  color: var(--neon-cyan);
  font-family: var(--font-pixel);
  font-size: 15px;
}

.forum-category h2,
.forum-category h3 {
  margin: 0;
  font-family: var(--font-pixel);
  font-size: 13px;
  line-height: 1.55;
}

.forum-category p {
  margin: 8px 0 0;
  color: var(--muted-foreground);
  font-size: 14px;
}

.forum-counts {
  display: none;
  margin-left: auto;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.topic-table {
  border: 2px solid var(--border);
}

.topic-head,
.topic-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

.topic-head {
  border-bottom: 2px solid var(--border);
  background: var(--secondary);
  padding: 12px 20px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topic-row {
  padding: 16px 20px;
  transition: background 160ms ease;
}

.topic-row + .topic-row {
  border-top: 1px solid var(--border);
}

.topic-row:hover {
  background: oklch(0.22 0.04 274 / 0.6);
}

.topic-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topic-main h3 {
  margin: 0;
  color: var(--foreground);
  font-size: 15px;
  font-weight: 600;
}

.topic-main h3:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 6px oklch(0.82 0.15 200 / 0.8);
}

.topic-meta {
  margin-top: 4px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
}

.reply-count {
  color: var(--neon-purple);
  font-family: var(--font-pixel);
  font-size: 12px;
  text-shadow: 0 0 6px oklch(0.62 0.25 300 / 0.8);
}

.post {
  display: grid;
  gap: 0;
  border: 2px solid var(--border);
  background: var(--card);
}

.post + .post {
  margin-top: 20px;
}

.user-card {
  border-bottom: 2px solid var(--border);
  background: var(--background);
  padding: 20px;
  text-align: center;
}

.avatar {
  width: 76px;
  height: 76px;
  border: 2px solid var(--neon-pink);
  object-fit: cover;
  margin-inline: auto;
  box-shadow: 0 0 10px oklch(0.7 0.26 350 / 0.45);
}

.avatar.small {
  width: 52px;
  height: 52px;
}

.avatar.large {
  width: 132px;
  height: 132px;
}

.user-card h3,
.member-card h2 {
  margin: 12px 0 0;
  font-family: var(--font-pixel);
  font-size: 12px;
  line-height: 1.5;
}

.rank,
.post-count {
  display: block;
  margin-top: 8px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rank {
  color: var(--neon-cyan);
  text-shadow: 0 0 6px oklch(0.82 0.15 200 / 0.8);
}

.post-body {
  padding: 24px;
}

.post-body h1 {
  margin: 0 0 12px;
  color: var(--neon-pink);
  font-family: var(--font-pixel);
  font-size: 18px;
  line-height: 1.6;
  text-shadow: 0 0 6px oklch(0.7 0.26 350 / 0.8);
}

.post-date {
  margin-bottom: 16px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
}

.form-shell {
  width: min(100% - 32px, 460px);
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-inline: auto;
  padding-block: 64px;
}

.auth-panel {
  border: 2px solid var(--border);
  background: var(--card);
  padding: 32px;
  box-shadow: 0 0 10px oklch(0.7 0.26 350 / 0.45), inset 0 0 8px oklch(0.7 0.26 350 / 0.15);
}

.auth-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--neon-pink);
  color: var(--neon-pink);
  font-family: var(--font-pixel);
  font-size: 10px;
  box-shadow: 0 0 10px oklch(0.7 0.26 350 / 0.45), inset 0 0 8px oklch(0.7 0.26 350 / 0.15);
}

.auth-head {
  text-align: center;
}

.auth-head h1 {
  margin: 16px 0 0;
  color: var(--neon-pink);
  font-family: var(--font-pixel);
  font-size: 14px;
  text-shadow: 0 0 6px oklch(0.7 0.26 350 / 0.8);
}

.auth-head p {
  margin: 8px 0 0;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  gap: 20px;
}

.form-grid.two {
  grid-template-columns: 1fr;
}

form {
  margin: 0;
}

.form-field {
  display: grid;
  gap: 8px;
}

label {
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: 0;
  background: var(--background);
  color: var(--foreground);
  outline: none;
  padding: 12px 14px;
  transition: border-color 160ms ease;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--neon-cyan);
}

.form-note {
  color: var(--muted-foreground);
  font-size: 13px;
}

.errors {
  border: 2px solid var(--neon-orange);
  background: oklch(0.22 0.04 274 / 0.8);
  color: var(--neon-orange);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.flash {
  margin-top: 20px;
  border: 2px solid var(--border);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.flash-success {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.flash-error {
  border-color: var(--neon-orange);
  color: var(--neon-orange);
}

.server-card {
  display: grid;
  gap: 16px;
  border: 2px solid var(--border);
  background: var(--card);
  padding: 24px;
}

.server-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.server-game {
  color: var(--neon-purple);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 6px oklch(0.62 0.25 300 / 0.8);
}

.server-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.status-online {
  background: var(--neon-cyan);
  box-shadow: 0 0 10px oklch(0.82 0.15 200 / 0.45);
}

.status-maintenance {
  background: var(--neon-orange);
}

.status-offline {
  background: var(--muted-foreground);
}

.server-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 2px solid var(--border);
  padding-top: 16px;
}

code {
  border: 2px solid var(--border);
  background: var(--background);
  color: var(--neon-cyan);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.event-card {
  display: grid;
  border: 2px solid var(--border);
  background: var(--card);
}

.event-card .image-frame {
  border-bottom: 2px solid var(--border);
}

.event-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--neon-orange);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 6px oklch(0.72 0.2 45 / 0.8);
}

.status-pill,
.role-pill {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--border);
  padding: 4px 8px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 2px solid var(--border);
  background: var(--card);
  padding: 20px;
}

.member-card .avatar {
  margin: 0;
}

.member-card h2 {
  margin-top: 0;
}

.member-info {
  flex: 1;
  min-width: 0;
}

.gamer-tag {
  margin: 4px 0 0;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 12px;
}

.profile-layout {
  display: grid;
  gap: 24px;
}

.profile-summary {
  border: 2px solid var(--border);
  background: var(--card);
  padding: 28px;
  text-align: center;
}

.profile-summary h1 {
  margin: 18px 0 0;
  color: var(--neon-pink);
  font-family: var(--font-pixel);
  font-size: 18px;
  line-height: 1.5;
  text-shadow: 0 0 6px oklch(0.7 0.26 350 / 0.8);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: var(--border);
}

.profile-stat {
  background: var(--background);
  padding: 18px;
}

.profile-stat strong {
  display: block;
  color: var(--neon-cyan);
  font-family: var(--font-pixel);
  font-size: 16px;
}

.profile-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-layout {
  display: grid;
  gap: 24px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-tabs a {
  border: 2px solid var(--border);
  padding: 10px 12px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-tabs a.active,
.admin-tabs a:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.admin-table-wrap {
  overflow-x: auto;
  border: 2px solid var(--border);
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--card);
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--border);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: var(--secondary);
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--foreground);
  font-size: 14px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-actions form {
  display: inline;
}

.empty-state {
  border: 2px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  padding: 24px;
  text-align: center;
}

.site-footer {
  margin-top: 64px;
  border-top: 2px solid var(--border);
  background: oklch(0.17 0.035 274 / 0.4);
}

.footer-grid {
  display: grid;
  gap: 32px;
  padding-block: 48px;
}

.footer-copy {
  max-width: 320px;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer h3 {
  margin: 0 0 16px;
  color: var(--neon-cyan);
  font-family: var(--font-pixel);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 6px oklch(0.82 0.15 200 / 0.8);
}

.site-footer a:not(.brand) {
  display: block;
  margin-top: 8px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 14px;
}

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

.footer-bottom {
  border-top: 2px solid var(--border);
  padding-block: 16px;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
}

@keyframes vhs-flicker {
  0%,
  92%,
  100% {
    opacity: 1;
  }
  93% {
    opacity: 0.82;
  }
  94% {
    opacity: 1;
  }
  96% {
    opacity: 0.9;
  }
  97% {
    opacity: 1;
  }
}

@media (min-width: 640px) {
  .grid-2,
  .members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-head,
  .topic-row {
    grid-template-columns: 1fr 90px;
  }

  .forum-counts {
    display: grid;
    gap: 4px;
  }

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

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-card {
    grid-template-columns: 320px 1fr;
  }

  .event-card .image-frame {
    height: 100%;
    border-right: 2px solid var(--border);
    border-bottom: 0;
  }

  .post {
    grid-template-columns: 210px 1fr;
  }

  .user-card {
    border-right: 2px solid var(--border);
    border-bottom: 0;
  }

  .profile-layout {
    grid-template-columns: 340px 1fr;
  }

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

@media (min-width: 1024px) {
  .desktop-nav,
  .desktop-auth {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .desktop-auth {
    gap: 8px;
  }

  .mobile-toggle,
  .mobile-nav {
    display: none !important;
  }

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

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

@media (max-width: 520px) {
  .hero-content {
    padding-block: 72px;
  }

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

  .btn {
    width: 100%;
  }

  .mobile-auth {
    grid-template-columns: 1fr;
  }

  .member-card {
    align-items: flex-start;
  }
}

