/* ========================================
   StratsCo Stylesheet
   Following .context/style-guide.md
   ======================================== */

/* === CSS Variables === */
:root {
  /* Colors */
  --accent: #00ffaa;
  --bg-primary: #121417;
  --bg-secondary: #1A1D21;
  --text-primary: #D6D8DB;
  --text-muted: #9AA0A6;

  /* Typography */
  --font-wordmark: 'Montserrat', system-ui, sans-serif;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-code: 'JetBrains Mono', monospace;

  /* Type Scale */
  --text-h1: 48px;
  --text-h2: 32px;
  --text-h3: 22px;
  --text-body: 16px;
  --text-small: 14px;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
}

/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(180deg,
    #0a0e14 0%,
    #121417 50%,
    #1a1d28 100%
  );
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
}

/* === Typography === */

/* Wordmark - Cherry Bomb One */
.wordmark {
  font-family: var(--font-wordmark);
  font-size: 64px;
  color: var(--accent);
  letter-spacing: normal;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

/* Display - Sora */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

h1 {
  font-size: var(--text-h1);
  margin-bottom: var(--space-md);
}

h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-sm);
}

/* Body - Inter */
p, li, label, button, input, select, textarea {
  font-family: var(--font-body);
}

p {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

/* Code - JetBrains Mono */
code, pre {
  font-family: var(--font-code);
  font-size: 14px;
}

/* Muted text */
.subtitle,
.meta,
.caption {
  color: var(--text-muted);
  font-size: var(--text-body);
}

/* === Links === */
a {
  color: var(--accent);
  text-decoration: none;
  transition: filter 0.2s ease-in-out;
}

a:hover {
  filter: brightness(1.2);
}

a:active {
  filter: brightness(0.9);
}

a:focus {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

/* === Buttons === */

/* Primary Button */
.btn-primary {
  background: var(--accent);
  color: #0A0C0E;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow:
    0 0 20px rgba(0, 255, 170, 0.3),
    0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow:
    0 0 30px rgba(0, 255, 170, 0.5),
    0 6px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  filter: brightness(0.95);
  transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
  background: transparent;
  color: var(--accent);
  padding: 12px 24px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.btn-secondary:hover {
  background: rgba(0, 255, 170, 0.1);
}

/* === Layout === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

header {
  margin-bottom: var(--space-lg);
}

main {
  background: var(--bg-secondary);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* === Navigation === */
.top-nav {
  width: 100%;
  background: var(--bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  height: 60px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex: 1;
}

.nav-center {
  display: flex;
  justify-content: center;
  flex: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  justify-content: flex-end;
  flex: 1;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 32px;
}

.nav-logo img {
  height: 100%;
  width: auto;
}

.nav-menu {
  position: relative;
}

/* === Social Links === */
.social-link {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease-in-out;
  font-size: 18px;
}

.social-link:hover {
  color: var(--accent);
  background: rgba(0, 255, 170, 0.1);
}

.social-link:focus {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

/* Discord Sign In Button */
.btn-discord-signin {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #5865F2;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
  border: none;
}

.btn-discord-signin:hover {
  background: #4752C4;
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-discord-signin i {
  font-size: 18px;
}

/* User Profile in Nav */
.nav-user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px 6px 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
}

.nav-user-profile:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  filter: brightness(1.1);
}

.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
}

.nav-username {
  color: var(--text-primary);
  font-weight: 500;
}

.nav-officer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 8px;
  color: #ff6b35;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-officer-link:hover {
  background: rgba(255, 107, 53, 0.2);
  border-color: rgba(255, 107, 53, 0.5);
  transform: translateY(-1px);
}

/* === Twitch Status === */
.twitch-status {
  display: none;
}

.twitch-status.visible {
  display: block;
}

.twitch-live-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(0, 255, 170, 0.05);
  border: 1px solid rgba(0, 255, 170, 0.2);
  border-radius: var(--radius-md);
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.twitch-live-link:hover {
  background: rgba(0, 255, 170, 0.1);
  border-color: rgba(0, 255, 170, 0.3);
}

.twitch-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.twitch-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.twitch-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.twitch-username {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.twitch-game {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-badge {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease-in-out;
}

.live-badge.is-live {
  color: #ff4444;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.nav-menu {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 8px 12px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease-in-out;
  font-size: var(--text-body);
  font-weight: 500;
}

.nav-dropdown-trigger:hover {
  background: rgba(0, 255, 170, 0.1);
  color: var(--accent);
}

.nav-dropdown-trigger .icon,
.nav-dropdown-trigger .icon-chevron {
  stroke: currentColor;
}

.nav-dropdown-trigger .icon-chevron {
  transition: transform 0.2s ease-in-out;
}

.nav-dropdown-trigger.active .icon-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  min-width: 280px;
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease-in-out;
}

.nav-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-section {
  margin-bottom: var(--space-sm);
}

.dropdown-section:last-child {
  margin-bottom: 0;
}

.dropdown-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
  padding: 0 var(--space-xs);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--space-xs);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.dropdown-item:hover {
  background: rgba(0, 255, 170, 0.1);
}

.game-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
}

.game-name {
  color: var(--text-primary);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.2;
}

.game-type {
  color: var(--text-muted);
  font-size: var(--text-small);
  line-height: 1.2;
}

/* === Cards & Panels === */
.card {
  background: var(--bg-secondary);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* === Landing Page Sections === */

/* Hero Section */
.hero {
  background: var(--bg-primary);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 80px);
  padding: var(--space-md);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out;

  /* Slightly desaturated with better visibility */
  filter: grayscale(40%) brightness(0.6) contrast(1.1);
}

.hero-bg.active {
  opacity: 0.35;
}

/* Enhanced gradient overlay with radial glow - deep navy/charcoal theme */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 40%,
      rgba(0, 255, 170, 0.08) 0%,
      rgba(10, 14, 20, 0.3) 40%,
      transparent 70%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(0, 100, 255, 0.03) 0%,
      transparent 40%
    ),
    linear-gradient(
      to bottom,
      rgba(10, 14, 20, 0.4) 0%,
      rgba(18, 20, 23, 0.65) 40%,
      rgba(26, 29, 40, 0.85) 100%
    );
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Floating Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-up linear infinite;
  box-shadow: 0 0 10px rgba(0, 255, 170, 0.6);
}

.particle:nth-child(1) {
  width: 3px;
  height: 3px;
  left: 10%;
  animation-duration: 15s;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 4px;
  height: 4px;
  left: 25%;
  animation-duration: 20s;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  width: 2px;
  height: 2px;
  left: 40%;
  animation-duration: 18s;
  animation-delay: 4s;
}

.particle:nth-child(4) {
  width: 5px;
  height: 5px;
  left: 60%;
  animation-duration: 22s;
  animation-delay: 1s;
}

.particle:nth-child(5) {
  width: 3px;
  height: 3px;
  left: 75%;
  animation-duration: 17s;
  animation-delay: 3s;
}

.particle:nth-child(6) {
  width: 4px;
  height: 4px;
  left: 85%;
  animation-duration: 19s;
  animation-delay: 5s;
}

.particle:nth-child(7) {
  width: 2px;
  height: 2px;
  left: 50%;
  animation-duration: 16s;
  animation-delay: 2.5s;
}

.particle:nth-child(8) {
  width: 3px;
  height: 3px;
  left: 90%;
  animation-duration: 21s;
  animation-delay: 4.5s;
}

@keyframes float-up {
  0% {
    bottom: -10%;
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    bottom: 110%;
    opacity: 0;
  }
}

/* Geometric Accents */
.geometric-accent {
  position: absolute;
  border: 1px solid rgba(0, 255, 170, 0.2);
  pointer-events: none;
  z-index: 1;
}

/* Individual geometric accents - positions set by JS */
.geometric-accent-1,
.geometric-accent-2,
.geometric-accent-3 {
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    border-color: rgba(0, 255, 170, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.1);
  }
  50% {
    border-color: rgba(0, 255, 170, 0.4);
    box-shadow: 0 0 30px rgba(0, 255, 170, 0.2);
  }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-logo {
  height: 120px;
  width: auto;
  margin-bottom: 2rem;
  filter:
    drop-shadow(0 0 20px rgba(0, 255, 170, 0.5))
    drop-shadow(0 0 40px rgba(0, 255, 170, 0.3))
    drop-shadow(0 0 60px rgba(0, 255, 170, 0.2));
  animation: subtle-pulse 4s ease-in-out infinite;
}

@keyframes subtle-pulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 20px rgba(0, 255, 170, 0.5))
      drop-shadow(0 0 40px rgba(0, 255, 170, 0.3))
      drop-shadow(0 0 60px rgba(0, 255, 170, 0.2));
  }
  50% {
    filter:
      drop-shadow(0 0 25px rgba(0, 255, 170, 0.6))
      drop-shadow(0 0 50px rgba(0, 255, 170, 0.4))
      drop-shadow(0 0 80px rgba(0, 255, 170, 0.25));
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(0, 255, 170, 0.15),
    0 0 60px rgba(0, 255, 170, 0.1);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.hero-note {
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-top: var(--space-md);
  text-align: center;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(0, 255, 170, 0.03);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-large i {
  font-size: 20px;
}

/* Old trust bar - kept for compatibility */
.trust-bar {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
  font-size: var(--text-small);
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* Value Props Section */
.value-props {
  padding: 80px var(--space-md);
  background: var(--bg-primary);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: var(--bg-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease-in-out;
  text-align: center;
}

.value-card:hover {
  border-color: rgba(0, 255, 170, 0.2);
  background: rgba(0, 255, 170, 0.02);
}

.value-icon {
  font-size: 48px;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.value-card p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Old card styles - kept for compatibility */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--bg-primary);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease-in-out;
}

.card:hover {
  border-color: rgba(0, 255, 170, 0.2);
  background: rgba(0, 255, 170, 0.02);
}

.card-icon {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.card h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.card p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Story Section */
.story {
  padding: 80px var(--space-md);
  background: var(--bg-primary);
}

.story-content {
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  position: relative;
}

.since-badge {
  display: inline-block;
  background: rgba(0, 255, 170, 0.1);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: var(--text-small);
  font-weight: 600;
  margin-bottom: var(--space-md);
  border: 1px solid rgba(0, 255, 170, 0.2);
}

.story-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.story-content p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.cta-band {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 500px;
  margin: 0 auto;
}

.cta-microcopy {
  margin-top: var(--space-sm);
  font-size: var(--text-small);
  color: var(--text-muted);
  font-style: italic;
}

/* Discord Preview */
.discord-preview {
  padding: 80px var(--space-md);
  background: var(--bg-secondary);
}

.discord-layout {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.discord-intro h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.discord-intro p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.moderation-promise {
  font-size: var(--text-small);
  color: var(--accent);
  font-weight: 600;
}

.discord-channels {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.channel-item {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease-in-out;
  align-items: start;
}

.channel-item:hover {
  background: rgba(0, 255, 170, 0.05);
}

.channel-item.highlight {
  background: rgba(0, 255, 170, 0.1);
  border: 1px solid rgba(0, 255, 170, 0.2);
  margin-top: var(--space-sm);
}

.channel-item i {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.channel-item.highlight i {
  color: var(--accent);
}

.channel-name {
  font-size: var(--text-body);
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 2px;
}

.channel-desc {
  font-size: var(--text-small);
  color: var(--text-muted);
}

/* How to Join */
.how-to-join {
  padding: 80px var(--space-md);
  background: var(--bg-primary);
}

.how-to-join h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto var(--space-lg);
}

.step {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 255, 170, 0.1);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto var(--space-md);
}

.step h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.step p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.6;
}

.step .btn-primary {
  margin-top: var(--space-md);
}

.reassurance {
  text-align: center;
  font-size: var(--text-body);
  color: var(--text-muted);
  font-style: italic;
  max-width: 500px;
  margin: 0 auto;
}

/* Community Standards */
.standards {
  padding: 80px var(--space-md);
  background: var(--bg-secondary);
}

.standards h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.standards-intro {
  font-size: 18px;
  color: var(--text-primary);
  line-height: 1.7;
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-md);
}

.standards-rules {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.7;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: rgba(18, 20, 23, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 100;
}

.footer-content {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  align-items: center;
}

/* Dashboard Page */
.dashboard-section {
  flex: 1;
  position: relative;
  padding: var(--space-md);
  min-height: calc(100vh - 160px);
  overflow: hidden;
}

/* Page Background (for inner pages) */
.page-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;

  /* Very subtle, washed out effect for inner pages */
  filter: grayscale(70%) brightness(0.3) contrast(0.8);
  opacity: 0.15;
}

/* Ensure content stays above background */
.dashboard-section > .container,
.dashboard-section > .particles,
.dashboard-section > .geometric-accent {
  position: relative;
  z-index: 1;
}

/* Subtle particles for inner pages */
.particles-subtle {
  opacity: 0.4;
}

/* Page-specific geometric accents (more subtle) - positions set by JS */
.geometric-accent-page-1,
.geometric-accent-page-2 {
  animation: pulse-glow 6s ease-in-out infinite;
  border-color: rgba(0, 255, 170, 0.15);
}

.account-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 255, 170, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  width: 100%;
  text-align: center;
  box-shadow:
    0 0 20px rgba(0, 255, 170, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.account-header {
  margin-bottom: var(--space-md);
}

.user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  margin-bottom: var(--space-sm);
  box-shadow:
    0 0 20px rgba(0, 255, 170, 0.4),
    0 0 40px rgba(0, 255, 170, 0.2);
}

.account-header h1 {
  font-size: 20px;
  margin-bottom: 0;
  font-weight: 600;
}

.account-info {
  background: rgba(0, 255, 170, 0.03);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  text-align: left;
  border: 1px solid rgba(0, 255, 170, 0.1);
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  word-break: break-all;
}

.account-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: stretch;
}

.account-actions .btn-secondary {
  width: 100%;
}

/* === Utilities === */
.text-muted {
  color: var(--text-muted);
}

.text-small {
  font-size: var(--text-small);
}

/* === Responsive === */
@media (max-width: 768px) {
  :root {
    --text-h1: 40px;
    --text-h2: 28px;
    --text-h3: 20px;
  }

  .wordmark {
    font-size: 48px;
  }

  .container {
    padding: var(--space-md) var(--space-sm);
  }

  .hero {
    padding: var(--space-md);
    min-height: calc(100vh - 120px);
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn-primary {
    width: 100%;
  }

  .discord-layout {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .value-props,
  .story,
  .discord-preview,
  .how-to-join,
  .standards {
    padding: 60px var(--space-md);
  }
}
