/* ===== MINIMAL MODE (default) ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Space Mono", monospace;
  background-color: #fafafa;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
  transition: all 0.3s ease;
}

main {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Header */
header {
  text-align: center;
  padding-bottom: 1.5rem;
}

.title {
  font-size: 2rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.location {
  font-size: 0.9rem;
  color: #666;
}

.nav {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.nav a {
  color: #555;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s;
}

.nav a:hover {
  color: #111;
  border-color: #bbb;
  background: #f5f5f5;
}

/* Rainbow bar */
.rainbow-bar {
  height: 4px;
  background: linear-gradient(90deg, #e53935, #fb8c00, #fdd835, #43a047, #1e88e5, #8e24aa);
  opacity: 0.85;
}

.rainbow-line {
  height: 4px;
  background: linear-gradient(90deg, #e53935, #fb8c00, #fdd835, #43a047, #1e88e5, #8e24aa);
  opacity: 0.85;
  margin-bottom: 1rem;
  border-radius: 2px;
}

/* About */
.about {
  text-align: center;
}

.tagline {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
}

.description {
  font-size: 0.95rem;
  color: #555;
}

/* Info section */
.info {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 1.25rem;
  border-radius: 4px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-item:first-child {
  padding-top: 0;
}

.label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
}

.value {
  color: #333;
}

/* CTA */
.cta {
  text-align: center;
}

.cta p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s;
}

.button:hover {
  border-color: #bbb;
  background: #f5f5f5;
}

.faq-link {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.faq-link a {
  color: #111;
}

/* Footer */
footer {
  text-align: center;
  padding-top: 1.5rem;
}

.footer-text {
  font-size: 0.75rem;
  color: #bbb;
}

/* FAQ */
.faq {
  text-align: left;
}

.faq h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 1.5rem;
}

.faq details {
  background: #fff;
  border: 1px solid #e0e0e0;
  margin-bottom: 0.5rem;
  border-radius: 4px;
}

.faq summary {
  padding: 1rem;
  cursor: pointer;
  font-weight: 500;
  color: #222;
}

.faq summary:hover {
  background: #f5f5f5;
}

.faq details p {
  padding: 0 1rem 1rem;
  font-size: 0.9rem;
  color: #555;
}

.back-link {
  text-align: center;
}

.back-link a {
  color: #666;
  font-size: 0.9rem;
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

/* Merch placeholder */
.merch-placeholder {
  text-align: center;
  padding: 3rem 1rem;
}

.merch-placeholder h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 1rem;
}

.coming-soon {
  font-size: 1.25rem;
  color: #888;
  font-style: italic;
  margin-bottom: 1rem;
}

.merch-desc {
  font-size: 0.95rem;
  color: #666;
}

/* Toggle switch */
.vibe-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1000;
}

.vibe-label {
  font-size: 0.75rem;
  color: #999;
  transition: color 0.3s;
}

.switch {
  position: relative;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bcb77, #4d96ff, #9b59b6);
  background-size: 200% 100%;
  animation: slider-rainbow 2s linear infinite;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

@keyframes slider-rainbow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ===== RAINBOW MODE (chaos) ===== */

body.rainbow-mode {
  font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Chalkboard", cursive;
  background:
    linear-gradient(135deg, rgba(255,0,0,0.04) 0%, rgba(255,127,0,0.04) 17%, rgba(255,255,0,0.04) 33%, rgba(0,255,0,0.04) 50%, rgba(0,127,255,0.04) 67%, rgba(127,0,255,0.04) 83%, rgba(255,0,127,0.04) 100%),
    #fff9c4;
  background-size: 400% 400%;
  animation: rainbow-bg 15s ease infinite;
}

@keyframes rainbow-bg {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

body.rainbow-mode .vibe-label {
  color: #cc00cc;
}

body.rainbow-mode main {
  max-width: 700px;
}

body.rainbow-mode .container {
  gap: 1.5rem;
}

body.rainbow-mode header {
  padding-bottom: 1rem;
}

body.rainbow-mode .title {
  font-size: 2.5rem;
  font-weight: bold;
  animation: float 4s ease-in-out infinite;
}

body.rainbow-mode .title .emoji {
  display: inline-block;
  animation: emoji-bounce 2s ease-in-out infinite;
}

body.rainbow-mode .title .emoji:first-child {
  animation-delay: 0s;
}

body.rainbow-mode .title .emoji:last-child {
  animation-delay: 0.5s;
}

@keyframes emoji-bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-3px) rotate(-5deg); }
  75% { transform: translateY(-3px) rotate(5deg); }
}

body.rainbow-mode .title .title-text {
  color: #ff00ff;
  text-shadow:
    3px 3px 0 #00ffff,
    6px 6px 0 #ffff00,
    9px 9px 0 #00ff00;
}

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

body.rainbow-mode .location {
  font-size: 1.1rem;
  color: #2e7d32;
  font-style: italic;
}

body.rainbow-mode .nav a {
  color: #000;
  background: linear-gradient(180deg, #fff, #ece9d8 45%, #d4d0c8 50%, #c4c0b8);
  border: 2px solid;
  border-color: #fff #404040 #404040 #fff;
  border-radius: 0;
  font-weight: bold;
  box-shadow: 1px 1px 0 #000;
}

body.rainbow-mode .nav a:hover {
  background: linear-gradient(180deg, #fff, #f0ede5 45%, #e4e0d8 50%, #d4d0c8);
}

body.rainbow-mode .nav a:active {
  border-color: #404040 #fff #fff #404040;
  box-shadow: inset 1px 1px 2px rgba(0,0,0,0.2);
}

body.rainbow-mode .rainbow-bar {
  height: 10px;
  background: linear-gradient(90deg,
    #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #8b00ff,
    #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #8b00ff,
    #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #8b00ff
  );
  background-size: 300% 100%;
  animation: rainbow-scroll 3s linear infinite;
  border: 2px solid #000;
  opacity: 1;
}

@keyframes rainbow-scroll {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

body.rainbow-mode .rainbow-line {
  height: 8px;
  background: linear-gradient(90deg,
    #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #8b00ff,
    #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #8b00ff
  );
  background-size: 200% 100%;
  animation: rainbow-scroll 3s linear infinite;
  opacity: 1;
}

body.rainbow-mode .about {
  background: #ffffff;
  border: 4px solid;
  border-image: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bcb77, #4d96ff, #9b59b6) 1;
  padding: 1.5rem;
  animation: border-hue 8s linear infinite;
}

@keyframes border-hue {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(45deg); }
}

body.rainbow-mode .tagline {
  font-size: 1.3rem;
  background: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bcb77, #4d96ff, #9b59b6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-text 4s linear infinite;
  font-weight: bold;
}

@keyframes rainbow-text {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

body.rainbow-mode .description {
  font-size: 1.1rem;
  color: #000080;
}

body.rainbow-mode .info {
  background: linear-gradient(180deg, #ece9d8, #d4d0c8);
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  border-radius: 0;
  box-shadow: inset 1px 1px 0 #404040, inset -1px -1px 0 #dfdfdf;
}

body.rainbow-mode .info-item {
  border-bottom: 1px dashed #ccaaee;
}

body.rainbow-mode .label {
  font-weight: bold;
  color: #7b1fa2;
  font-size: 0.8rem;
}

body.rainbow-mode .value {
  color: #333;
}

body.rainbow-mode .cta {
  background: linear-gradient(180deg, #ece9d8, #d4d0c8);
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  padding: 1.5rem;
  border-radius: 0;
  box-shadow: inset 1px 1px 0 #dfdfdf;
}

body.rainbow-mode .cta p {
  font-size: 1rem;
  color: #000;
  font-weight: bold;
}

body.rainbow-mode .button {
  background: linear-gradient(180deg, #fff, #ece9d8 45%, #d4d0c8 50%, #c4c0b8);
  color: #000;
  border: 2px solid;
  border-color: #fff #404040 #404040 #fff;
  border-radius: 0;
  font-size: 1rem;
  text-decoration: none;
  font-weight: bold;
  text-shadow: none;
  box-shadow: 1px 1px 0 #000;
  padding: 0.75rem 1.25rem;
  transform: none;
}

body.rainbow-mode .button:hover {
  background: linear-gradient(180deg, #fff, #f0ede5 45%, #e4e0d8 50%, #d4d0c8);
}

body.rainbow-mode .button:active {
  border-color: #404040 #fff #fff #404040;
  background: linear-gradient(180deg, #c4c0b8, #d4d0c8 50%, #ece9d8 55%, #fff);
  box-shadow: inset 1px 1px 2px rgba(0,0,0,0.2);
}

body.rainbow-mode .button svg {
  fill: #000;
}

body.rainbow-mode .faq-link {
  font-size: 1rem;
  color: #666;
}

body.rainbow-mode .faq-link a {
  color: #1565c0;
}

body.rainbow-mode footer {
  border-top: none;
}

body.rainbow-mode .footer-text {
  font-size: 1rem;
  color: #888;
}

/* Rainbow mode FAQ */
body.rainbow-mode .faq h2 {
  font-size: 1.75rem;
  color: #c2185b;
}

body.rainbow-mode .faq details {
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  border-radius: 0;
  margin-bottom: 0.75rem;
  box-shadow: inset 1px 1px 0 #404040;
}

body.rainbow-mode .faq summary {
  background: linear-gradient(180deg, #fff, #ece9d8 45%, #d4d0c8 50%, #c4c0b8);
  color: #000;
  font-weight: bold;
  border-bottom: 1px solid #808080;
}

body.rainbow-mode .faq summary:hover {
  background: linear-gradient(180deg, #fff, #f0ede5 45%, #e4e0d8 50%, #d4d0c8);
}

body.rainbow-mode .faq details p {
  background: #fff;
  font-size: 0.95rem;
  color: #000;
}

body.rainbow-mode .back-link a {
  color: #1565c0;
}

/* Sparkle cursor effect */
.sparkle {
  position: absolute;
  pointer-events: none;
  font-size: 28px;
  animation: sparkle-fade 2s ease-out forwards;
  z-index: 9999;
}

@keyframes sparkle-fade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.5) rotate(0deg) translateY(0);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2) rotate(10deg) translateY(-10px);
  }
  40% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(-5deg) translateY(-20px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8) rotate(15deg) translateY(-60px);
  }
}

/* Responsive */
/* Mobile styles */
@media (max-width: 600px) {
  main {
    padding: 1.5rem 1rem;
  }

  .container {
    gap: 1.5rem;
  }

  .title {
    font-size: 1.4rem;
  }

  .title .emoji {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }

  .title .title-text {
    display: block;
  }

  /* Keep emoji animations in rainbow mode on mobile */
  body.rainbow-mode .title .emoji {
    display: inline-block;
    animation: emoji-bounce 2s ease-in-out infinite;
  }

  .location {
    font-size: 0.8rem;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .nav a {
    margin: 0;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .description {
    font-size: 0.9rem;
  }

  .info {
    padding: 1rem;
  }

  .info-item {
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
  }

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

  .label {
    font-size: 0.7rem;
  }

  .value {
    font-size: 0.9rem;
  }

  .cta p {
    font-size: 0.85rem;
  }

  .button {
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
  }

  .vibe-toggle {
    top: 0.5rem;
    right: 0.5rem;
  }

  .vibe-label {
    display: none;
  }

  .footer-text {
    font-size: 0.65rem;
  }

  /* Rainbow mode mobile */
  body.rainbow-mode .title {
    font-size: 1.75rem;
  }

  body.rainbow-mode .title .title-text {
    text-shadow:
      2px 2px 0 #00ffff,
      4px 4px 0 #ffff00;
  }

  body.rainbow-mode .nav a {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  /* FAQ mobile */
  .faq h2 {
    font-size: 1.25rem;
  }

  .faq summary {
    font-size: 0.9rem;
    padding: 0.75rem;
  }

  .faq details p {
    font-size: 0.85rem;
    padding: 0.75rem;
  }

  /* Merch mobile */
  .merch-placeholder h2 {
    font-size: 1.25rem;
  }

  .coming-soon {
    font-size: 1rem;
  }

  .merch-desc {
    font-size: 0.9rem;
  }

  .back-link a {
    font-size: 0.85rem;
  }
}
