[data-theme="dark-blue"] {
  --bg:           #08090d;
  --card-bg:      #0d0f16;
  --accent:       #4fc3f7;
  --secondary:    #9b59f5;
  --text-primary: #e8e4f0;
  --text-muted:   #5a5870;
  --border-color: rgba(79, 195, 247, 0.15);
}

[data-theme="campfire"] {
  --bg:           #1a0e08;
  --card-bg:      #231208;
  --accent:       #e8622a;
  --secondary:    #f5a623;
  --text-primary: #f2e0cc;
  --text-muted:   #7a5a40;
  --border-color: rgba(232, 98, 42, 0.18);
}

[data-theme="midnight-pink"] {
  --bg:           #1a0d1a;
  --card-bg:      #221022;
  --accent:       #f472b6;
  --secondary:    #c084fc;
  --text-primary: #f5e8f5;
  --text-muted:   #7a5a7a;
  --border-color: rgba(244, 114, 182, 0.18);
}

[data-theme="chalk"] {
  --bg:           #d6d0c4;
  --card-bg:      #c8c2b4;
  --accent:       #1a1a1a;
  --secondary:    #4a4a4a;
  --text-primary: #1a1a1a;
  --text-muted:   #5a5a5a;
  --border-color: rgba(26, 26, 26, 0.2);
}

[data-theme="retro-a"] {
  --bg:           #0a0a2e;
  --card-bg:      #10103a;
  --accent:       #ffe600;
  --secondary:    #ff2a2a;
  --text-primary: #ffffff;
  --text-muted:   #8888aa;
  --border-color: rgba(255, 230, 0, 0.2);
}

[data-theme="retro-b"] {
  --bg:           #5c94fc;
  --card-bg:      #3d6fd4;
  --accent:       #ffcc00;
  --secondary:    #00a800;
  --text-primary: #ffffff;
  --text-muted:   #c8dcff;
  --border-color: rgba(255, 204, 0, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
}

main {
  min-height: 60vh;
}

nav {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  gap: 0.25rem;
  background: color-mix(in srgb, var(--card-bg) 90%, var(--bg));
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  backdrop-filter: blur(10px);
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

nav a:hover,
nav a.active {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

footer {
  padding: 2rem 1rem 7rem;
  text-align: center;
  color: var(--text-muted);
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer a {
  color: var(--accent);
}

[data-theme="retro-a"] img,
[data-theme="retro-b"] img {
  image-rendering: pixelated;
}

/* Theme pill — accent swatches */
.theme-selector {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 220;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: color-mix(in srgb, var(--card-bg) 88%, var(--bg));
  backdrop-filter: blur(8px);
}

.theme-swatch {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--text-muted) 35%, transparent);
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.theme-swatch:hover {
  transform: scale(1.1);
}

.theme-swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 1px var(--bg), 0 0 0 3px var(--text-primary);
  transform: scale(1.05);
}

.theme-swatch[data-theme="dark-blue"] { background: #4fc3f7; }
.theme-swatch[data-theme="campfire"] { background: #e8622a; }
.theme-swatch[data-theme="midnight-pink"] { background: #f472b6; }
.theme-swatch[data-theme="chalk"] { background: #1a1a1a; }
.theme-swatch[data-theme="retro-a"] { background: #ffe600; }
.theme-swatch[data-theme="retro-b"] { background: #ff6b00; }

.coming-soon-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.coming-soon-page__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.coming-soon-page__icon {
  height: 150px;
  width: auto;
  animation: bounce 1.8s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}

.coming-soon-page__title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.coming-soon-page__sub {
  opacity: 0.55;
  font-size: 1rem;
  max-width: 360px;
  line-height: 1.6;
}

.nav-link--soon {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: all;
}

.nav-link--soon:hover::after {
  content: " Coming Soon";
  font-size: 0.75rem;
  opacity: 0.7;
  margin-left: 0.35rem;
}

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