/* CrustMMO — "Arcane Mage" theme. Self-hosted, no CDN dependencies. */

@font-face {
  font-family: 'Cinzel';
  src: url('/assets/fonts/cinzel-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cinzel';
  src: url('/assets/fonts/cinzel-latin-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Backgrounds — void/deep space purple, darkest to lightest */
  --bg-void: #020008;
  --bg-base: #0A0314;
  --bg-surface: rgba(26, 9, 46, 0.45);
  --bg-surface-elevated: rgba(37, 9, 59, 0.65);
  --border-subtle: rgba(76, 7, 121, 0.5);

  /* Primary accent — magic-circle purple/magenta glow */
  --accent-purple: #C265FB;
  --accent-purple-glow: #EB71FD;

  /* Secondary accent — ice/lightning blue */
  --accent-blue: #6EC1FF;
  --accent-blue-bright: #6EEBFF;

  /* Tertiary accent — fireball gold/orange (commerce only) */
  --accent-gold: #FCC265;
  --accent-gold-bright: #FEE071;

  /* Status only — creeper green, used ONLY for the online dot */
  --accent-green: #A0FC44;

  /* Text */
  --text-primary: #F3EAFF;
  --text-muted: #B3A5D4;

  /* Derived */
  --gold-text: #241003;
  --radius: 16px;
  --transition: 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-void);
  background-image: 
    radial-gradient(1200px 700px at 50% -10%, rgba(194, 101, 251, 0.2), transparent 60%),
    linear-gradient(180deg, var(--bg-void) 0%, var(--bg-base) 60%, var(--bg-void) 100%);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.18;
  margin: 0;
}

a {
  color: var(--accent-purple);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-purple-glow);
}

/* ------------------------------------------------------------------ Animations */

@keyframes drift {
  0% { background-position: 0px 0px, 0px 0px, 0px 0px, 0px 0px, 0px 0px, 0px 0px; }
  100% { background-position: -300px 300px, 150px 150px, -150px -150px, 300px -300px, -200px 200px, 100px -100px; }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; filter: blur(25px) scale(1); }
  50% { opacity: 0.8; filter: blur(35px) scale(1.05); }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------------------ Ambient Starfield */

.ambient {
  position: fixed;
  inset: -100px; /* Oversized to prevent clipping during animation */
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 22px 34px, rgba(194, 101, 251, 0.7), transparent 51%),
    radial-gradient(1.2px 1.2px at 132px 96px, rgba(110, 193, 255, 0.6), transparent 51%),
    radial-gradient(1.8px 1.8px at 210px 44px, rgba(243, 234, 255, 0.5), transparent 51%),
    radial-gradient(1px 1px at 84px 156px, rgba(194, 101, 251, 0.5), transparent 51%),
    radial-gradient(1.4px 1.4px at 258px 186px, rgba(110, 193, 255, 0.5), transparent 51%),
    radial-gradient(1px 1px at 168px 232px, rgba(235, 113, 253, 0.4), transparent 51%);
  background-size: 300px 300px;
  opacity: 0.5;
  animation: drift 180s linear infinite;
}

.site-header, .container, .site-footer {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------------ Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 3, 20, 0.6);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(194, 101, 251, 0.2);
  box-shadow: 0 8px 32px rgba(4, 1, 12, 0.5);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  text-shadow: 0 0 12px rgba(235, 113, 253, 0.6);
  white-space: nowrap;
  transition: text-shadow var(--transition), transform var(--transition);
}

.brand:hover {
  text-shadow: 0 0 24px rgba(235, 113, 253, 0.9), 0 0 40px rgba(110, 193, 255, 0.5);
  transform: scale(1.02);
}

.main-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  position: relative;
  color: var(--text-muted);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  overflow: hidden;
  transition: color var(--transition);
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(194, 101, 251, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 400ms ease;
}

.nav-link:hover::before {
  transform: translateX(100%);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--accent-purple-glow);
  box-shadow: 0 0 10px var(--accent-purple);
  transition: width var(--transition), left var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(194, 101, 251, 0.4);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
  left: 20%;
}

.nav-link.active {
  color: var(--text-primary);
  text-shadow: 0 0 14px rgba(194, 101, 251, 0.7);
}

/* ------------------------------------------------------------------ Layout */

.container {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

/* Add staggered entrance to main children */
.container > * {
  animation: slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.container > *:nth-child(1) { animation-delay: 0.1s; }
.container > *:nth-child(2) { animation-delay: 0.2s; }
.container > *:nth-child(3) { animation-delay: 0.3s; }
.container > *:nth-child(4) { animation-delay: 0.4s; }

/* ------------------------------------------------------------------ Hero */

.hero {
  position: relative;
  text-align: center;
  padding: 40px 0 20px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  max-width: 100vw;
  background: radial-gradient(ellipse at center, rgba(194, 101, 251, 0.3), rgba(110, 193, 255, 0.1) 45%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  animation: pulse-glow 6s infinite alternate;
}

.hero-eyebrow {
  color: var(--accent-blue-bright);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 12px;
  text-shadow: 0 0 12px rgba(110, 193, 255, 0.5);
}

.wordmark {
  position: relative;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
  /* Animated Gradient Text */
  background: linear-gradient(to right, var(--accent-blue-bright), var(--accent-purple-glow), var(--accent-purple), var(--accent-blue-bright));
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradient-shift 5s linear infinite;
  /* Subtle drop shadow backup for non-webkit */
  filter: drop-shadow(0 0 20px rgba(194, 101, 251, 0.4));
}

.tagline {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin: 0 auto 36px;
  max-width: 600px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.play-now {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}

.play-label {
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  font-weight: 700;
}

.address-box {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  background: rgba(10, 3, 20, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(110, 193, 255, 0.4);
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: 0 0 30px rgba(110, 193, 255, 0.15), inset 0 0 20px rgba(110, 193, 255, 0.08);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  cursor: copy;
}

.address-box:hover {
  border-color: var(--accent-blue-bright);
  box-shadow: 0 0 40px rgba(110, 193, 255, 0.3), inset 0 0 25px rgba(110, 193, 255, 0.15);
  transform: translateY(-2px);
}

.address-value {
  font-family: ui-monospace, 'Cascadia Mono', 'Segoe UI Mono', Consolas, monospace;
  color: var(--accent-blue-bright);
  font-size: 1.15rem;
  word-break: break-all;
  text-shadow: 0 0 16px rgba(110, 235, 255, 0.5);
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------------ Glassmorphism Cards (Status & Features) */

.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.status-card {
  margin-top: 40px;
  padding: 30px;
  border-color: rgba(110, 193, 255, 0.2);
}

.status-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.status-head h2 {
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--accent-blue-bright);
  text-shadow: 0 0 10px rgba(110, 193, 255, 0.4);
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.status-dot.online {
  background: var(--accent-green);
  box-shadow: 0 0 12px rgba(160, 252, 68, 0.8);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px rgba(160, 252, 68, 0.5); }
  50% { box-shadow: 0 0 20px rgba(160, 252, 68, 1); }
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-label {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.stat-value {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text-primary);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.stat-value em {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.7em;
}

/* ------------------------------------------------------------------ Buttons */

.btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 1px solid transparent;
  overflow: hidden;
  transition: all var(--transition);
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(45deg) translateX(-150%);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.btn:hover::after {
  transform: rotate(45deg) translateX(150%);
}

.btn:active {
  transform: translateY(2px) scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-bright));
  color: var(--gold-text);
  box-shadow: 0 4px 15px rgba(252, 194, 101, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(254, 224, 113, 0.6);
  transform: translateY(-3px);
}

.btn-secondary {
  background: rgba(110, 193, 255, 0.05);
  backdrop-filter: blur(8px);
  color: var(--accent-blue-bright);
  border-color: rgba(110, 193, 255, 0.4);
  padding: 10px 20px;
  font-size: 0.95rem;
}

.btn-secondary:hover {
  background: rgba(110, 193, 255, 0.15);
  border-color: var(--accent-blue-bright);
  box-shadow: 0 0 25px rgba(110, 193, 255, 0.4);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------ Feature Cards */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.feature-card {
  position: relative;
  background: var(--bg-surface);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(194, 101, 251, 0.2);
  border-radius: var(--radius);
  padding: 30px;
  color: var(--text-primary);
  transition: all var(--transition);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-purple-glow), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 10px 30px rgba(194, 101, 251, 0.15), inset 0 0 20px rgba(194, 101, 251, 0.05);
  transform: translateY(-5px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin: 0 0 12px;
  color: var(--accent-purple-glow);
  text-shadow: 0 0 12px rgba(194, 101, 251, 0.3);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ------------------------------------------------------------------ Pages */

.page-head {
  margin-bottom: 20px;
  text-align: center;
}

.page-head h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(235, 113, 253, 0.5), 0 0 40px rgba(194, 101, 251, 0.3);
}

.page-sub {
  color: var(--text-muted);
  margin: 10px 0 0;
  font-size: 1.1rem;
}

/* ------------------------------------------------------------------ Ranks */

.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.rank-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface-elevated);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  z-index: 1;
}

.rank-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, var(--rank-color), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.rank-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--rank-color) 20%, transparent),
              inset 0 0 30px color-mix(in srgb, var(--rank-color) 10%, transparent);
}

.rank-card:hover::before {
  opacity: 1;
}

.rank-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--rank-color);
  box-shadow: 0 0 20px var(--rank-color);
}

.rank-name {
  font-size: 1.5rem;
  color: var(--rank-color);
  margin: 0 0 8px;
  text-shadow: 0 0 15px color-mix(in srgb, var(--rank-color) 50%, transparent);
}

.rank-price {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.perks {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  flex: 1;
  color: var(--text-muted);
}

.perks li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
  font-size: 0.95rem;
}

.perks li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rank-color);
  text-shadow: 0 0 8px var(--rank-color);
  font-size: 1.1rem;
  line-height: 1.4;
}

.rank-cta {
  width: 100%;
  text-align: center;
}

/* ------------------------------------------------------------------ Footer */

.site-footer {
  position: relative;
  border-top: 1px solid rgba(76, 7, 121, 0.3);
  background: var(--bg-void);
  padding: 40px 20px;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 300px;
  background: radial-gradient(ellipse at bottom, rgba(194, 101, 251, 0.15), transparent 60%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
}

.footer-brand {
  font-size: 1.4rem;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(194, 101, 251, 0.4);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 20px 0 12px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  font-weight: 600;
}

.footer-inner p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* ------------------------------------------------------------------ Responsive */

@media (max-width: 1024px) {
  .rank-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .status-grid {
    grid-template-columns: 1fr;
  }

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

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 3, 20, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    padding: 16px 20px;
    gap: 8px;
  }

  .main-nav.open {
    display: flex;
    animation: slide-up 0.3s ease-out forwards;
  }

  .nav-link {
    padding: 12px;
    font-size: 1.1rem;
    text-align: center;
  }
  
  .nav-link::after {
    display: none; /* Simplify mobile nav */
  }

  .address-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .rank-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 32px 16px 56px;
  }
  
  .wordmark {
    font-size: 2.5rem;
  }
}

/* ------------------------------------------------------------------ Reduced Motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ambient {
    animation: none;
  }

  .hero-glow,
  .wordmark,
  .play-now,
  .status-dot.online {
    animation: none;
  }

  .container > * {
    animation: none;
  }

  .btn::after {
    display: none;
  }

  .btn,
  .feature-card,
  .rank-card,
  .brand,
  .nav-link,
  .address-box {
    transition: none;
  }

  .btn:hover,
  .feature-card:hover,
  .rank-card:hover,
  .address-box:hover,
  .brand:hover {
    transform: none;
  }
}

/* =========================================================================
   Reconciliation — the markup still references these classes, which the
   overhaul's stylesheet does not define. Added so every page renders fully.
   ========================================================================= */

/* Card chrome shared by the status / placeholder / coming-soon cards.
   (The overhaul defines .glass-card as the card base but the markup uses
   these specific class names, so apply the same surface treatment.) */
.status-card,
.placeholder-card,
.coming-soon-card {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* The status card keeps its blue-branded border. */
.status-card {
  border-color: rgba(110, 193, 255, 0.2);
}

/* Offline dot — desaturated red/gray (no new accent color). */
.status-dot.offline {
  background: #6b4146;
  box-shadow: 0 0 8px rgba(107, 65, 70, 0.6);
}

.placeholder-card {
  margin-top: 26px;
  padding: 40px 28px;
  text-align: center;
}

.placeholder-card p {
  color: var(--text-muted);
  margin: 0 0 24px;
  font-size: 1.05rem;
}

.coming-soon-card {
  margin-top: 30px;
  padding: 52px 28px;
  text-align: center;
}

.coming-soon-glyph {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 14px rgba(194, 101, 251, 0.6));
}

.coming-soon-title {
  font-size: 1.6rem;
  color: var(--text-primary);
  text-shadow: 0 0 16px rgba(235, 113, 253, 0.45);
  margin-bottom: 12px;
}

.coming-soon-text {
  color: var(--text-muted);
  margin: 0;
}

.muted {
  color: var(--text-muted);
}

/* Mobile hamburger — the overhaul removed these rules entirely, which left
   the nav unusable below 768px. */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(76, 7, 121, 0.2);
  border: 1px solid rgba(194, 101, 251, 0.35);
  border-radius: 10px;
  padding: 11px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
}