:root {
  --background-color: #050816;
  --surface-color: #0f1728;
  --border-color: rgba(147, 164, 194, 0.18);
  --text-primary: #f5f8ff;
  --text-secondary: #93a4c2;
  --accent-positive: #33d69f;
  --accent-negative: #ff6b7a;
  --accent-warning: #ffca72;
  --discord-blurple: #6f8cff;
  --panel-shadow: 0 28px 80px rgba(2, 8, 20, 0.48);
}

body {
  background:
    radial-gradient(circle at 18% 18%, rgba(79, 114, 255, 0.14), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(74, 211, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #06101d 0%, #040914 44%, #02050c 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 160px 160px;
  mask: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 80%);
  pointer-events: none;
  z-index: -4;
}

body::after {
  content: "";
  position: fixed;
  right: 6%;
  bottom: 10%;
  width: 38vw;
  height: 38vw;
  max-width: 560px;
  max-height: 560px;
  background: radial-gradient(circle, rgba(111, 140, 255, 0.15), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
  z-index: -4;
}

.app-shell #app-container {
  padding: clamp(12px, 1.8vw, 24px);
  gap: clamp(12px, 1.8vw, 24px);
  background: transparent;
}

.app-shell .sidebar {
  width: 272px;
  background: linear-gradient(180deg, rgba(5, 11, 21, 0.94), rgba(8, 15, 28, 0.82));
  border: 1px solid var(--border-color);
  border-radius: 28px;
  box-shadow: var(--panel-shadow);
  padding: 1.4rem;
}

.app-shell .sidebar .logo {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
}

.app-shell .nav-link {
  border: 1px solid transparent;
  border-radius: 14px;
}

.app-shell .nav-link:hover {
  background: rgba(111, 140, 255, 0.08);
  border-color: rgba(111, 140, 255, 0.12);
  transform: translateX(4px);
}

.app-shell .nav-link.active {
  background: linear-gradient(135deg, rgba(111, 140, 255, 0.18), rgba(66, 91, 160, 0.1));
  border: 1px solid rgba(111, 140, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(160, 181, 255, 0.04), 0 14px 34px rgba(10, 20, 40, 0.35);
}

.app-shell .dashboard {
  border: 1px solid var(--border-color);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(8, 14, 25, 0.88), rgba(6, 10, 18, 0.76));
  box-shadow: var(--panel-shadow);
}

.app-shell .dashboard::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: none;
  background-image: radial-gradient(circle at top, rgba(111, 140, 255, 0.17), transparent 54%);
  opacity: 1;
}

.app-shell .dashboard-header {
  padding: clamp(1.3rem, 2vw, 2rem) clamp(1.4rem, 2.5vw, 2.2rem);
  border-bottom: 1px solid rgba(147, 164, 194, 0.12);
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.84), rgba(9, 15, 27, 0.58));
}

.app-shell .dashboard-header h1 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  letter-spacing: 0.02em;
  margin: 0;
}

.app-shell #header-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.page-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: #8facff;
}

.header-subtitle {
  max-width: 54ch;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.app-shell .dashboard-content {
  display: grid;
  gap: 1.25rem;
}

.page-intro {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(14, 24, 43, 0.78), rgba(10, 16, 29, 0.55));
}

.page-intro h2 {
  font-size: 1.15rem;
  font-weight: 600;
  max-width: 30ch;
  margin-bottom: 0.45rem;
}

.page-intro p {
  max-width: 48ch;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-self: flex-start;
}

.page-chip {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(111, 140, 255, 0.18);
  background: rgba(111, 140, 255, 0.08);
  color: #c9d4ff;
  font-size: 0.82rem;
  font-weight: 600;
}

.app-shell .card {
  background: linear-gradient(180deg, rgba(14, 23, 40, 0.82), rgba(9, 14, 24, 0.7));
  border: 1px solid rgba(147, 164, 194, 0.14);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.app-shell .card:hover {
  border-color: rgba(111, 140, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 20px 45px rgba(2, 8, 20, 0.24);
  transform: translateY(-2px);
}

.app-shell .stat-card {
  position: relative;
  overflow: hidden;
}

.app-shell .stat-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(111, 140, 255, 0), rgba(111, 140, 255, 0.95), rgba(74, 211, 255, 0.7));
  opacity: 0.7;
}

.app-shell .stat-number {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.03em;
}

.app-shell .primary-btn {
  background: linear-gradient(135deg, #6f8cff, #4c74ff);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(56, 91, 203, 0.28);
}

.app-shell .secondary-btn,
.app-shell .game-select-dropdown {
  background: rgba(17, 27, 46, 0.74);
  color: var(--text-primary);
  border: 1px solid rgba(147, 164, 194, 0.16);
  border-radius: 14px;
}

.app-shell .scan-item,
.app-shell .result-item,
.app-shell .activity-log li {
  border-bottom-color: rgba(147, 164, 194, 0.12);
}

.app-shell .scan-item:hover,
.app-shell .result-item:hover,
.app-shell .activity-log li:hover {
  background: rgba(111, 140, 255, 0.05);
}

.app-shell .results-list-card,
.app-shell .scans-list-card {
  padding: 0.55rem;
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.76), rgba(6, 10, 18, 0.64));
}

.app-shell .scan-item,
.app-shell .result-item {
  border-radius: 18px;
  margin: 0.45rem 0.75rem;
  padding: 1.1rem 1.2rem;
}

.app-shell .status-badge {
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
}

.app-shell .game-option label,
.app-shell .artifact-card,
.app-shell .report-snippet,
.app-shell .user-category summary,
.app-shell .modal-content,
.app-shell .download-notification {
  border-color: rgba(147, 164, 194, 0.16);
  background: linear-gradient(180deg, rgba(12, 22, 39, 0.9), rgba(8, 14, 24, 0.78));
  box-shadow: var(--panel-shadow);
}

.app-shell .admin-table-container table {
  border-collapse: separate;
  border-spacing: 0;
}

.app-shell .admin-table-container tbody tr:hover {
  background: rgba(111, 140, 255, 0.05);
}

.landing-shell #login-container {
  padding: clamp(1.2rem, 3vw, 2.6rem) clamp(1rem, 4vw, 2.5rem) 4rem;
}

.landing-shell .landing-content {
  max-width: 1240px;
}

.landing-shell .hero {
  min-height: 78svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(3.5rem, 9vw, 6rem) 0 3rem;
  position: relative;
}

.landing-shell .hero::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147, 164, 194, 0.4), transparent);
}

.landing-shell .hero .logo {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.8rem;
  color: #a0b9ff;
  margin-bottom: 1rem;
}

.landing-shell .hero-title {
  max-width: 15ch;
  margin-inline: auto;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0;
  font-size: clamp(3rem, 8vw, 5.8rem);
  text-shadow: 0 20px 40px rgba(4, 10, 20, 0.45);
}

.landing-shell .tagline {
  max-width: 52ch;
  font-size: 1.05rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
  list-style: none;
}

.hero-meta li {
  min-width: 170px;
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(147, 164, 194, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12, 20, 35, 0.72), rgba(8, 13, 24, 0.55));
  backdrop-filter: blur(12px);
}

.hero-meta strong {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: 1.15rem;
}

.hero-meta span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.landing-shell .feature-card,
.landing-shell .pricing-card,
.landing-shell .fake-desktop-container {
  background: linear-gradient(180deg, rgba(13, 22, 39, 0.72), rgba(8, 13, 24, 0.62));
  border: 1px solid rgba(147, 164, 194, 0.16);
  border-radius: 24px;
  box-shadow: var(--panel-shadow);
}

.landing-shell .section-title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
}

.landing-shell footer {
  border-top-color: rgba(147, 164, 194, 0.12);
}

@media (max-width: 960px) {
  .app-shell #app-container {
    flex-direction: column;
    position: relative;
    height: auto;
    min-height: 100vh;
  }

  .app-shell .sidebar {
    width: 100%;
    height: auto;
  }

  .app-shell .dashboard {
    min-height: 0;
  }

  .page-intro {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .app-shell .dashboard-header {
    gap: 1rem;
    align-items: flex-start;
  }

  .app-shell .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .app-shell .scan-item,
  .app-shell .result-item {
    margin: 0.4rem 0;
  }

  .landing-shell .hero-title {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero-meta li {
    width: 100%;
    max-width: 320px;
  }
}
