:root {
  --bg-1: #04070f;
  --bg-2: #091225;
  --panel: rgba(10, 22, 43, 0.82);
  --panel-border: rgba(109, 214, 255, 0.32);
  --text: #eef8ff;
  --muted: #a0c4ea;
  --primary: #6ddcff;
  --accent: #19f7ff;
  --violet: #9a7dff;
  --pixel: #ffe26f;
  --surface: rgba(6, 14, 28, 0.9);
  --surface-strong: rgba(8, 19, 38, 0.96);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 20% 10%, rgba(18, 42, 86, 0.95) 0%, rgba(7, 16, 31, 0.95) 35%, transparent 58%),
    radial-gradient(circle at 80% 0%, rgba(25, 247, 255, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 50% 120%, rgba(154, 125, 255, 0.18) 0%, transparent 45%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 45%, #02050b 100%);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
}

#fx-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
}

.pixel-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.16;
  background-image:
    linear-gradient(to right, rgba(79, 195, 247, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79, 195, 247, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.eyebrow {
  display: inline-block;
  font-family: "Press Start 2P", monospace;
  font-size: 0.62rem;
  color: var(--pixel);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
}

.eyebrow,
.tag,
.game-warning-banner-title,
.gameroom-stat-card h3,
.gamehub-stat-card h3,
.gate-eyebrow,
.gate-card-topbar,
.gate-status-badge,
.desktop-dropdown-toggle,
.desktop-dropdown-panel a,
.menu-toggle,
.mobile-menu,
.profile-link-status,
.profile-points-label,
.profile-discord-item span,
.profile-minecraft-item span {
  font-family: "Press Start 2P", monospace;
}

h1 { font-size: clamp(2rem, 6vw, 4.5rem); line-height: 1.05; }
h2 { font-size: clamp(1.4rem, 3vw, 2.3rem); }

p { line-height: 1.65; color: var(--muted); }

a { color: var(--primary); text-decoration: none; }

a:hover { color: var(--accent); }

::selection {
  background: rgba(25, 247, 255, 0.26);
  color: #f8fcff;
}

.site-header {
  position: static;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(4, 10, 22, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(109, 214, 255, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #d6f1ff;
}

.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #b9d8f5;
  font-weight: 600;
}

.desktop-nav {
  margin-left: auto;
  align-items: center;
  gap: 0.55rem;
}

.desktop-nav > li {
  position: relative;
}

.desktop-nav > li > a,
.desktop-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.52rem 0.74rem;
  border-radius: 0;
  border: 1px solid rgba(25, 247, 255, 0.24);
  background: linear-gradient(180deg, rgba(10, 24, 48, 0.78), rgba(6, 14, 28, 0.9));
  color: #d4ecff;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.desktop-nav > li > a:hover,
.desktop-nav > li > a:focus-visible,
.desktop-dropdown-toggle:hover,
.desktop-dropdown-toggle:focus-visible {
  border-color: rgba(25, 247, 255, 0.5);
  background: linear-gradient(180deg, rgba(15, 35, 70, 0.92), rgba(8, 18, 36, 0.96));
  color: #edf8ff;
  transform: translateY(-1px);
  outline: none;
}

.desktop-dropdown-toggle::after {
  content: "▾";
  margin-left: 0.46rem;
  font-size: 0.7rem;
  color: #9cd4ff;
}

.desktop-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12.5rem;
  margin-top: -1px;
  padding: 0.42rem;
  border-radius: 0;
  border: 1px solid rgba(25, 247, 255, 0.26);
  background: linear-gradient(180deg, rgba(8, 19, 36, 0.98), rgba(5, 13, 26, 0.98));
  box-shadow: 0 18px 34px rgba(1, 12, 30, 0.56);
  display: grid;
  gap: 0.35rem;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 140ms ease, transform 160ms ease;
  z-index: 1301;
}

.desktop-dropdown-panel a {
  display: block;
  min-height: 40px;
  border-radius: 0;
  border: 1px solid rgba(128, 204, 255, 0.18);
  padding: 0.6rem 0.65rem;
  background: rgba(11, 23, 43, 0.9);
  color: #d7edff;
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1.05;
}

.desktop-dropdown-panel a:hover,
.desktop-dropdown-panel a:focus-visible {
  border-color: rgba(148, 216, 255, 0.35);
  background: rgba(15, 31, 57, 0.9);
  color: #f1f9ff;
  outline: none;
}

.desktop-dropdown:hover .desktop-dropdown-panel,
.desktop-dropdown:focus-within .desktop-dropdown-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btn {
  border: 1px solid rgba(159, 215, 255, 0.42);
  border-radius: 0;
  padding: 0.75rem 1rem;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #02101d;
  box-shadow: 0 12px 28px rgba(25, 247, 255, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 229, 255, 0.26);
  color: #000b13;
}

.btn-ghost {
  background: rgba(8, 20, 40, 0.84);
  color: #d4ebff;
}

.btn-discord {
  background: linear-gradient(120deg, #5b8dff, var(--violet));
  color: #ecf4ff;
  border: none;
  box-shadow: 0 12px 28px rgba(91, 141, 255, 0.2);
}

.btn-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(91, 141, 255, 0.28);
}

.nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.btn-gameroom-icon {
  width: 42px;
  min-width: 42px;
  padding: 0;
}

.btn-gameroom-icon-glyph {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1rem;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

.btn-gameroom-icon-glyph::before {
  content: "👾";
}

.game-warning-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 1rem 0 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 211, 109, 0.36);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(52, 33, 14, 0.9), rgba(22, 18, 11, 0.94));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.game-warning-banner::before {
  content: '⚠';
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 240, 163, 0.94), rgba(255, 188, 52, 0.72));
  color: #2c1600;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(255, 204, 89, 0.35);
}

.game-warning-banner-title {
  margin: 0;
  font-family: "Press Start 2P", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #ffe79d;
}

.game-warning-banner-body {
  margin: 0.35rem 0 0;
  color: #ffe8bb;
}

.game-warning-banner-actions {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.game-warning-banner.is-animated {
  animation: gameWarningPulse 2400ms ease-in-out infinite;
}

@keyframes gameWarningPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.28), 0 0 24px rgba(255, 204, 89, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }
}

.menu-toggle {
  display: none;
  background: rgba(17, 36, 66, 0.82);
  color: #d9edff;
  border: 1px solid rgba(112, 179, 247, 0.45);
  border-radius: 0;
  padding: 0.55rem 0.8rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 1rem 1rem;
  background: rgba(7, 16, 35, 0.95);
  border-bottom: 1px solid rgba(79, 195, 247, 0.35);
}

.mobile-menu.open { display: flex; }

.hero {
  min-height: 86vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(25, 247, 255, 0.24), rgba(154, 125, 255, 0.16) 40%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content h1 {
  max-width: 16ch;
  margin: 0 auto;
  color: #41eaff;
  text-shadow: 0 0 26px rgba(25, 247, 255, 0.18), 2px 2px 0 rgba(0, 0, 0, 0.92);
  letter-spacing: 0.02em;
}

.hero-type {
  margin: 1.3rem auto 0;
  min-height: 2rem;
  font-size: clamp(1rem, 2.6vw, 1.45rem);
  color: #bfe7ff;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  background: linear-gradient(180deg, rgba(16, 30, 58, 0.92), rgba(8, 19, 38, 0.94));
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 0 2px rgba(25, 247, 255, 0.08);
}

.stat-card p {
  margin: 0;
  font-size: 0.83rem;
}

.stat-card h3 {
  margin-top: 0.5rem;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.7rem, 2vw, 1rem);
  color: #d9f7ff;
}

.pulse {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #56ff9f;
  border-radius: 50%;
  margin-right: 0.5rem;
  box-shadow: 0 0 14px #56ff9f;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.35); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

.section-head {
  margin-bottom: 1.4rem;
}

.spotlight-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(16, 30, 58, 0.9), rgba(8, 19, 38, 0.94));
  border: 1px solid var(--panel-border);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.profile-card {
  grid-template-columns: 1fr;
}

.spotlight-media iframe {
  width: 100%;
  height: 100%;
  min-height: 330px;
  border: 0;
}

.spotlight-info {
  padding: 1.2rem;
}

.auth-note-card {
  margin-top: 2rem;
  max-width: 720px;
}

.gate-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.gate-shell {
  width: min(760px, 100%);
  display: grid;
  gap: 1.2rem;
}

.gate-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255, 226, 111, 0.34);
  background: rgba(255, 226, 111, 0.08);
  color: var(--pixel);
  font-family: "Press Start 2P", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gate-title {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.02;
  color: #f4fbff;
  text-shadow: 0 0 30px rgba(25, 247, 255, 0.18);
}

.gate-lead {
  margin: 0;
  max-width: 58ch;
  color: rgba(214, 242, 255, 0.76);
  font-size: 1rem;
  line-height: 1.7;
}

.gate-card {
  background:
    linear-gradient(180deg, rgba(12, 28, 54, 0.9), rgba(7, 16, 32, 0.96)),
    repeating-linear-gradient(0deg, rgba(12, 34, 64, 0.12) 0, rgba(12, 34, 64, 0.12) 2px, transparent 2px, transparent 4px);
  border: 1px solid rgba(109, 214, 255, 0.34);
  border-radius: 0;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.gate-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.05rem;
  background: rgba(8, 22, 46, 0.95);
  border-bottom: 1px solid rgba(109, 214, 255, 0.18);
  font-family: "Press Start 2P", monospace;
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ccecff;
}

.gate-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid currentColor;
  font-family: "Press Start 2P", monospace;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gate-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  flex-shrink: 0;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.gate-body {
  padding: 1.35rem 1.35rem 1.55rem;
  display: grid;
  gap: 1rem;
}

.gate-message {
  margin: 0;
  color: rgba(214, 242, 255, 0.8);
  line-height: 1.7;
}

.gate-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 0;
  border: 1px solid rgba(109, 214, 255, 0.18);
  background: rgba(10, 24, 48, 0.72);
}

.gate-banner.is-success {
  border-color: rgba(140, 255, 106, 0.28);
  background: rgba(12, 38, 28, 0.8);
}

.gate-banner.is-warning {
  border-color: rgba(255, 226, 111, 0.28);
  background: rgba(38, 31, 10, 0.8);
}

.gate-banner.is-error {
  border-color: rgba(255, 95, 109, 0.28);
  background: rgba(44, 13, 22, 0.82);
}

.gate-banner-title {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  color: #f4fbff;
}

.gate-banner-body {
  margin: 0.25rem 0 0;
  color: rgba(214, 242, 255, 0.74);
  line-height: 1.6;
}

.gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gate-actions .btn,
.gate-actions .button {
  flex: 1 1 210px;
}

.gate-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.gate-detail {
  padding: 0.8rem 0.85rem;
  border-radius: 0;
  border: 1px solid rgba(109, 214, 255, 0.16);
  background: rgba(10, 25, 48, 0.7);
}

.gate-detail span {
  display: block;
  margin-bottom: 0.28rem;
  color: #8abbe2;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gate-detail strong {
  color: #edf7ff;
  word-break: break-word;
}

.gate-footer {
  color: rgba(214, 242, 255, 0.56);
  text-align: center;
  font-size: 0.9rem;
}

.auth-login-page .hero {
  min-height: 100dvh;
}

.auth-login-page .hero-content {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.55rem;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}

.auth-login-page .hero-type {
  margin: 0.45rem auto 0;
  min-height: 0;
}

.auth-login-page .hero-actions {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.85rem;
}

.auth-login-page .hero-actions .btn {
  width: 100%;
  justify-content: center;
}

.auth-login-page .auth-note-card {
  margin-top: auto;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 0;
  object-fit: cover;
}

.profile-header {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(114, 188, 255, 0.34);
  border-radius: 0;
  background: linear-gradient(145deg, rgba(11, 30, 57, 0.78), rgba(7, 20, 39, 0.8));
}

.profile-avatar-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.profile-header-info h3 {
  margin: 0;
}

.profile-header-info p {
  margin: 0.35rem 0 0.75rem;
}

.profile-meta-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 1rem;
}

.profile-meta-list li {
  color: #c9e7ff;
  line-height: 1.45;
}

.profile-roles-panel {
  margin-top: 0.75rem;
}

.profile-role-chips {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.profile-role-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 0;
  border: 1px solid rgba(122, 201, 255, 0.4);
  background: rgba(14, 35, 62, 0.88);
  color: #def2ff;
  font-size: 0.78rem;
  font-weight: 600;
}

.profile-empty-roles {
  margin: 0.6rem 0 0;
}

.profile-actions {
  margin-top: 1.5rem;
}

.profile-points {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.profile-points-item {
  background: linear-gradient(155deg, rgba(11, 31, 59, 0.95), rgba(6, 18, 38, 0.92));
  border: 1px solid rgba(125, 196, 255, 0.45);
  border-radius: 0;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.profile-points-item strong {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: #ebf8ff;
  letter-spacing: 0.02em;
}

.profile-points-label {
  font-size: 0.74rem;
  color: #95c5ea;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile-points-total {
  border-color: rgba(0, 229, 255, 0.75);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.2), 0 12px 26px rgba(0, 18, 36, 0.35);
}

.profile-side-by-side {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.profile-discord {
  margin-top: 0;
  padding: 0.9rem;
  border: 1px solid rgba(108, 182, 255, 0.4);
  border-radius: 0;
  background: linear-gradient(145deg, rgba(8, 24, 48, 0.9), rgba(5, 16, 31, 0.92));
}

.profile-discord-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.profile-discord-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.profile-discord-item {
  padding: 0.65rem 0.75rem;
  border-radius: 0;
  border: 1px solid rgba(116, 191, 255, 0.33);
  background: rgba(10, 25, 48, 0.65);
}

.profile-discord-item span {
  display: block;
  font-size: 0.7rem;
  color: #8abbe2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile-discord-item strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.95rem;
  color: #e9f7ff;
  word-break: break-word;
}

.profile-minecraft {
  margin-top: 0;
  padding: 0.9rem;
  border: 1px solid rgba(108, 182, 255, 0.4);
  border-radius: 0;
  background: linear-gradient(145deg, rgba(8, 24, 48, 0.9), rgba(5, 16, 31, 0.92));
}

.profile-minecraft-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.profile-link-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}

.profile-link-status.linked {
  color: #d5ffeb;
  background: rgba(31, 111, 80, 0.45);
  border-color: rgba(114, 255, 194, 0.45);
}

.profile-link-status.unlinked {
  color: #ffdede;
  background: rgba(117, 42, 42, 0.45);
  border-color: rgba(255, 140, 140, 0.45);
}

.profile-minecraft-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.profile-minecraft-item {
  padding: 0.65rem 0.75rem;
  border-radius: 0;
  border: 1px solid rgba(116, 191, 255, 0.33);
  background: rgba(10, 25, 48, 0.65);
}

.profile-minecraft-item span {
  display: block;
  font-size: 0.7rem;
  color: #8abbe2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile-minecraft-item strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.95rem;
  color: #e9f7ff;
  word-break: break-word;
}

.tag {
  display: inline-block;
  font-family: "Press Start 2P", monospace;
  color: #04263c;
  background: var(--pixel);
  border-radius: 4px;
  padding: 0.5rem 0.7rem;
  font-size: 0.58rem;
}

.spotlight-info ul {
  padding-left: 1rem;
  color: #c3e6ff;
  margin: 1.2rem 0;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.explore-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 1.2rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  transform-style: preserve-3d;
}

.explore-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(140deg, rgba(79, 195, 247, 0.18), transparent 55%, rgba(124, 77, 255, 0.12));
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.explore-card:hover {
  border-color: rgba(0, 229, 255, 0.75);
  box-shadow: 0 18px 34px rgba(2, 20, 43, 0.55);
}

.explore-card:hover::after { opacity: 1; }

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 1rem;
}

.time {
  min-width: 90px;
  font-family: "Press Start 2P", monospace;
  font-size: 0.55rem;
  color: #90d5ff;
}

.timeline-item p { margin: 0; color: #cce9ff; }

.gameroom-page {
  padding-bottom: 2rem;
}

.gameroom-home-link {
  margin-left: auto;
}

.gameroom-page-head-wrap,
.gamehub-page-head-wrap {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.gameroom-page-head,
.gamehub-page-head {
  max-width: 60rem;
  margin-bottom: 0;
}

.gameroom-page-head h1,
.gamehub-page-head h1 {
  font-size: clamp(1.9rem, 4.8vw, 3.4rem);
  line-height: 1.04;
  max-width: 12ch;
}

.gameroom-page-head .eyebrow,
.gamehub-page-head .eyebrow {
  margin-bottom: 0.75rem;
}

.gameroom-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

.gameroom-hero-copy,
.gameroom-hero-panel,
.gameroom-room-card,
.gameroom-category-card,
.gameroom-activity-panel,
.gameroom-cta-panel,
.gameroom-stat-card {
  background: linear-gradient(155deg, rgba(14, 34, 67, 0.95), rgba(6, 16, 33, 0.92));
  border: 1px solid rgba(25, 247, 255, 0.26);
  border-radius: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 0 1px rgba(25, 247, 255, 0.06);
}

.gameroom-hero-copy {
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}

.gameroom-hero-copy::before {
  content: "";
  position: absolute;
  inset: auto -12% -32% auto;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15), transparent 68%);
  pointer-events: none;
}

.gameroom-hero-copy > * {
  position: relative;
  z-index: 1;
}

.gameroom-badge {
  margin-bottom: 1rem;
}

.gameroom-lead {
  max-width: 58ch;
  font-size: 1.03rem;
  color: #c7e8ff;
}

.gameroom-actions {
  justify-content: flex-start;
}

.gameroom-hero-panel {
  position: relative;
  overflow: hidden;
}

.gameroom-hero-panel::before,
.gameroom-hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.gameroom-hero-panel::before {
  width: 360px;
  height: 360px;
  right: -110px;
  top: -60px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.18), transparent 65%);
}

.gameroom-hero-panel::after {
  width: 300px;
  height: 300px;
  left: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(255, 214, 0, 0.16), transparent 68%);
}

.gameroom-hero-panel-inner {
  position: relative;
  height: 100%;
  min-height: 320px;
  padding: 1.35rem;
  display: grid;
  align-content: space-between;
  gap: 1rem;
}

.gameroom-radar {
  width: min(100%, 290px);
  aspect-ratio: 1;
  border-radius: 24px;
  margin-left: auto;
  background:
    radial-gradient(circle at center, rgba(15, 35, 66, 0.1) 0 28%, transparent 29%),
    radial-gradient(circle at center, rgba(0, 229, 255, 0.26), rgba(0, 229, 255, 0.05) 48%, transparent 72%),
    linear-gradient(180deg, rgba(13, 29, 54, 0.9), rgba(6, 14, 27, 0.94));
  border: 1px solid rgba(111, 189, 255, 0.35);
  box-shadow: inset 0 0 32px rgba(0, 229, 255, 0.12);
  position: relative;
}

.gameroom-radar::before,
.gameroom-radar::after {
  content: "";
  position: absolute;
  inset: 22% 22%;
  border-radius: 50%;
  border: 1px solid rgba(120, 203, 255, 0.28);
}

.gameroom-radar::after {
  inset: 42% 42%;
  background: rgba(255, 214, 0, 0.78);
  box-shadow: 0 0 18px rgba(255, 214, 0, 0.75);
}

.gameroom-hero-panel-text h2 {
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  line-height: 1.18;
}

.gameroom-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
}

.gameroom-stat-card {
  padding: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gameroom-stat-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.14), rgba(255, 214, 0, 0.7), rgba(124, 77, 255, 0.18));
}

.gameroom-stat-card p {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gameroom-stat-card h3 {
  margin-top: 0.45rem;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.75rem, 1.8vw, 1rem);
  color: #e7fbff;
}

.gameroom-section {
  padding-top: 2rem;
}

.gameroom-featured-grid,
.gameroom-category-grid {
  display: grid;
  gap: 1rem;
}

.gameroom-featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gameroom-room-card,
.gameroom-category-card,
.gameroom-activity-panel,
.gameroom-cta-panel {
  padding: 1.2rem;
}

.gameroom-room-card {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gameroom-room-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(79, 195, 247, 0.15), transparent 45%, rgba(124, 77, 255, 0.12));
  opacity: 0.85;
}

.gameroom-room-card > * {
  position: relative;
  z-index: 1;
}

.gameroom-room-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.68);
  box-shadow: 0 18px 34px rgba(2, 20, 43, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.gameroom-room-card h3 {
  margin-top: 1rem;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.gameroom-room-card p {
  color: #c9e7ff;
}

.gameroom-room-meta {
  margin-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
}

.gameroom-room-link {
  font-weight: 700;
}

.accent-cyan { border-color: rgba(0, 229, 255, 0.45); }
.accent-violet { border-color: rgba(124, 77, 255, 0.55); }
.accent-gold { border-color: rgba(255, 214, 0, 0.55); }

.gameroom-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gameroom-category-card {
  position: relative;
  overflow: hidden;
}

.gameroom-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.08), transparent 42%, rgba(0, 229, 255, 0.06));
  pointer-events: none;
}

.gameroom-category-card > * {
  position: relative;
  z-index: 1;
}

.gameroom-category-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.gameroom-category-top h3,
.gameroom-category-top span {
  margin: 0;
  font-family: "Orbitron", sans-serif;
}

.gameroom-category-top span {
  color: var(--pixel);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.gameroom-two-column {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1rem;
}

.gameroom-activity-list {
  display: grid;
  gap: 0.85rem;
}

.gameroom-activity-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 0.85rem;
  border-radius: 0;
  background: rgba(10, 25, 48, 0.65);
  border: 1px solid rgba(116, 191, 255, 0.25);
}

.gameroom-activity-panel {
  position: relative;
}

.gameroom-activity-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.18), rgba(255, 214, 0, 0.7), rgba(124, 77, 255, 0.18));
}

.gameroom-activity-item span {
  font-family: "Press Start 2P", monospace;
  font-size: 0.55rem;
  color: #97d7ff;
}

.gameroom-activity-item p {
  margin: 0;
  color: #def0ff;
}

.gameroom-cta-panel {
  display: grid;
  align-content: center;
  gap: 0.85rem;
  background: linear-gradient(155deg, rgba(9, 26, 49, 0.98), rgba(5, 16, 31, 0.95));
  position: relative;
  overflow: hidden;
}

.gameroom-cta-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 0, 0.14), transparent 70%);
  pointer-events: none;
}

.gameroom-cta-panel > * {
  position: relative;
  z-index: 1;
}

.gameroom-cta-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.gameroom-cta-panel p {
  max-width: 52ch;
}

.gamehub-shell {
  padding-bottom: 2rem;
}

.gamehub-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: auto;
}

.gamehub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 1rem;
  align-items: stretch;
}

.gamehub-hero-copy,
.gamehub-hero-panel,
.gamehub-card,
.gamehub-lineup-card,
.gamehub-activity-panel,
.gamehub-cta-panel,
.gamehub-stat-card {
  background: linear-gradient(155deg, rgba(14, 34, 67, 0.95), rgba(6, 16, 33, 0.92));
  border: 1px solid rgba(25, 247, 255, 0.24);
  border-radius: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 0 1px rgba(25, 247, 255, 0.06);
}

.arcade-page {
  --hub-accent: #00e5ff;
  --hub-accent-2: #7c4dff;
  --hub-accent-soft: rgba(0, 229, 255, 0.16);
}

.casino-page {
  --hub-accent: #ffd600;
  --hub-accent-2: #ff9f43;
  --hub-accent-soft: rgba(255, 214, 0, 0.16);
}

.gamehub-hero-copy {
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}

.gamehub-hero-copy::before {
  content: "";
  position: absolute;
  inset: auto -12% -30% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--hub-accent) 10%, transparent), transparent 72%);
  pointer-events: none;
}

.gamehub-hero-copy > * {
  position: relative;
  z-index: 1;
}

.gamehub-badge {
  margin-bottom: 1rem;
}

.gamehub-page .tag,
.gamehub-badge {
  background: rgba(12, 28, 52, 0.72);
  color: #dceeff;
  border: 1px solid rgba(159, 215, 255, 0.18);
  box-shadow: none;
}

.gamehub-hero-copy h1 {
  font-size: clamp(1.9rem, 5.1vw, 4rem);
  line-height: 1.02;
  max-width: 11ch;
}

.gamehub-lead {
  max-width: 58ch;
  font-size: 1rem;
  color: #c7e8ff;
}

.gamehub-actions {
  justify-content: flex-start;
}

.gamehub-hero-panel {
  position: relative;
  overflow: hidden;
}

.gamehub-hero-panel::before,
.gamehub-hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.gamehub-hero-panel::before {
  width: 240px;
  height: 240px;
  right: -110px;
  top: -70px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03), transparent 64%);
}

.gamehub-hero-panel::after {
  width: 180px;
  height: 180px;
  left: -90px;
  bottom: -90px;
  background: radial-gradient(circle, color-mix(in srgb, var(--hub-accent) 8%, transparent), transparent 70%);
}

.gamehub-hero-panel-inner {
  position: relative;
  min-height: 300px;
  height: 100%;
  padding: 1.35rem;
  display: grid;
  align-content: space-between;
  gap: 1rem;
}

.gamehub-marquee {
  width: min(100%, 270px);
  min-height: 150px;
  margin-left: auto;
  border-radius: 22px;
  border: 1px solid rgba(159, 215, 255, 0.14);
  background:
    linear-gradient(to right, rgba(79, 195, 247, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79, 195, 247, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(14, 29, 54, 0.92), rgba(6, 15, 29, 0.95));
  background-size: 32px 32px, 32px 32px, auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  align-items: end;
  padding: 1rem;
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.02);
}

.gamehub-marquee span {
  display: block;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--hub-accent) 82%, white 8%), color-mix(in srgb, var(--hub-accent-2) 82%, #111 18%));
  box-shadow: 0 0 8px color-mix(in srgb, var(--hub-accent) 24%, transparent);
  opacity: 0.82;
}

.gamehub-marquee span:nth-child(1) { height: 38%; opacity: 0.58; }
.gamehub-marquee span:nth-child(2) { height: 70%; opacity: 0.78; }
.gamehub-marquee span:nth-child(3) { height: 54%; opacity: 0.64; }

.gamehub-hero-panel-text h2 {
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  line-height: 1.18;
}

.gamehub-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gamehub-chip {
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  background: rgba(10, 24, 46, 0.42);
  border: 1px solid rgba(159, 215, 255, 0.12);
  color: #c4dcf5;
  font-size: 0.82rem;
}

.gamehub-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
}

.gamehub-stat-card {
  padding: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gamehub-stat-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--hub-accent) 24%, transparent), var(--hub-accent-2), color-mix(in srgb, var(--hub-accent) 22%, transparent));
}

.gamehub-stat-card p {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gamehub-stat-card h3 {
  margin-top: 0.45rem;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.75rem, 1.8vw, 1rem);
  color: #e7fbff;
}

.gamehub-section {
  padding-top: 2rem;
}

.gamehub-card-grid,
.gamehub-lineup-grid {
  display: grid;
  gap: 1rem;
}

.gamehub-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gamehub-lineup-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gamehub-card,
.gamehub-lineup-card,
.gamehub-activity-panel,
.gamehub-cta-panel {
  padding: 1.2rem;
}

.gamehub-card,
.gamehub-lineup-card {
  position: relative;
  overflow: hidden;
}

.gamehub-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gamehub-card::after,
.gamehub-lineup-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, color-mix(in srgb, var(--hub-accent) 9%, transparent), transparent 52%, color-mix(in srgb, var(--hub-accent-2) 7%, transparent));
  opacity: 0.78;
}

.gamehub-card > *,
.gamehub-lineup-card > * {
  position: relative;
  z-index: 1;
}

.gamehub-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--hub-accent) 30%, white 6%);
  box-shadow: 0 12px 24px rgba(2, 20, 43, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.gamehub-card.is-primary {
  min-height: 320px;
}

.gamehub-card.is-disabled {
  opacity: 0.92;
}

.gamehub-card-art,
.gamehub-lineup-art {
  width: 74px;
  height: 74px;
  border-radius: 0;
  border: 1px solid rgba(159, 215, 255, 0.16);
  display: grid;
  place-items: center;
  background: rgba(8, 18, 35, 0.58);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.02);
}

.gamehub-card-art span,
.gamehub-lineup-art {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.8rem, 2vw, 1rem);
  color: #eff9ff;
}

.gamehub-card h3,
.gamehub-lineup-card h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.gamehub-card p,
.gamehub-lineup-card p {
  margin: 0;
  color: #c9e7ff;
}

.gamehub-card p {
  line-height: 1.45;
  min-height: calc(1.45em * 3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.gamehub-card-linkrow {
  margin-top: auto;
  padding-top: 0.72rem;
  border-top: 1px solid rgba(159, 215, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
}

.gamehub-card-cta {
  font-weight: 700;
}

.gamehub-card-cta.is-muted {
  color: #e7c97a;
}

.gamehub-two-column {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1rem;
}

.gamehub-activity-panel,
.gamehub-cta-panel {
  position: relative;
}

.gamehub-activity-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--hub-accent) 18%, transparent), var(--hub-accent-2), color-mix(in srgb, var(--hub-accent) 18%, transparent));
}

.gamehub-activity-list {
  display: grid;
  gap: 0.85rem;
}

.gamehub-activity-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 0.85rem;
  border-radius: 0;
  background: rgba(10, 25, 48, 0.65);
  border: 1px solid rgba(116, 191, 255, 0.25);
}

.gamehub-activity-item span {
  font-family: "Press Start 2P", monospace;
  font-size: 0.55rem;
  color: #97d7ff;
}

.gamehub-activity-item p {
  margin: 0;
  color: #def0ff;
}

.gamehub-cta-panel {
  display: grid;
  align-content: center;
  gap: 0.85rem;
  background: linear-gradient(155deg, rgba(9, 26, 49, 0.98), rgba(5, 16, 31, 0.95));
  overflow: hidden;
}

.gamehub-cta-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--hub-accent-soft), transparent 70%);
  pointer-events: none;
}

.gamehub-cta-panel > * {
  position: relative;
  z-index: 1;
}

.gamehub-cta-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.gamehub-cta-panel p {
  max-width: 52ch;
}

.mobile-quicknav {
  display: none;
}

.mobile-nav-menu {
  position: relative;
  width: auto;
  min-width: 7.25rem;
  display: none;
}

.mobile-nav-menu > summary {
  list-style: none;
}

.mobile-nav-menu > summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-menu-trigger {
  min-height: 52px;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(111, 189, 255, 0.3);
  background: linear-gradient(180deg, rgba(21, 44, 75, 0.98), rgba(10, 22, 39, 0.98));
  color: #e4f2ff;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.15;
  text-align: left;
  box-shadow: 0 8px 18px rgba(2, 18, 40, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mobile-nav-menu-trigger:hover,
.mobile-nav-menu-trigger:focus-visible {
  border-color: rgba(128, 206, 255, 0.5);
  box-shadow: 0 10px 24px rgba(2, 22, 45, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  outline: none;
}

.mobile-nav-menu-trigger::after {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
  color: #9ed8ff;
}

.mobile-nav-menu[open] .mobile-nav-menu-trigger::after {
  content: "-";
}

.mobile-nav-menu-panel {
  position: fixed;
  top: calc(4.35rem + env(safe-area-inset-top, 0px));
  right: calc(1rem + env(safe-area-inset-right, 0px));
  width: min(19rem, calc(100vw - 2rem));
  margin-top: 0;
  display: grid;
  gap: 0.5rem;
  padding: 0.55rem;
  border-radius: 0;
  border: 1px solid rgba(102, 173, 237, 0.34);
  background: linear-gradient(180deg, rgba(8, 19, 36, 0.96), rgba(5, 13, 26, 0.96));
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 34px rgba(1, 12, 30, 0.52);
  opacity: 0;
  transform: translate3d(14px, -14px, 0) scale(0.985);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 160ms ease, transform 190ms ease;
  z-index: 1200;
}

.mobile-nav-menu[open] .mobile-nav-menu-panel {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.mobile-nav-menu-link {
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  border-radius: 0;
  border: 1px solid rgba(126, 196, 255, 0.18);
  background: linear-gradient(180deg, rgba(15, 31, 56, 0.96), rgba(8, 18, 35, 0.96));
  color: #e4f2ff;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.1;
  text-align: center;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.mobile-nav-menu-link:hover,
.mobile-nav-menu-link:focus-visible {
  border-color: rgba(142, 214, 255, 0.42);
  background: linear-gradient(180deg, rgba(19, 39, 69, 0.96), rgba(10, 22, 41, 0.96));
  transform: translateY(-1px);
  outline: none;
}

.mobile-nav-submenu > summary {
  list-style: none;
}

.mobile-nav-submenu > summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-submenu-trigger {
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  border-radius: 0;
  border: 1px solid rgba(126, 196, 255, 0.18);
  background: linear-gradient(180deg, rgba(15, 31, 56, 0.96), rgba(8, 18, 35, 0.96));
  color: #e4f2ff;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.1;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-submenu-trigger::after {
  content: "+";
  color: #9ed8ff;
  font-size: 1rem;
  line-height: 1;
}

.mobile-nav-submenu[open] .mobile-nav-submenu-trigger::after {
  content: "-";
}

.mobile-nav-submenu-panel {
  margin-top: 0.35rem;
  margin-left: 0.35rem;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(108, 186, 255, 0.32);
  display: grid;
  gap: 0.35rem;
}

.mobile-nav-submenu-link {
  min-height: 42px;
  padding: 0.62rem 0.7rem;
  border-radius: 0;
  border: 1px solid rgba(126, 196, 255, 0.15);
  background: rgba(10, 23, 44, 0.86);
  color: #d3ebff;
  font-weight: 600;
  font-size: 0.84rem;
  line-height: 1.1;
  text-align: left;
}

.mobile-nav-submenu-link:hover,
.mobile-nav-submenu-link:focus-visible {
  border-color: rgba(142, 214, 255, 0.35);
  background: rgba(14, 31, 56, 0.92);
  outline: none;
}

@media (max-width: 1065px) {
  .gamehub-nav-links {
    margin-left: 0;
  }

  .gamehub-hero {
    grid-template-columns: 1fr;
  }

  .gamehub-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gamehub-card-grid,
  .gamehub-lineup-grid,
  .gamehub-two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gamehub-nav-links,
  .gamehub-hero-panel {
    display: none;
  }

  .site-header .mobile-nav-menu {
    display: block;
    margin-left: auto;
  }

  .gamehub-stats {
    grid-template-columns: 1fr;
  }

  .gamehub-card-linkrow,
  .gamehub-activity-item {
    grid-template-columns: 1fr;
    display: grid;
  }
}

.site-footer {
  border-top: 1px solid rgba(124, 183, 240, 0.25);
  margin-top: 3rem;
}

.footer-inner {
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
  color: #d5edff;
  font-family: "Orbitron", sans-serif;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
}

/* Landing redesign */
.landing-page .hero {
  min-height: clamp(640px, 88vh, 900px);
  padding: 5.2rem 0 3.2rem;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.landing-hero-frame,
.landing-hero-panel,
.landing-page .spotlight-card,
.landing-page .explore-card,
.landing-page .timeline-item,
.landing-page .stat-card {
  position: relative;
  border-radius: 0;
  border: 1px solid rgba(25, 247, 255, 0.36);
  background:
    linear-gradient(180deg, rgba(11, 25, 50, 0.94), rgba(5, 12, 25, 0.98)),
    repeating-linear-gradient(0deg, rgba(11, 35, 67, 0.14) 0, rgba(11, 35, 67, 0.14) 2px, transparent 2px, transparent 4px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 0 0 3px rgba(8, 20, 40, 0.85),
    0 22px 40px rgba(0, 0, 0, 0.3);
}

.landing-hero-frame {
  padding: 1.4rem 1.35rem 1.55rem;
  display: grid;
  gap: 0.8rem;
}

.landing-hero-frame .hero-type,
.landing-hero-frame h1 {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  text-align: left;
}

.landing-hero-frame .hero-actions {
  justify-content: flex-start;
}

.landing-hero-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.landing-hero-panel-topbar,
.landing-card-topbar {
  min-height: 40px;
  padding: 0.55rem 0.78rem;
  border-bottom: 1px solid rgba(25, 247, 255, 0.24);
  background: rgba(8, 22, 46, 0.92);
  font-family: "Press Start 2P", monospace;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: #c6e9ff;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-card-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.landing-page .spotlight-card,
.landing-page .explore-card {
  padding-top: 2.5rem;
}

.landing-page .explore-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.landing-page .explore-card a {
  display: inline-flex;
  align-items: center;
  width: 100%;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(25, 247, 255, 0.26);
}

.landing-hero-panel-body {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem 0.78rem;
}

.landing-hero-kv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.62rem;
  border: 1px solid rgba(25, 247, 255, 0.22);
  background: rgba(8, 19, 38, 0.74);
}

.landing-hero-kv span {
  margin: 0;
  color: #b9d8f5;
  font-size: 0.72rem;
  font-family: "Press Start 2P", monospace;
}

.landing-hero-kv strong {
  margin: 0;
  color: #8dfdff;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
}

.landing-hero-panel-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.78rem;
  border-top: 1px solid rgba(25, 247, 255, 0.2);
}

.landing-page .stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.landing-page .stats .section-head {
  grid-column: 1 / -1;
  margin-bottom: 0.35rem;
}

.landing-page .stat-card {
  text-align: left;
}

.landing-page .stat-card h3 {
  font-size: clamp(0.68rem, 1.5vw, 0.9rem);
}

.landing-page .timeline {
  border-left: 1px solid rgba(25, 247, 255, 0.34);
  padding-left: 0.9rem;
}

.landing-page .timeline-item {
  border-left: 0;
}

.landing-page .hero-glow {
  width: min(76vw, 980px);
  height: min(76vw, 980px);
  top: 42%;
  background: radial-gradient(circle, rgba(25, 247, 255, 0.22), rgba(77, 130, 255, 0.14) 46%, transparent 72%);
}

@media (min-width: 769px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: linear-gradient(180deg, rgba(8, 18, 35, 0.9), rgba(8, 18, 35, 0.78));
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(95, 174, 239, 0.26);
  }

  .site-header.scrolled {
    background: linear-gradient(180deg, rgba(7, 16, 31, 0.96), rgba(7, 16, 31, 0.88));
    border-bottom-color: rgba(128, 200, 255, 0.34);
  }

  .nav {
    min-height: 82px;
  }

  .section {
    padding: 5.4rem 0;
  }

  .hero {
    min-height: 82vh;
  }

  .spotlight-card,
  .explore-card,
  .timeline-item,
  .gameroom-room-card,
  .gameroom-category-card,
  .gameroom-activity-panel,
  .gameroom-cta-panel,
  .gamehub-card,
  .gamehub-lineup-card,
  .gamehub-activity-panel,
  .gamehub-cta-panel {
    box-shadow: 0 14px 30px rgba(1, 12, 30, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }

  .section-head h2 {
    letter-spacing: 0.015em;
  }
}

@media (max-width: 1024px) {
  .landing-hero-grid {
    grid-template-columns: 1fr;
  }

  .landing-page .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .landing-page .hero {
    min-height: 76vh;
    padding-top: 3.2rem;
  }

  .landing-hero-frame,
  .landing-hero-panel,
  .landing-page .spotlight-card,
  .landing-page .explore-card,
  .landing-page .timeline-item,
  .landing-page .stat-card {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.03),
      inset 0 0 0 2px rgba(8, 20, 40, 0.85),
      0 12px 24px rgba(0, 0, 0, 0.28);
  }

  .landing-hero-panel-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .spotlight-card { grid-template-columns: 1fr; }
  .profile-header { grid-template-columns: 1fr; }
  .profile-meta-list { grid-template-columns: 1fr; }
  .profile-points { grid-template-columns: 1fr; }
  .profile-side-by-side { grid-template-columns: 1fr; }
  .profile-discord-grid { grid-template-columns: 1fr; }
  .profile-minecraft-grid { grid-template-columns: 1fr; }
  .gameroom-hero { grid-template-columns: 1fr; }
  .gameroom-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gameroom-featured-grid { grid-template-columns: 1fr; }
  .gameroom-category-grid { grid-template-columns: 1fr; }
  .gameroom-two-column { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1300;
    background: rgba(8, 16, 32, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(79, 195, 247, 0.25);
  }

  .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .gamehub-page .container {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }

  .landing-page .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section {
    padding: 3.1rem 0;
  }

  .section-head {
    margin-bottom: 1rem;
  }

  .nav-links,
  .site-header .btn-discord { display: none; }

  .site-header .nav-auth {
    display: none;
  }

  .gameroom-home-link,
  .gameroom-hero-panel { display: none; }

  .menu-toggle { display: inline-block; }

  .hero {
    min-height: 76vh;
    padding-top: 2.5rem;
  }

  .auth-login-page .hero {
    min-height: 100dvh;
    padding-top: 0;
  }

  .auth-login-page .hero-content {
    min-height: 100dvh;
    justify-content: flex-start;
    gap: 0.5rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .auth-login-page .auth-note-card {
    margin-top: auto;
    width: 100%;
  }

  .auth-login-page .hero-actions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .explore-grid { grid-template-columns: 1fr; }

  .gameroom-stats { grid-template-columns: 1fr; }
  .gameroom-page {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .gameroom-section {
    padding-top: 1.35rem;
  }

  .gameroom-featured-grid,
  .gameroom-category-grid,
  .gameroom-two-column,
  .gameroom-activity-list {
    gap: 0.75rem;
  }

  .gameroom-hero-copy {
    padding: 1.2rem;
  }
  .gameroom-room-card,
  .gameroom-category-card,
  .gameroom-activity-panel,
  .gameroom-cta-panel,
  .gameroom-stat-card {
    border-radius: 16px;
  }
  .gameroom-room-meta,
  .gameroom-category-top,
  .gameroom-activity-item {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 1.4rem 0;
  }
}

@media (max-width: 520px) {
  .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .gamehub-page .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .landing-page .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .auth-login-page .hero-content {
    min-height: 100dvh;
    gap: 0.45rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .auth-login-page .hero-actions {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .mobile-nav-menu-trigger {
    min-height: 50px;
    padding: 0.72rem 0.65rem;
    border-radius: 0;
    font-size: 0.83rem;
  }

  .mobile-nav-menu-panel {
    top: calc(4.1rem + env(safe-area-inset-top, 0px));
    right: calc(0.75rem + env(safe-area-inset-right, 0px));
    width: min(18rem, calc(100vw - 1.5rem));
    gap: 0.45rem;
    padding: 0.45rem;
  }

  .mobile-nav-menu-link {
    min-height: 44px;
    font-size: 0.82rem;
  }

  .gameroom-page {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .gameroom-hero-copy,
  .gameroom-room-card,
  .gameroom-category-card,
  .gameroom-activity-panel,
  .gameroom-cta-panel,
  .gameroom-stat-card {
    padding: 1rem;
  }
}

/* Unified top bar throughout shared site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1400;
  border-bottom: 1px solid rgba(25, 247, 255, 0.26);
  background: linear-gradient(180deg, rgba(7, 16, 31, 0.94), rgba(7, 16, 31, 0.82));
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.site-header.scrolled {
  border-bottom-color: rgba(25, 247, 255, 0.34);
  background: linear-gradient(180deg, rgba(6, 14, 27, 0.96), rgba(6, 14, 27, 0.88));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.site-header .nav {
  min-height: 78px;
  gap: 0.8rem;
}

.site-header .brand {
  min-height: 42px;
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(25, 247, 255, 0.24);
  background: linear-gradient(180deg, rgba(12, 28, 54, 0.78), rgba(7, 16, 32, 0.9));
}

.site-header .desktop-nav > li > a,
.site-header .desktop-dropdown-toggle,
.site-header .btn-discord,
.site-header .nav-auth .btn {
  min-height: 42px;
  padding: 0.58rem 0.82rem;
  border: 1px solid rgba(25, 247, 255, 0.24);
  background: linear-gradient(180deg, rgba(10, 24, 48, 0.8), rgba(6, 14, 28, 0.92));
  color: #d8ecff;
  border-radius: 0;
}

.site-header .desktop-nav > li > a:hover,
.site-header .desktop-nav > li > a:focus-visible,
.site-header .desktop-dropdown-toggle:hover,
.site-header .desktop-dropdown-toggle:focus-visible,
.site-header .btn-discord:hover,
.site-header .btn-discord:focus-visible,
.site-header .nav-auth .btn:hover,
.site-header .nav-auth .btn:focus-visible {
  border-color: rgba(25, 247, 255, 0.5);
  background: linear-gradient(180deg, rgba(15, 35, 70, 0.94), rgba(8, 18, 36, 0.98));
  color: #f2f9ff;
}

.site-header .desktop-dropdown-panel {
  border-color: rgba(25, 247, 255, 0.32);
  box-shadow: 0 18px 34px rgba(1, 12, 30, 0.56), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.site-header .mobile-nav-menu-trigger {
  min-height: 44px;
  border-color: rgba(25, 247, 255, 0.26);
  background: linear-gradient(180deg, rgba(12, 28, 54, 0.94), rgba(7, 16, 32, 0.96));
}

.site-header .mobile-nav-menu-panel {
  border-color: rgba(25, 247, 255, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.site-header .mobile-nav-menu-link,
.site-header .mobile-nav-submenu-trigger,
.site-header .mobile-nav-submenu-link {
  border-color: rgba(25, 247, 255, 0.2);
  background: linear-gradient(180deg, rgba(11, 24, 45, 0.9), rgba(7, 16, 31, 0.94));
}

@media (max-width: 768px) {
  .site-header {
    border-bottom-color: rgba(25, 247, 255, 0.24);
  }

  .site-header .nav {
    min-height: 70px;
  }

  .site-header .brand {
    min-height: 40px;
    padding: 0.36rem 0.56rem;
  }
}

/* Game Room refinement pass */
.gameroom-page {
  background:
    radial-gradient(circle at 12% 14%, rgba(25, 247, 255, 0.08), transparent 34%),
    radial-gradient(circle at 84% 12%, rgba(255, 226, 111, 0.07), transparent 28%);
}

.gameroom-section .section-head {
  margin-bottom: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(25, 247, 255, 0.22);
}

.gameroom-featured-grid,
.gameroom-category-grid,
.gameroom-two-column {
  gap: 1.1rem;
}

.gameroom-room-card,
.gameroom-category-card,
.gameroom-activity-panel,
.gameroom-cta-panel,
.gameroom-stat-card,
.gameroom-hero-copy,
.gameroom-hero-panel {
  border-color: rgba(25, 247, 255, 0.3);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 0 0 3px rgba(8, 20, 40, 0.78),
    0 16px 32px rgba(1, 12, 30, 0.32);
}

.gameroom-room-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 250px;
}

.gameroom-room-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gameroom-room-meta {
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(25, 247, 255, 0.16);
}

.gameroom-category-card {
  min-height: 160px;
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.gameroom-activity-item {
  border-radius: 0;
  border-color: rgba(25, 247, 255, 0.24);
}

.gameroom-activity-item span {
  display: inline-grid;
  place-items: center;
  min-height: 32px;
  padding: 0.3rem 0.45rem;
  border: 1px solid rgba(25, 247, 255, 0.22);
  background: rgba(6, 15, 30, 0.76);
}

.gameroom-cta-panel {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

@media (max-width: 960px) {
  .gameroom-room-card,
  .gameroom-category-card {
    min-height: 0;
  }
}

/* Game Room consolidated override */
.gameroom-page {
  padding-top: 0.4rem;
  background:
    radial-gradient(circle at 10% 8%, rgba(25, 247, 255, 0.16), transparent 34%),
    radial-gradient(circle at 90% 16%, rgba(255, 226, 111, 0.12), transparent 30%),
    linear-gradient(180deg, #0a1730 0%, #040913 100%) !important;
}

.gameroom-page .gameroom-section .section-head {
  border-bottom: 2px solid rgba(25, 247, 255, 0.62) !important;
  padding-bottom: 0.72rem !important;
  margin-bottom: 1.15rem !important;
}

.gameroom-page .gameroom-section .section-head h2 {
  color: #ffffff !important;
  text-shadow: 0 0 24px rgba(25, 247, 255, 0.28), 2px 2px 0 rgba(0, 0, 0, 0.92);
}

.gameroom-page .gameroom-hero-copy,
.gameroom-page .gameroom-hero-panel,
.gameroom-page .gameroom-room-card,
.gameroom-page .gameroom-category-card,
.gameroom-page .gameroom-activity-panel,
.gameroom-page .gameroom-cta-panel,
.gameroom-page .gameroom-stat-card {
  border: 2px solid rgba(25, 247, 255, 0.62) !important;
  background:
    linear-gradient(180deg, rgba(13, 31, 60, 0.96), rgba(6, 13, 28, 0.98)),
    repeating-linear-gradient(0deg, rgba(11, 35, 67, 0.16) 0, rgba(11, 35, 67, 0.16) 2px, transparent 2px, transparent 4px) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 0 4px rgba(8, 20, 40, 0.92),
    0 24px 42px rgba(1, 12, 30, 0.45),
    0 0 18px rgba(25, 247, 255, 0.16) !important;
}

.gameroom-page .gameroom-room-card,
.gameroom-page .gameroom-category-card {
  position: relative;
}

.gameroom-page .gameroom-room-card::before,
.gameroom-page .gameroom-category-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(25, 247, 255, 0.25), rgba(25, 247, 255, 1), rgba(25, 247, 255, 0.25));
  pointer-events: none;
}

.gameroom-page .gameroom-room-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 250px;
}

.gameroom-page .gameroom-room-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gameroom-page .gameroom-room-meta {
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(25, 247, 255, 0.18);
}

.gameroom-page .gameroom-activity-item {
  border: 1px solid rgba(25, 247, 255, 0.34) !important;
  background: rgba(8, 20, 40, 0.82) !important;
}

.gameroom-page .gameroom-activity-item span,
.gameroom-page .gameroom-room-card .tag,
.gameroom-page .gameroom-category-card .tag {
  border-radius: 0 !important;
  border: 1px solid rgba(255, 226, 111, 0.44) !important;
  background: rgba(34, 29, 8, 0.58) !important;
  color: #ffe88e !important;
}

.gameroom-page .gameroom-room-card h3,
.gameroom-page .gameroom-category-card h3,
.gameroom-page .gameroom-cta-panel h2 {
  color: #49f0ff !important;
  text-shadow: 0 0 14px rgba(25, 247, 255, 0.2);
}

@media (max-width: 960px) {
  .gameroom-page .gameroom-room-card,
  .gameroom-page .gameroom-category-card {
    min-height: 0;
  }
}

/* Arcade + Casino page redesign */
body.gamehub-page.arcade-page {
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 229, 255, 0.2), transparent 36%),
    radial-gradient(circle at 88% 14%, rgba(124, 77, 255, 0.2), transparent 34%),
    linear-gradient(180deg, #0a1a36 0%, #050c1a 100%) !important;
}

body.gamehub-page.casino-page {
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 214, 0, 0.24), transparent 36%),
    radial-gradient(circle at 90% 12%, rgba(255, 120, 54, 0.2), transparent 34%),
    linear-gradient(180deg, #2a1406 0%, #130a05 100%) !important;
}

body.gamehub-page.arcade-page .gamehub-page-head,
body.gamehub-page.casino-page .gamehub-page-head {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 0.9rem;
  padding: 1.35rem 1.5rem 1.25rem;
  border: 2px solid color-mix(in srgb, var(--hub-accent) 52%, #ffffff 10%) !important;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(12, 26, 52, 0.94), rgba(6, 14, 29, 0.96)),
    repeating-linear-gradient(0deg, rgba(14, 37, 74, 0.14) 0, rgba(14, 37, 74, 0.14) 2px, transparent 2px, transparent 5px) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 0 4px rgba(8, 20, 40, 0.92),
    0 24px 46px rgba(0, 0, 0, 0.42),
    0 0 22px color-mix(in srgb, var(--hub-accent) 24%, transparent) !important;
}

body.gamehub-page.arcade-page .gamehub-page-head {
  border-top: 4px solid #00e5ff !important;
}

body.gamehub-page.casino-page .gamehub-page-head {
  border-top: 4px solid #ffd600 !important;
}

body.gamehub-page.arcade-page .gamehub-page-head h1,
body.gamehub-page.arcade-page .gamehub-section .section-head h2 {
  margin: 0;
  color: #b9f5ff !important;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.38), 2px 2px 0 rgba(0, 0, 0, 0.85);
}

body.gamehub-page.casino-page .gamehub-page-head h1,
body.gamehub-page.casino-page .gamehub-section .section-head h2 {
  margin: 0;
  color: #ffec9e !important;
  text-shadow: 0 0 20px rgba(255, 214, 0, 0.36), 2px 2px 0 rgba(0, 0, 0, 0.85);
}

body.gamehub-page.arcade-page .gamehub-page-head .eyebrow,
body.gamehub-page.casino-page .gamehub-page-head .eyebrow,
body.gamehub-page.arcade-page .gamehub-page-head .gamehub-lead,
body.gamehub-page.casino-page .gamehub-page-head .gamehub-lead {
  margin: 0;
}

body.gamehub-page.arcade-page .gamehub-page-head .gamehub-lead,
body.gamehub-page.casino-page .gamehub-page-head .gamehub-lead {
  max-width: 64ch;
}

body.gamehub-page.arcade-page .gamehub-card,
body.gamehub-page.arcade-page .gamehub-lineup-card,
body.gamehub-page.arcade-page .gamehub-activity-panel,
body.gamehub-page.arcade-page .gamehub-cta-panel,
body.gamehub-page.arcade-page .gamehub-stat-card {
  border: 2px solid rgba(0, 229, 255, 0.58) !important;
  background:
    linear-gradient(180deg, rgba(10, 30, 61, 0.96), rgba(6, 14, 30, 0.98)),
    repeating-linear-gradient(0deg, rgba(19, 56, 101, 0.15) 0, rgba(19, 56, 101, 0.15) 2px, transparent 2px, transparent 4px) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 0 4px rgba(8, 20, 40, 0.9),
    0 16px 34px rgba(3, 15, 37, 0.45),
    0 0 18px rgba(0, 229, 255, 0.15) !important;
}

body.gamehub-page.casino-page .gamehub-card,
body.gamehub-page.casino-page .gamehub-lineup-card,
body.gamehub-page.casino-page .gamehub-activity-panel,
body.gamehub-page.casino-page .gamehub-cta-panel,
body.gamehub-page.casino-page .gamehub-stat-card {
  border: 2px solid rgba(255, 214, 0, 0.6) !important;
  background:
    linear-gradient(180deg, rgba(61, 31, 10, 0.95), rgba(29, 16, 8, 0.98)),
    repeating-linear-gradient(0deg, rgba(98, 62, 17, 0.18) 0, rgba(98, 62, 17, 0.18) 2px, transparent 2px, transparent 4px) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 0 4px rgba(44, 24, 9, 0.9),
    0 16px 34px rgba(20, 10, 2, 0.48),
    0 0 18px rgba(255, 214, 0, 0.18) !important;
}

body.gamehub-page.arcade-page .gamehub-card .tag,
body.gamehub-page.arcade-page .gamehub-lineup-card .tag,
body.gamehub-page.arcade-page .gamehub-activity-item span {
  border: 1px solid rgba(123, 229, 255, 0.52) !important;
  background: rgba(7, 31, 54, 0.9) !important;
  color: #ccf6ff !important;
}

body.gamehub-page.casino-page .gamehub-card .tag,
body.gamehub-page.casino-page .gamehub-lineup-card .tag,
body.gamehub-page.casino-page .gamehub-activity-item span {
  border: 1px solid rgba(255, 225, 126, 0.6) !important;
  background: rgba(53, 32, 10, 0.88) !important;
  color: #ffeeb4 !important;
}

body.gamehub-page.arcade-page .gamehub-card h3,
body.gamehub-page.arcade-page .gamehub-lineup-card h3,
body.gamehub-page.arcade-page .gamehub-cta-panel h2 {
  color: #57f1ff !important;
}

body.gamehub-page.arcade-page .gamehub-card-linkrow {
  border-top-color: rgba(0, 229, 255, 0.42);
}

body.gamehub-page.casino-page .gamehub-card h3,
body.gamehub-page.casino-page .gamehub-lineup-card h3,
body.gamehub-page.casino-page .gamehub-cta-panel h2 {
  color: #ffd94f !important;
}

body.gamehub-page.casino-page .gamehub-card-linkrow {
  border-top-color: rgba(255, 214, 0, 0.44);
}

body.gamehub-page.arcade-page .gamehub-card::before,
body.gamehub-page.arcade-page .gamehub-lineup-card::before,
body.gamehub-page.casino-page .gamehub-card::before,
body.gamehub-page.casino-page .gamehub-lineup-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  pointer-events: none;
}

body.gamehub-page.arcade-page .gamehub-card::before,
body.gamehub-page.arcade-page .gamehub-lineup-card::before {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.25), rgba(0, 229, 255, 1), rgba(124, 77, 255, 0.4));
}

body.gamehub-page.casino-page .gamehub-card::before,
body.gamehub-page.casino-page .gamehub-lineup-card::before {
  background: linear-gradient(90deg, rgba(255, 214, 0, 0.24), rgba(255, 214, 0, 1), rgba(255, 120, 54, 0.48));
}

@media (max-width: 960px) {
  body.gamehub-page.arcade-page .gamehub-page-head,
  body.gamehub-page.casino-page .gamehub-page-head {
    padding: 1.05rem 1rem 1rem;
    gap: 0.72rem;
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.04),
      inset 0 0 0 3px rgba(8, 20, 40, 0.92),
      0 14px 26px rgba(0, 0, 0, 0.35) !important;
  }
}
