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

:root {
  --font-body: 'Open Sans', Arial, sans-serif;
  --font-display: 'Montserrat', Arial, sans-serif;
  --wood-light: #c89a6a;
  --wood-mid: #a97c4f;
  --wood-dark: #7f572f;
  --board-parchment: #e6dfcf;
  --wall-ink: #3b3a3d;         /* charcoal for anything drawn on the wall */
  --wall-shadow: 25, 25, 30;   /* rgb of shadows cast onto the grey wall */
  --board-border: #3b3024;
  --smash-gold: #fbd743;
  --smash-green: #00b03b;
  --sold-red: #d11212;
}

html, body {
  height: 100%;
  overflow: hidden; /* Strict SPA No-Scroll on Desktop */
}

body {
  font-family: var(--font-body);
  color: #fff;
  /* Photo of a real painted wall (lit from the left), so the cork board is the star */
  background: #9a979b url('wall1.webp') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient particles disabled to keep the wood-panel room background clean and "real" */
.spirit-motes {
  display: none;
}

.spa-layout {
  position: relative;
  z-index: 1;
  width: 95vw;
  max-width: 1100px;
  height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Header HUD */
.spirit-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hud-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.smash-pill {
  background: var(--smash-green);
  color: #fff;
  padding: 4px 18px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.5px;
  transform: skew(-15deg);
  border: 2px solid #000;
  box-shadow: 2px 2px 0px #000, 0 6px 14px rgba(var(--wall-shadow), 0.35);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Logo in the header, on a white "sticker" so the navy lettering stands
   out from the grey wall (matches the white menu button) */
.brand-logo {
  display: block;
  height: 58px;
  width: auto;
  padding: 7px 14px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(var(--wall-shadow), 0.25), 0 6px 14px rgba(var(--wall-shadow), 0.2);
}

.hud-sub {
  font-size: 1rem;
  color: #a5b4cf;
  font-style: italic;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 0 #000;
}

/* Episodic "diary entry" tab badge, not a status toggle */
.wave-status {
  position: relative;
  background: linear-gradient(135deg, #3a2d19, #241a0d);
  border: 1px solid rgba(251, 215, 67, 0.55);
  border-left: 4px solid var(--smash-gold);
  color: var(--smash-gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 6px 14px;
  border-radius: 2px 8px 8px 2px;
  letter-spacing: 1.5px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4), 0 6px 14px rgba(var(--wall-shadow), 0.35);
  white-space: nowrap;
}

/* Hamburger — currently opens the "future updates" info panel only */
.hamburger-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #f7f7f8;
  border: 1px solid rgba(var(--wall-shadow), 0.25);
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(var(--wall-shadow), 0.25);
  cursor: pointer;
}

.hamburger-btn span {
  width: 20px;
  height: 2.5px;
  background: var(--wall-ink);
  border-radius: 2px;
}

.hamburger-btn:hover {
  border-color: var(--wall-ink);
}

/* Future Updates panel */
.updates-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.updates-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

.updates-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 85vw);
  background: #141822;
  border-left: 3px solid var(--smash-gold);
  z-index: 200;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.updates-panel.open {
  transform: translateX(0);
  /* Shadow only while open, or it peeks in from off-screen on the light wall */
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
}

.updates-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 10px;
}

.updates-panel-header h3 {
  font-family: var(--font-display);
  color: var(--smash-gold);
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.updates-close {
  background: none;
  border: none;
  color: #888;
  font-size: 1.3rem;
  cursor: pointer;
}

.updates-close:hover {
  color: #fff;
}

.updates-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.updates-list li {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #cbd5e1;
  padding-left: 16px;
  position: relative;
}

.updates-list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--smash-gold);
}

.updates-footer {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  color: #77849c;
  font-style: italic;
}

/* Footer Timer */
.spirit-hud-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Small shipping / returns / privacy / contact links under the timer */
.footer-links {
  display: flex;
  gap: 14px;
  font-size: 0.75rem;
}

.footer-links a {
  color: var(--wall-ink);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Link to the policies page inside the "What's Coming" panel */
.updates-policies {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--smash-gold);
  text-decoration: none;
}

.updates-policies:hover { text-decoration: underline; }

.rotation-timer-capsule {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #000;
  border: 2px solid var(--smash-gold);
  padding: 4px 22px;
  transform: skew(-15deg);
  box-shadow: 0 0 12px rgba(251, 215, 67, 0.25), 0 6px 14px rgba(var(--wall-shadow), 0.4);
}

.timer-title {
  font-size: 0.75rem;
  color: var(--smash-gold);
  letter-spacing: 1px;
  white-space: nowrap;
}

.timer-title-short {
  display: none;
}

.timer-val {
  font-family: monospace;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 2px;
}

/* Under 24h: red alert + flash to push urgency/FOMO */
.rotation-timer-capsule.urgent {
  border-color: var(--sold-red);
  animation: urgent-flash 0.9s infinite;
}

.rotation-timer-capsule.urgent .timer-title,
.rotation-timer-capsule.urgent .timer-val {
  color: var(--sold-red);
}

@keyframes urgent-flash {
  0%, 100% {
    box-shadow: 0 0 12px rgba(209, 18, 18, 0.35);
    background: #000;
  }
  50% {
    box-shadow: 0 0 24px rgba(209, 18, 18, 0.9);
    background: #2a0000;
  }
}

/* Phone-width tightening */
@media (max-width: 480px) {
  .brand-logo {
    height: 44px;
    padding: 5px 10px;
  }

  .smash-pill {
    font-size: 1rem;
    padding: 3px 12px;
  }

  .wave-status {
    font-size: 0.62rem;
    padding: 5px 10px;
    letter-spacing: 1px;
  }

  .hamburger-btn {
    width: 34px;
    height: 34px;
  }

  .rotation-timer-capsule {
    padding: 4px 14px;
    gap: 6px;
  }

  .timer-title-full {
    display: none;
  }

  .timer-title-short {
    display: inline;
  }

  .timer-title {
    font-size: 0.65rem;
  }

  .timer-val {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
}
/* Hide Netlify's badge (loaded on every page via main.css) */
#nl-badge-frame {
  display: none !important;
}
