:root {
  --ink: #edf7ff;
  --ink-soft: #a7bfd0;
  --ink-muted: #6d899e;
  --surface: #030812;
  --surface-soft: #071427;
  --surface-glass: rgba(3, 8, 18, 0.88);
  --line: rgba(0, 240, 255, 0.32);
  --line-dark: rgba(105, 164, 196, 0.16);
  --cyan: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.4);
  --pink: #ff0055;
  --pink-glow: rgba(255, 0, 85, 0.4);
  --purple: #9d4edd;
  --yellow: #ffea00;
  --yellow-glow: rgba(255, 234, 0, 0.4);
  --red: #ff3b3f;
  --green: #00ff66;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.36), 0 0 24px rgba(0, 240, 255, 0.1);
  --header-height: 76px;
  --corner-cut: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  --corner-cut-btn: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  --font-cyber: "Arial Narrow", "Arial", sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background-color: var(--surface);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background-color: var(--surface);
  background-image: linear-gradient(rgba(0, 240, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 240, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--surface);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  outline: none;
}

button {
  background: transparent;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

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

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  font-family: var(--font-cyber);
  font-weight: 700;
  letter-spacing: 1px;
}

p {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.hidden {
  display: none !important;
}

/* Skip link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--cyan);
  color: var(--surface);
  padding: 10px 20px;
  font-family: var(--font-cyber);
  font-weight: 700;
  clip-path: var(--corner-cut-btn);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 10px;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-cyber);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  clip-path: var(--corner-cut-btn);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--cyan);
  color: var(--surface);
  box-shadow: 0 0 15px var(--cyan-glow);
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}
.button-primary:hover:not(:disabled) {
  background: #ffffff;
  color: var(--surface);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}
.button-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  transition: 0.8s;
  opacity: 0;
}
.button-primary:hover::after {
  left: 120%;
  opacity: 1;
}

.button-secondary {
  background: transparent;
  color: var(--pink);
  border: 1px solid var(--pink);
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.1);
}
.button-secondary:hover:not(:disabled) {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 0 20px var(--pink-glow);
  transform: translateY(-2px);
}

.button-quiet {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.button-quiet:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 15px var(--cyan-glow);
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-dark);
}
.button-ghost:hover:not(:disabled) {
  border-color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.03);
}

.button-danger {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
}
.button-danger:hover:not(:disabled) {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 59, 63, 0.4);
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.button-large {
  padding: 16px 36px;
  font-size: 15px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--cyan);
  transition: all 0.3s ease;
}
.icon-button:hover {
  background: var(--cyan);
  color: var(--surface);
  box-shadow: 0 0 15px var(--cyan-glow);
  transform: scale(1.05);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-cyber);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan);
  transition: all 0.2s ease;
  font-size: 13px;
  letter-spacing: 1px;
}
.text-button:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--cyan);
}
.text-button i {
  transition: transform 0.2s ease;
}
.text-button:hover i {
  transform: translateX(4px);
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  font-size: 26px;
  color: var(--cyan);
  filter: drop-shadow(0 0 8px var(--cyan-glow));
  animation: logoPulse 2s infinite alternate;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-copy strong {
  font-family: var(--font-cyber);
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.brand-copy small {
  font-family: var(--font-cyber);
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.desktop-nav a {
  font-family: var(--font-cyber);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
  position: relative;
  padding: 8px 4px;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transition: width 0.3s ease;
}
.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan-glow);
}
.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  width: 100%;
}

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

.server-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: 50px;
  font-size: 12px;
  font-family: var(--font-cyber);
  font-weight: 700;
  color: var(--green);
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.05);
}
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
  display: inline-block;
  animation: pulseGreen 1.5s infinite;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border-color: transparent;
}

/* Mobile Menu */
.mobile-menu {
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  z-index: 99;
}
.mobile-menu[hidden] {
  display: none !important;
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .mobile-menu:not([hidden]) {
    display: flex;
    animation: mobileMenuIn 0.24s ease-out both;
  }
}
.mobile-menu a {
  font-family: var(--font-cyber);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-menu a:hover {
  color: var(--cyan);
}
.mobile-menu button {
  width: 100%;
  padding: 12px;
  background: var(--cyan);
  color: var(--surface);
  font-family: var(--font-cyber);
  font-weight: 700;
  text-transform: uppercase;
  clip-path: var(--corner-cut-btn);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 80px 24px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: url('/launcher/assets/login-background.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: backgroundPulse 20s infinite alternate linear;
}
.hero-shade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 8, 18, 0.7);
  z-index: -1;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.hero-copy {
  max-width: 680px;
}
.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-cyber);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero-copy h1 {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(0, 240, 255, 0.3);
}
.hero-copy p {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(0, 240, 255, 0.2);
  padding-top: 32px;
}
.hero-meta div {
  display: flex;
  flex-direction: column;
}
.hero-meta strong {
  font-family: var(--font-cyber);
  font-size: 20px;
  color: var(--cyan);
}
.hero-meta span {
  font-size: 13px;
  color: var(--ink-soft);
}

.hero-next {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-cyber);
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: bounce 2s infinite;
}

/* Sections */
.section-band {
  padding: 100px 24px;
  position: relative;
}
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.section-heading {
  margin-bottom: 56px;
}
.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-heading .eyebrow {
  display: inline-block;
  font-family: var(--font-cyber);
  font-size: 13px;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.section-heading h2 {
  font-size: 40px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.section-heading p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 600px;
}
.section-heading.centered p {
  margin-left: auto;
  margin-right: auto;
}

.split-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.feature-media,
.guide-media {
  position: relative;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 12px;
  clip-path: var(--corner-cut);
}
.feature-media::before,
.guide-media::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--pink);
  clip-path: var(--corner-cut);
  opacity: 0.3;
  pointer-events: none;
}
.feature-media img,
.guide-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  clip-path: var(--corner-cut);
}

.media-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--pink);
  color: #fff;
  font-family: var(--font-cyber);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 16px;
  clip-path: var(--corner-cut-btn);
  box-shadow: 0 0 15px var(--pink-glow);
}

/* Event Feed */
.event-feed {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.event-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--line-dark);
  padding: 16px 24px;
  transition: all 0.3s ease;
  clip-path: var(--corner-cut-btn);
}
.event-row:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
  transform: translateX(4px);
}
.event-row time {
  font-family: var(--font-cyber);
  font-size: 13px;
  color: var(--cyan);
  font-weight: 700;
}
.event-row strong {
  font-family: var(--font-cyber);
  font-size: 16px;
  color: #fff;
  display: block;
}
.event-row small {
  color: var(--ink-soft);
  font-size: 13px;
}
.event-row button {
  color: var(--cyan);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.event-row button:hover {
  background: var(--cyan);
  color: var(--surface);
  box-shadow: 0 0 10px var(--cyan);
}

/* Skeletons */
.skeleton-line {
  height: 20px;
  background: linear-gradient(90deg, var(--surface-soft) 25%, rgba(0, 240, 255, 0.05) 50%, var(--surface-soft) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 12px;
}
.skeleton-line.short {
  width: 60%;
}

/* Modes Band */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.mode-item {
  background: var(--surface-soft);
  border: 1px solid var(--line-dark);
  padding: 24px;
  transition: all 0.3s ease;
  clip-path: var(--corner-cut);
  position: relative;
}
.mode-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  clip-path: var(--corner-cut);
  opacity: 0.1;
  transition: opacity 0.3s ease;
}
.mode-item:hover {
  transform: translateY(-8px);
  border-color: var(--cyan);
  box-shadow: var(--shadow);
}
.mode-item:hover::before {
  opacity: 1;
}
.mode-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  clip-path: var(--corner-cut-btn);
  margin-bottom: 24px;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}
.mode-item:hover img {
  filter: grayscale(0%);
}
.mode-item div span {
  font-family: var(--font-cyber);
  font-size: 12px;
  color: var(--pink);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.mode-item h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
}
.mode-item p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0;
}

/* Guide Layout */
.guide-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.steps li {
  display: flex;
  gap: 20px;
}
.steps li span {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cyber);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 0 10px var(--cyan-glow);
}
.steps li strong {
  font-family: var(--font-cyber);
  font-size: 16px;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}
.steps li p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0;
}
.guide-actions {
  display: flex;
  gap: 16px;
}

.guide-media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-play {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--pink-glow);
  transition: all 0.3s ease;
  z-index: 2;
}
.media-play:hover {
  transform: scale(1.1);
  background: #fff;
  color: var(--pink);
  box-shadow: 0 0 35px #fff;
}

/* Community Band */
.community-band {
  background: radial-gradient(circle at center, rgba(157, 78, 221, 0.08) 0%, transparent 70%);
}
.community-inner {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  padding: 48px;
  clip-path: var(--corner-cut);
  box-shadow: var(--shadow);
  position: relative;
}
.community-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.community-inner .eyebrow {
  display: inline-block;
  font-family: var(--font-cyber);
  font-size: 13px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.community-inner h2 {
  font-size: 36px;
  text-transform: uppercase;
  color: #fff;
}
.community-inner p {
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 32px;
}
.community-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Dashboard Section */
.dashboard {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  min-height: calc(100vh - 200px);
}

.dashboard-sidebar {
  background: var(--surface-soft);
  border: 1px solid var(--line-dark);
  padding: 24px;
  clip-path: var(--corner-cut);
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: fit-content;
}
.player-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 24px;
}
.player-identity .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  background: rgba(0, 240, 255, 0.05);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 10px var(--cyan-glow);
}
.player-identity span {
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  display: block;
}
.player-identity strong {
  font-family: var(--font-cyber);
  font-size: 16px;
  color: #fff;
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dashboard-nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-cyber);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: all 0.3s ease;
  clip-path: var(--corner-cut-btn);
  text-align: left;
}
.dashboard-nav button i {
  margin-right: 12px;
  font-size: 15px;
  width: 20px;
  text-align: center;
}
.dashboard-nav button > span {
  display: flex;
  align-items: center;
  flex: 1;
}
.dashboard-nav button:hover,
.dashboard-nav button.is-active {
  background: rgba(0, 240, 255, 0.05);
  color: var(--cyan);
  text-shadow: 0 0 5px var(--cyan-glow);
}
.dashboard-nav button.is-active {
  border-left: 3px solid var(--cyan);
}

.nav-badge {
  background: var(--pink);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  box-shadow: 0 0 8px var(--pink-glow);
}

.admin-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-top: auto;
  border: 1px dashed var(--yellow);
  color: var(--yellow);
  font-family: var(--font-cyber);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  clip-path: var(--corner-cut-btn);
  transition: all 0.3s ease;
}
.admin-link:hover {
  background: rgba(255, 234, 0, 0.05);
  box-shadow: 0 0 10px var(--yellow-glow);
}

/* Dashboard Main */
.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 24px;
}
.dashboard-kicker {
  font-family: var(--font-cyber);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--pink);
  letter-spacing: 2px;
  display: block;
}
.dashboard-header h1 {
  font-size: 32px;
  color: #fff;
  margin: 4px 0 0 0;
}
.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Dashboard Content & Layouts */
.content-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.content-intro h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 4px;
}
.content-intro p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line-dark);
  color: var(--ink-soft);
  font-size: 12px;
  font-family: var(--font-cyber);
  font-weight: 700;
  border-radius: 4px;
}
.chip.is-success {
  background: rgba(0, 255, 102, 0.05);
  border-color: rgba(0, 255, 102, 0.2);
  color: var(--green);
}
.chip.is-warning {
  background: rgba(255, 234, 0, 0.05);
  border-color: rgba(255, 234, 0, 0.2);
  color: var(--yellow);
}
.chip.is-danger {
  background: rgba(255, 59, 63, 0.05);
  border-color: rgba(255, 59, 63, 0.2);
  color: var(--red);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.stat-item {
  background: var(--surface-soft);
  border: 1px solid var(--line-dark);
  padding: 20px;
  clip-path: var(--corner-cut-btn);
  position: relative;
}
.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}
.stat-item span {
  font-size: 12px;
  color: var(--ink-soft);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.stat-item strong {
  font-family: var(--font-cyber);
  font-size: 28px;
  color: #fff;
  display: block;
  line-height: 1;
}
.stat-item small {
  font-size: 12px;
  color: var(--ink-muted);
  display: block;
  margin-top: 8px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.panel {
  background: var(--surface-soft);
  border: 1px solid var(--line-dark);
  clip-path: var(--corner-cut);
}
.panel-header {
  border-bottom: 1px solid var(--line-dark);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-header h2 {
  font-size: 18px;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
}
.panel-body {
  padding: 24px;
}

/* Action lists, ticket lists */
.action-list, .data-list, .ticket-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.action-row, .data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}
.action-row:last-child, .data-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.action-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--cyan);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.action-row strong, .data-row strong {
  display: block;
  font-size: 15px;
  color: #fff;
}
.action-row small, .data-row small {
  color: var(--ink-soft);
  font-size: 12px;
}
.mini-button {
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 6px 12px;
  font-family: var(--font-cyber);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  clip-path: var(--corner-cut-btn);
  transition: all 0.2s ease;
}
.mini-button:hover:not(:disabled) {
  background: var(--cyan);
  color: var(--surface);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.no-topup-note {
  border: 1px dashed var(--yellow);
  background: rgba(255, 234, 0, 0.03);
  color: var(--yellow);
  padding: 16px;
  border-radius: 4px;
  font-size: 13px;
  margin-top: 16px;
  line-height: 1.5;
}

/* Rewards view */
.reward-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reward-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--line-dark);
  padding: 20px;
  clip-path: var(--corner-cut-btn);
  transition: all 0.3s ease;
}
.reward-row:hover {
  border-color: var(--line);
  background: rgba(0, 240, 255, 0.02);
}
.reward-row h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
}
.reward-row p {
  color: var(--ink-soft);
  font-size: 13px;
  margin-bottom: 12px;
}
.reward-value {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Forms */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-family: var(--font-cyber);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-soft);
  letter-spacing: 0.5px;
}
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--surface);
  border: 1px solid var(--line-dark);
  color: #fff;
  padding: 12px 16px;
  font-size: 15px;
  clip-path: var(--corner-cut-btn);
  transition: all 0.3s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}
.form-message {
  font-size: 13px;
  color: var(--red);
  margin: 0;
}
.queue-status-card {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 240, 255, 0.28);
  background: rgba(0, 240, 255, 0.06);
  color: var(--ink-soft);
  line-height: 1.35;
}
.queue-status-card strong {
  color: var(--cyan);
  font-family: var(--font-cyber);
  font-size: 12px;
  text-transform: uppercase;
}
.queue-status-card span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.queue-status-card b {
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.notice-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 12px 16px;
  border-radius: 4px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

/* Collection Grid */
.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.search-input {
  background: var(--surface-soft);
  border: 1px solid var(--line-dark);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  flex: 1;
  max-width: 400px;
  clip-path: var(--corner-cut-btn);
  transition: all 0.3s ease;
}
.search-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.collection-item {
  background: var(--surface-soft);
  border: 1px solid var(--line-dark);
  padding: 24px;
  clip-path: var(--corner-cut);
  transition: all 0.3s ease;
  position: relative;
}
.collection-item.is-active {
  border-color: var(--cyan);
  box-shadow: var(--shadow);
}
.collection-item.is-active::after {
  content: 'ACTIVE';
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-cyber);
  font-size: 9px;
  font-weight: 900;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 2px 6px;
  border-radius: 2px;
}
.collection-art {
  height: 100px;
  background: rgba(255,255,255,0.01);
  border: 1px dashed var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  clip-path: var(--corner-cut-btn);
}
.collection-item.is-active .collection-art {
  color: var(--cyan);
  border-color: rgba(0, 240, 255, 0.3);
}
.collection-item h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
}
.collection-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--ink-soft);
}

/* Shop view */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.shop-item {
  background: var(--surface-soft);
  border: 1px solid var(--line-dark);
  padding: 24px;
  clip-path: var(--corner-cut);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shop-item:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow);
}
.shop-item h3 {
  font-size: 18px;
  color: #fff;
  margin: 8px 0;
}
.shop-meta {
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}
.shop-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
}
.price {
  font-family: var(--font-cyber);
  font-weight: 700;
  font-size: 18px;
  color: var(--yellow);
  text-shadow: 0 0 10px rgba(255, 234, 0, 0.2);
}

/* Event Grid */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.event-item {
  background: var(--surface-soft);
  border: 1px solid var(--line-dark);
  padding: 24px;
  clip-path: var(--corner-cut);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.event-item:hover {
  border-color: var(--cyan);
}
.event-item h3 {
  font-size: 18px;
  color: #fff;
  margin: 12px 0;
}
.event-meta {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* Support Layout */
.support-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
}
.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--line-dark);
  padding: 16px 20px;
  clip-path: var(--corner-cut-btn);
  transition: all 0.3s ease;
  text-align: left;
}
.ticket-row:hover {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.02);
}
.ticket-row h3 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.ticket-row p {
  color: var(--ink-soft);
  font-size: 12px;
  margin: 0;
}

/* Account Details */
.account-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}
.account-detail {
  display: grid;
  grid-template-columns: 140px 1fr;
  row-gap: 16px;
  column-gap: 16px;
  margin: 0;
}
.account-detail dt {
  font-family: var(--font-cyber);
  font-size: 12px;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.account-detail dd {
  font-size: 15px;
  color: #fff;
  margin: 0;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 8, 18, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.25);
  position: relative;
  max-width: 500px;
  width: 100%;
  clip-path: var(--corner-cut);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}
.modal-close:hover {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
  box-shadow: 0 0 10px var(--pink-glow);
}

.auth-modal-card {
  max-width: 800px;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
}
.auth-art {
  background-image: linear-gradient(135deg, rgba(255, 0, 85, 0.4), rgba(0, 240, 255, 0.4)), url('/launcher/assets/login-background.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
  position: relative;
}
.auth-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 18, 0.3);
}
.auth-art div {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.auth-art span {
  font-family: var(--font-cyber);
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
}
.auth-art strong {
  font-family: var(--font-cyber);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--cyan);
  letter-spacing: 4px;
}

.auth-content {
  padding: 40px;
}
.auth-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 12px;
}
.auth-tabs button {
  font-family: var(--font-cyber);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.auth-tabs button[aria-selected="true"] {
  color: var(--cyan);
  text-shadow: 0 0 5px var(--cyan-glow);
}

.auth-form h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}
.auth-form p {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 24px;
}

.form-row label {
  font-family: var(--font-cyber);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.input-wrap {
  position: relative;
}
.input-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
}
.input-wrap input {
  width: 100%;
  padding-left: 44px;
  padding-right: 44px;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  color: #fff;
  height: 48px;
  font-size: 15px;
  clip-path: var(--corner-cut-btn);
}
.input-wrap input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}
.input-wrap input.has-action {
  padding-right: 48px;
}
.input-action {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.input-action:hover {
  color: var(--cyan);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  margin-top: 8px;
}
.checkbox-row input {
  margin-top: 3px;
}
.auth-submit {
  width: 100%;
  margin-top: 24px;
}

.detail-modal-card {
  max-width: 600px;
  display: flex;
  flex-direction: column;
}
.modal-heading {
  padding: 24px 24px 16px 24px;
  border-bottom: 1px solid var(--line-dark);
}
.modal-heading .eyebrow {
  font-family: var(--font-cyber);
  font-size: 11px;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
}
.modal-heading h2 {
  font-size: 22px;
  color: #fff;
  margin: 4px 0 0 0;
}
#detail-modal-body {
  padding: 24px;
  max-height: 400px;
  overflow-y: auto;
}
.detail-copy {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--ink-soft);
}
.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Toasts */
.toast-region {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  width: 100%;
}
.toast {
  background: var(--surface-soft);
  border: 1px solid var(--line-dark);
  border-left: 4px solid var(--cyan);
  padding: 16px 20px;
  clip-path: var(--corner-cut-btn);
  display: grid;
  grid-template-columns: 24px 1fr 20px;
  gap: 12px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.is-success {
  border-left-color: var(--green);
}
.toast.is-error {
  border-left-color: var(--red);
}
.toast.is-info {
  border-left-color: var(--cyan);
}
.toast i {
  font-size: 16px;
}
.toast.is-success i { color: var(--green); }
.toast.is-error i { color: var(--red); }
.toast.is-info i { color: var(--cyan); }
.toast p {
  margin: 0;
  font-size: 14px;
  color: #fff;
}
.toast button {
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  width: 20px;
}
.toast button:hover {
  color: #fff;
}

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(3, 8, 18, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-loader span {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(0, 240, 255, 0.1);
  border-left-color: var(--cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 15px var(--cyan-glow);
}

/* Empty/Error state */
.empty-state, .error-state, .loading-state {
  padding: 64px 24px;
  text-align: center;
  background: var(--surface-soft);
  border: 1px solid var(--line-dark);
  clip-path: var(--corner-cut);
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty-state i, .error-state i {
  font-size: 48px;
  color: var(--ink-muted);
  margin-bottom: 20px;
}
.empty-state h3, .error-state h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}
.empty-state p, .error-state p {
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 400px;
  margin: 0 auto;
}
.loading-state {
  min-height: 250px;
  position: relative;
}
.loading-state::after {
  content: '';
  width: 36px;
  height: 36px;
  border: 3px solid rgba(0, 240, 255, 0.1);
  border-left-color: var(--cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
}

/* Site Footer */
.site-footer {
  background: #02060e;
  border-top: 1px solid var(--line-dark);
  padding: 48px 24px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-brand strong {
  font-family: var(--font-cyber);
  font-size: 18px;
  text-transform: uppercase;
  color: #fff;
}
.footer-brand span {
  font-size: 12px;
  color: var(--ink-soft);
}
.footer-links {
  display: flex;
  gap: 24px;
  font-family: var(--font-cyber);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.footer-links a, .footer-links button {
  color: var(--ink-soft);
}
.footer-links a:hover, .footer-links button:hover {
  color: var(--cyan);
}
.site-footer p {
  color: var(--ink-muted);
  font-size: 12px;
  margin: 0;
  text-align: center;
  max-width: 500px;
}

/* Animations */
@keyframes pulseGreen {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(0, 255, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 102, 0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes slideIn {
  from { transform: translateX(100%) scale(0.9); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}
@keyframes logoPulse {
  from { transform: scale(1); filter: drop-shadow(0 0 5px var(--cyan-glow)); }
  to { transform: scale(1.05); filter: drop-shadow(0 0 12px var(--cyan)); }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -8px); }
  60% { transform: translate(-50%, -4px); }
}
@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes backgroundPulse {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1%, -1%); }
}

.scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%,
    rgba(0, 0, 0, 0.18) 50%
  );
  background-size: 100% 4px;
  opacity: 0.25;
}

/* Responsive Grid & Breakpoints */
@media (max-width: 1024px) {
  .dashboard {
    grid-template-columns: 1fr;
  }
  .split-feature, .guide-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-copy h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 64px;
  }
  :root {
    --header-height: 64px;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .desktop-nav {
    display: none;
  }
  .header-actions .button,
  .header-actions .server-pill {
    display: none;
  }
  .hero-meta {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mode-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-grid, .support-layout, .account-layout {
    grid-template-columns: 1fr;
  }
  .auth-modal-card {
    grid-template-columns: 1fr;
  }
  .auth-art {
    display: none;
  }
  .section-band {
    padding: 60px 16px;
  }
  .hero-copy h1 {
    font-size: 38px;
  }
}

/* Command deck refresh: lightweight effects with legacy-browser fallbacks. */
*, *::before, *::after {
  letter-spacing: 0 !important;
}

body {
  text-rendering: optimizeLegibility;
}

.site-header {
  background: rgba(3, 8, 18, 0.9);
  border-bottom-color: rgba(0, 240, 255, 0.24);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand-mark {
  box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.45), 0 0 20px rgba(0, 240, 255, 0.28);
}

.server-pill {
  border-color: rgba(0, 240, 255, 0.42);
  background: rgba(0, 240, 255, 0.06);
  box-shadow: inset 0 0 16px rgba(0, 240, 255, 0.04);
}

.button {
  min-height: 44px;
  border-width: 1px;
  text-shadow: none;
}

.button-primary {
  background: #00e6f5;
  color: #02060e;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28) inset, 0 0 20px rgba(0, 240, 255, 0.32);
}

.button-primary::after {
  top: 7px;
  bottom: 7px;
  left: -44%;
  width: 26%;
  height: auto;
  opacity: 0;
  background: rgba(255, 255, 255, 0.68);
  transform: skewX(-24deg);
}

.button-primary:hover:not(:disabled) {
  background: #ffffff;
  color: #02060e;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.52) inset, 0 0 32px rgba(0, 240, 255, 0.48);
  transform: translateY(-2px);
}

.button-primary:hover::after {
  left: 118%;
  opacity: 1;
}

.button-secondary {
  color: #ff4d88;
  border-color: #ff4d88;
  background: rgba(255, 0, 85, 0.04);
}

.button-secondary:hover:not(:disabled) {
  background: #ff0055;
  color: #ffffff;
}

.button-ghost,
.button-quiet {
  background: rgba(6, 20, 39, 0.72);
  border-color: rgba(147, 206, 234, 0.25);
}

.hero {
  isolation: isolate;
  min-height: calc(100vh - var(--header-height));
  padding-top: 56px;
  padding-bottom: 104px;
}

.hero-media {
  transform: scale(1.02);
  animation: none;
  filter: saturate(0.76) contrast(1.08) brightness(0.62);
}

.hero-shade {
  background: rgba(3, 8, 18, 0.58);
}

#hero-particles {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.88;
  pointer-events: none;
}

.scanlines {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: none;
  opacity: 0.5;
}

.feature-media::before,
.guide-media::before,
.mode-item::before,
.auth-art::after {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 76px;
  align-items: center;
}

.hero-copy {
  max-width: 700px;
  animation: heroCopyIn 0.72s ease-out both;
}

.hero-copy .eyebrow,
.section-heading .eyebrow,
.dashboard-kicker {
  color: #00f0ff;
}

.hero-copy h1 {
  color: #f7fcff;
  font-size: 68px;
  font-weight: 800;
  text-shadow: 0 0 28px rgba(0, 240, 255, 0.3), 4px 4px 0 rgba(0, 0, 0, 0.34);
}

.hero-copy p {
  max-width: 620px;
  color: #c3d8e5;
}

.hero-meta {
  max-width: 620px;
  gap: 0;
  border-top-color: rgba(0, 240, 255, 0.38);
  padding-top: 22px;
}

.hero-meta div {
  padding: 0 20px;
  border-left: 1px solid rgba(0, 240, 255, 0.22);
}

.hero-meta div:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero-meta strong {
  color: #ffea00;
  font-size: 17px;
}

.hero-console {
  position: relative;
  width: 100%;
  min-height: 332px;
  padding: 18px;
  color: #d9f8ff;
  background: rgba(3, 13, 28, 0.82);
  border: 1px solid rgba(0, 240, 255, 0.48);
  box-shadow: inset 0 0 34px rgba(0, 240, 255, 0.06), 0 22px 54px rgba(0, 0, 0, 0.38), 0 0 24px rgba(0, 240, 255, 0.12);
  clip-path: var(--corner-cut);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: heroConsoleIn 0.78s 0.14s ease-out both;
}

.hero-console::before,
.hero-console::after {
  content: '';
  position: absolute;
  width: 52px;
  height: 3px;
  background: #ff0055;
  box-shadow: 0 0 12px rgba(255, 0, 85, 0.68);
}

.hero-console::before {
  top: 13px;
  right: 18px;
}

.hero-console::after {
  bottom: 13px;
  left: 18px;
  background: #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.68);
}

.console-header,
.console-caption,
.console-readout dt,
.console-readout dd {
  font-family: var(--font-cyber);
  font-weight: 700;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 22px;
  color: #a7dbe9;
  font-size: 11px;
}

.console-live {
  color: #00ff66;
  font-size: 10px;
}

.console-live i {
  font-size: 8px;
  animation: consolePulse 1.8s ease-in-out infinite;
}

.console-radar {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 18px auto 14px;
  border: 1px solid rgba(0, 240, 255, 0.44);
  border-radius: 50%;
  box-shadow: inset 0 0 26px rgba(0, 240, 255, 0.08), 0 0 20px rgba(0, 240, 255, 0.08);
}

.console-radar::before,
.console-radar::after {
  content: '';
  position: absolute;
  background: rgba(0, 240, 255, 0.26);
}

.console-radar::before {
  top: 50%;
  right: 8px;
  left: 8px;
  height: 1px;
}

.console-radar::after {
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 1px;
}

.console-radar span {
  position: absolute;
  top: 34px;
  right: 28px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffea00;
  box-shadow: 0 0 0 5px rgba(255, 234, 0, 0.1), 0 0 18px rgba(255, 234, 0, 0.92);
}

.console-radar i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 1px;
  background: #00f0ff;
  transform-origin: left center;
  animation: radarSweep 4.5s linear infinite;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.9);
}

.console-readout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 0;
  border-top: 1px solid rgba(0, 240, 255, 0.2);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.console-readout div {
  min-width: 0;
  padding: 10px 8px;
  border-left: 1px solid rgba(0, 240, 255, 0.16);
}

.console-readout div:first-child {
  border-left: 0;
}

.console-readout dt {
  color: #7fa5b8;
  font-size: 8px;
}

.console-readout dd {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.console-readout div:nth-child(2) dd {
  color: #00f0ff;
}

.console-caption {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  color: #8badbe;
  font-size: 10px;
}

.console-caption span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 10px #00ff66;
}

.section-band {
  border-top: 1px solid rgba(0, 240, 255, 0.08);
}

.section-band::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  width: 84px;
  height: 2px;
  margin-left: -42px;
  background: #00f0ff;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.8);
}

.section-heading h2,
.community-inner h2 {
  color: #f5fbff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.feature-media,
.guide-media,
.mode-item,
.panel,
.collection-item,
.shop-item,
.event-item,
.dashboard-sidebar {
  background: rgba(6, 20, 39, 0.84);
  border-color: rgba(115, 192, 222, 0.22);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.feature-media:hover,
.guide-media:hover,
.mode-item:hover,
.collection-item:hover,
.shop-item:hover,
.event-item:hover {
  border-color: rgba(0, 240, 255, 0.64);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36), 0 0 22px rgba(0, 240, 255, 0.14);
  transform: translateY(-4px);
}

.mode-item,
.collection-item,
.shop-item,
.event-item {
  position: relative;
  overflow: hidden;
}

.mode-item::before,
.collection-item::before,
.shop-item::before,
.event-item::before,
.stat-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 2px;
  background: #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.82);
}

.dashboard {
  gap: 28px;
}

.dashboard-sidebar {
  border-color: rgba(0, 240, 255, 0.22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.dashboard-nav button {
  position: relative;
  border: 1px solid transparent;
}

.dashboard-nav button:hover,
.dashboard-nav button.is-active {
  border-color: rgba(0, 240, 255, 0.24);
  background: rgba(0, 240, 255, 0.08);
}

.dashboard-nav button.is-active {
  box-shadow: inset 3px 0 0 #00f0ff, 0 0 16px rgba(0, 240, 255, 0.08);
}

.dashboard-header {
  padding: 20px 22px;
  border: 1px solid rgba(115, 192, 222, 0.18);
  background: rgba(6, 20, 39, 0.54);
  clip-path: var(--corner-cut);
}

.dashboard-kicker {
  color: #ff4d88;
}

.content-intro {
  position: relative;
  padding-left: 15px;
}

.content-intro::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 3px;
  background: #ff0055;
  box-shadow: 0 0 12px rgba(255, 0, 85, 0.8);
}

.stat-item {
  min-height: 138px;
  background: rgba(6, 20, 39, 0.82);
  border-color: rgba(115, 192, 222, 0.22);
  box-shadow: inset 0 0 26px rgba(0, 240, 255, 0.025);
}

.stat-item:nth-child(2)::before,
.stat-item:nth-child(2)::after { background: #ffea00; box-shadow: 0 0 12px rgba(255, 234, 0, 0.78); }
.stat-item:nth-child(3)::before,
.stat-item:nth-child(3)::after { background: #ff4d88; box-shadow: 0 0 12px rgba(255, 0, 85, 0.78); }
.stat-item:nth-child(4)::before,
.stat-item:nth-child(4)::after { background: #9d4edd; box-shadow: 0 0 12px rgba(157, 78, 221, 0.72); }

.stat-item strong {
  color: #f6fcff;
}

.chip {
  border-radius: 0;
  background: rgba(6, 20, 39, 0.9);
  border-color: rgba(115, 192, 222, 0.26);
}

.chip.is-success { color: #00ff66; border-color: rgba(0, 255, 102, 0.4); }
.chip.is-warning { color: #ffea00; border-color: rgba(255, 234, 0, 0.42); }
.chip.is-danger { color: #ff5f67; border-color: rgba(255, 95, 103, 0.46); }

.collection-art {
  position: relative;
  background: rgba(0, 240, 255, 0.035);
}

.collection-item h3,
.shop-item h3,
.event-item h3 {
  color: #f1fbff;
}

.collection-telemetry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(115, 192, 222, 0.18);
  color: #8fb8c9;
  font-family: var(--font-cyber);
  font-size: 11px;
}

.collection-telemetry strong {
  color: #00f0ff;
  font-size: 12px;
}

.collection-item.is-active .collection-telemetry strong {
  color: #00ff66;
}

.shop-item-footer,
.reward-row,
.action-row,
.data-row {
  border-color: rgba(115, 192, 222, 0.18);
}

.price {
  color: #ffea00;
}

.no-topup-note,
.notice-box {
  border-color: rgba(255, 234, 0, 0.48);
  background: rgba(255, 234, 0, 0.045);
}

.modal-backdrop {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 4, 12, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.modal {
  border-color: rgba(0, 240, 255, 0.5);
  background: #061427;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.64), 0 0 26px rgba(0, 240, 255, 0.16);
}

.auth-art {
  background-image: url('/launcher/assets/login-background.jpg');
}

.auth-art::after {
  background: rgba(3, 8, 18, 0.66);
}

.toast-region {
  gap: 12px;
}

.toast {
  position: relative;
  overflow: hidden;
  min-width: 320px;
  max-width: 430px;
  padding: 14px 44px 15px 16px;
  border-radius: 0;
  border-color: rgba(0, 240, 255, 0.42);
  background: rgba(3, 13, 28, 0.95);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38), 0 0 22px rgba(0, 240, 255, 0.13);
}

.toast::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.85);
}

.toast.is-error::before { background: #ff0055; box-shadow: 0 0 12px rgba(255, 0, 85, 0.85); }
.toast.is-success::before { background: #00ff66; box-shadow: 0 0 12px rgba(0, 255, 102, 0.85); }

.toast-copy {
  min-width: 0;
}

.toast-copy strong {
  display: block;
  margin-bottom: 2px;
  color: #f2fbff;
  font-family: var(--font-cyber);
  font-size: 12px;
}

.toast p {
  margin: 0;
  color: #a9c9d8;
}

.toast-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(0, 240, 255, 0.62);
  transform-origin: left center;
  animation: toastLife 5s linear forwards;
}

.toast.is-error .toast-progress { background: #ff0055; }
.toast.is-success .toast-progress { background: #00ff66; }

.page-loader {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 4, 12, 0.86);
}

@keyframes consolePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.38; transform: scale(0.75); }
}

@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes toastLife {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@keyframes mobileMenuIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroConsoleIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes sectionReveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

body.motion-ready .reveal {
  opacity: 0;
}

body.motion-ready .reveal.is-visible {
  animation: sectionReveal 0.64s ease-out both;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 38px;
  }

  .hero-console {
    min-height: 306px;
  }
}

@media (max-width: 768px) {
  .hero {
    align-items: flex-start;
    padding-top: 64px;
    padding-bottom: 92px;
  }

  .hero-inner {
    display: block;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-meta {
    display: block;
  }

  .hero-meta div,
  .hero-meta div:first-child {
    padding: 10px 0;
    border-top: 1px solid rgba(0, 240, 255, 0.16);
    border-left: 0;
  }

  .hero-meta div:first-child {
    border-top: 0;
  }

  .hero-console {
    width: 100%;
    max-width: 360px;
    margin-top: 36px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .stat-strip {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-item {
    min-height: 126px;
    padding: 16px;
  }

  .dashboard-header {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  .dashboard-actions {
    width: 100%;
  }

  .dashboard-actions .button {
    flex: 1;
  }

  .content-intro {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  .collection-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .toast {
    min-width: 0;
    width: calc(100vw - 28px);
  }
}

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