:root {
  --primary: #ff4500;
  --bg-color: #0b0b0f;
  --text-color: #ffffff;
  --font-family: 'Outfit', sans-serif;
}

/* ===================== SITE HEADER ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* starts hidden just above viewport */
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.5s ease,
              backdrop-filter 0.5s ease,
              border-color 0.5s ease,
              box-shadow 0.3s ease;
  /* fully transparent at top */
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
}

/* Visible state — added by JS */
.site-header.header-visible {
  transform: translateY(0);
}

/* Frosted glass kicks in once user scrolls */
.site-header.header-scrolled {
  background: rgba(168, 85, 247, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(168, 85, 247, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  position: relative;
}

/* Logo */
.header-logo {
  font-family: 'Silkscreen', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(255, 69, 0, 0.7);
  flex-shrink: 0;
  transition: text-shadow 0.3s ease;
}

.header-logo:hover {
  text-shadow: 0 0 30px rgba(255, 69, 0, 1), 0 0 10px rgba(255, 150, 50, 0.6);
}

/* Contract Address pill — center */
.header-ca {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(11, 11, 15, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50px;
  padding: 6px 8px 6px 14px;
  max-width: 480px;
  width: 100%;
}

.header-ca-label {
  font-family: 'Silkscreen', sans-serif;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 2px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.header-ca-address {
  font-family: monospace;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.header-copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(168, 85, 247, 0.35);
  border: 1px solid rgba(168, 85, 247, 0.6);
  border-radius: 50px;
  padding: 5px 12px;
  color: #c084fc;
  font-family: var(--font-family);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.header-copy-btn:hover {
  background: rgba(168, 85, 247, 0.35);
  border-color: rgba(168, 85, 247, 0.7);
  color: #fff;
}

.header-copy-btn.copied {
  background: rgba(0, 200, 100, 0.15);
  border-color: rgba(0, 200, 100, 0.4);
  color: #4ade80;
}

/* Right group: socials + buy */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-social-link {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.header-social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Turn white image to purple (#a855f7) */
  filter: brightness(0) saturate(100%) invert(45%) sepia(35%) saturate(3025%) hue-rotate(238deg) brightness(101%) contrast(92%);
  transition: filter 0.4s ease;
}

.site-header.header-scrolled .header-social-link img {
  /* Transition back to pure white */
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.header-social-link:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* Buy button */
.header-buy-btn {
  font-family: 'Silkscreen', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: #a855f7;
  background: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.header-buy-btn:hover {
  background: #f3e8ff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* Mobile controls (buy + hamburger) — hidden on desktop */
.header-mobile-controls {
  display: none;
  align-items: center;
  gap: 10px;
}

/* Smaller "BUY" pill on mobile */
.header-buy-btn--mobile {
  font-size: 0.65rem;
  padding: 8px 14px;
}

/* ===================== HAMBURGER ===================== */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease;
}

.hamburger:hover {
  background: rgba(255,255,255,0.12);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}

/* X state */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================== MOBILE DRAWER ===================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 90vw;
  height: 100%;
  background: rgba(14, 14, 20, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-drawer.drawer-open {
  transform: translateX(0);
}

.drawer-inner {
  display: flex;
  flex-direction: column;
  padding: 80px 28px 40px;
  gap: 10px;
  height: 100%;
}

.drawer-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  line-height: 1;
}

.drawer-close:hover {
  background: rgba(255,255,255,0.14);
}

.drawer-section-label {
  font-family: 'Silkscreen', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 8px;
}

/* Contract address in drawer */
.drawer-ca-pill {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 16px;
}

.drawer-ca-address {
  font-family: monospace;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  word-break: break-all;
  line-height: 1.5;
}

.drawer-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 50px;
  padding: 9px 16px;
  color: #c084fc;
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
}

.drawer-copy-btn:hover {
  background: rgba(168, 85, 247, 0.3);
  color: #fff;
}

.drawer-copy-btn.copied {
  background: rgba(0, 200, 100, 0.12);
  border-color: rgba(0, 200, 100, 0.35);
  color: #4ade80;
}

/* Social links in drawer */
.drawer-socials {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.drawer-social-link:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.drawer-social-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.65;
  flex-shrink: 0;
}

.drawer-social-link:hover img {
  opacity: 1;
}

/* Buy button at bottom of drawer */
.drawer-buy-btn {
  margin-top: auto;
  display: block;
  text-align: center;
  font-family: 'Silkscreen', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  border-radius: 50px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

.drawer-buy-btn:hover {
  background: linear-gradient(135deg, #c084fc, #a855f7);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
  transform: translateY(-1px);
}

/* ===================== BACKDROP ===================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.drawer-backdrop.backdrop-visible {
  opacity: 1;
  pointer-events: all;
}

/* ===================== HEADER RESPONSIVE ===================== */
@media (max-width: 900px) {
  /* Hide desktop CA pill and socials/buy on smaller screens */
  .header-ca,
  .header-right {
    display: none;
  }

  /* Show mobile controls */
  .header-mobile-controls {
    display: flex;
  }
}

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

/* Loader Overlay */
#loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  background: #0b0b0f;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.loader-hat {
  width: 120px;
  height: auto;
  animation: hatPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.15));
}

@keyframes hatPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

.loader-text {
  font-family: 'Silkscreen', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.loader-dots::after {
  content: '';
  animation: dotCycle 1.5s steps(4, end) infinite;
}

@keyframes dotCycle {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

.loader-bar-track {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #a855f7, #fff);
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.scroll-container {
  position: relative;
  width: 100%;
}

#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}

.hero-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  text-align: center;
  pointer-events: none;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.hero-title {
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 40px rgba(153, 69, 255, 0.8), 0 0 10px rgba(153, 69, 255, 0.5);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-img {
  width: min(650px, 85vw);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 35px rgba(153, 69, 255, 0.7)) drop-shadow(0 0 10px rgba(153, 69, 255, 0.4));
  animation: logoGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes logoGlowPulse {
  0% {
    filter: drop-shadow(0 0 25px rgba(153, 69, 255, 0.5)) drop-shadow(0 0 5px rgba(153, 69, 255, 0.3));
    transform: translateY(0);
  }
  100% {
    filter: drop-shadow(0 0 45px rgba(153, 69, 255, 0.9)) drop-shadow(0 0 15px rgba(153, 69, 255, 0.5));
    transform: translateY(-5px);
  }
}

/* .hero-subtitle removed from HTML */

.scroll-indicator {
  position: absolute;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.wheel {
  width: 4px;
  height: 10px;
  background: #fff;
  border-radius: 2px;
  animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}

.final-frame-text {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  padding: 0 15%;
  will-change: transform, opacity;
  transform: translateZ(0);
  background: rgba(0, 0, 0, 0.65);
}

.masterchef-title {
  font-family: 'Silkscreen', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.2);
}

.masterchef-text {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: #f0f0f0;
  max-width: 800px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
  font-weight: 400;
}

.next-section {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100svh;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.frame-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.frame-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
  transform: translateZ(0);
}

.frame-content {
  position: relative;
  width: 75%;
  height: 65%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 10px 20px;
  overflow: hidden;
}

.order-title {
  font-family: 'Silkscreen', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 5px;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
  letter-spacing: 2px;
}

.order-subtitle {
  font-family: 'Silkscreen', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 2px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.order-text {
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  max-width: 450px; /* narrowed to force 2 lines */
  margin-bottom: 10px;
  line-height: 1.5;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.wallet-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 8px 8px 8px 20px;
  width: 90%;
  max-width: 450px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.wallet-address {
  font-family: monospace;
  font-size: clamp(0.7rem, 2vw, 1rem);
  color: #fff;
  margin-right: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 50px;
  padding: 6px 16px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.icon-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: nowrap;
  width: 100%;
}

.crypto-icon {
  width: 75px;
  height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.crypto-icon:hover {
  transform: translateY(-5px) scale(1.1);
}

.crypto-icon svg, .crypto-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

/* Video Section */
.video-section {
  position: relative;
  width: 100%;
  height: 100svh;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 4;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
  pointer-events: none;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
  width: 24px;
  height: 24px;
  margin-left: 4px; /* visually center the play triangle */
}

.video-content {
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 450px;
  max-width: 80vw;
  z-index: 3;
  text-align: left;
}

.video-title {
  font-family: 'Silkscreen', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 2px 2px 0px rgba(0,0,0,1);
}

.video-text {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  font-weight: 300;
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}

.social-icon-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0.7);
  transition: filter 0.3s ease;
}

.social-icon-link:hover {
  transform: scale(1.2);
}

.social-icon-link:hover img {
  filter: brightness(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

/* How to Buy Section */
.how-to-buy-section {
  width: 100%;
  min-height: 100svh;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 0;
  position: relative;
  z-index: 4;
}

.htb-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 40px;
  padding-right: 5%;
}

.htb-video-col {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: stretch; /* stretch video full height */
}

.htb-content-col {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center; /* keep card vertically centered */
}

.htb-video {
  width: 100%;
  max-width: 100%;
  height: 100%;
  border-radius: 0 20px 20px 0;
  object-fit: cover;
}

.htb-card {
  background: rgba(20, 25, 30, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  width: 100%;
  max-width: 550px;
}

.htb-title {
  font-family: 'Silkscreen', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  margin-bottom: 5px;
  letter-spacing: 2px;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

.htb-steps {
  list-style: none;
  counter-reset: htb-counter;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.htb-steps li {
  position: relative;
  padding-left: 20px;
  counter-increment: htb-counter;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #d1d5db; /* slightly dimmed text */
}

.htb-steps li::before {
  content: counter(htb-counter) ". ";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #fff;
}

.htb-steps strong {
  color: #fff;
  font-weight: 700;
}

.htb-buttons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.htb-btn-primary {
  background: #a855f7; /* vibrant purple */
  color: white;
  border: 1px solid #a855f7;
  border-radius: 50px;
  padding: 14px 20px;
  font-family: 'Silkscreen', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.htb-btn-primary:hover {
  background: #9333ea;
  border-color: #9333ea;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}

.htb-btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 50px;
  padding: 14px 20px;
  font-family: 'Silkscreen', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.htb-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .htb-container {
    flex-direction: column;
    align-items: center;
    padding-right: 0;
  }
  
  .htb-video-col, .htb-content-col {
    width: 100%;
  }

  .htb-video {
    border-radius: 0 0 20px 20px; /* rounded at bottom for mobile */
    height: 80vh; /* Increase to 80vh to fit both the smoke text and the hand */
    max-height: 80vh; 
    object-position: center; /* Center it nicely so neither top nor bottom are chopped excessively */
  }
  
  .htb-buttons {
    flex-direction: column;
  }
  
  .htb-card {
    width: 90%;
    margin: 0 auto;
    padding: 30px 20px;
  }

  .manifesto-terminal {
    justify-content: flex-start;
    padding: 10vh 5vw;
  }

  .final-frame-text {
    padding: 0 5%;
  }

  .masterchef-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .faq-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  /* Order Here Mobile Tweaks */
  .frame-content {
    width: 85%;
    height: 85%;
    gap: 12px; /* breathe */
    padding-top: 10px;
  }

  .order-title {
    font-size: 1.6rem; /* smaller to avoid wrap */
    margin-bottom: 2px;
  }

  .order-subtitle {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }

  .order-text {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .wallet-pill {
    flex-direction: column;
    padding: 12px 10px;
    gap: 10px;
    border-radius: 20px;
    width: 95%;
  }

  .wallet-address {
    margin: 0;
    text-align: center;
    width: 100%;
    font-size: 0.85rem;
  }

  .copy-button {
    width: 100%;
    justify-content: center;
    padding: 10px;
  }

  .icon-row {
    flex-wrap: wrap; /* allow wrapping */
    gap: 8px 4px; /* smaller horizontal/vertical gap */
    width: 100%;
    justify-content: center;
    margin-top: 5px;
  }
  
  .crypto-icon {
    width: 50px; /* smaller icons to aggressively fit the frame */
    height: 50px;
    display: flex;
    justify-content: center;
  }
}

/* Manifesto Terminal Section */
.manifesto-terminal {
  width: 100%;
  min-height: 100svh;
  background-color: #050505;
  padding: 15vh 10vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 4;
  position: relative;
}

.terminal-body {
  font-family: 'Silkscreen', sans-serif;
  font-size: clamp(1rem, 3vw, 2.5rem);
  color: #8cff73; /* 30% lighter terminal green */
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  text-shadow: 0 0 5px rgba(140, 255, 115, 0.4);
}

.manifesto-heading {
  font-size: 1.5em;
  font-weight: 400;
  color: #fff; /* make it white to stand out, or keep it green */
  text-shadow: 0 0 10px rgba(140, 255, 115, 0.8);
}

.terminal-cursor {
  display: inline-block;
  width: 0.8ch;
  height: 1em;
  background-color: #8cff73;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

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

/* FAQ Section */
.faq-section {
  width: 100%;
  min-height: 100svh;
  background-color: #0b0b0f;
  background-image: url('assets/images/background-face.png');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px;
  position: relative;
  z-index: 5;
}

.faq-container {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  z-index: 2;
}

.faq-title {
  font-family: 'Silkscreen', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(0,0,0,0.8);
  letter-spacing: 2px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 25px; /* Increased from 15px for more space */
}

.faq-item {
  width: 100%;
  border: 1px solid #fff;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.6);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  padding: 20px 30px;
  color: #fff;
  font-family: 'Silkscreen', sans-serif;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
  background: transparent;
  padding: 0 30px;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 10px 30px 40px 30px;
  opacity: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-answer p {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Footer */
.site-footer {
  width: 100%;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 5% 30px;
  position: relative;
  z-index: 5;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-col {
  flex: 1;
}

.footer-heading {
  font-family: 'Silkscreen', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-family);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-links a:hover {
    transform: none;
  }
}

/* ===================== COMING SOON OVERLAY ===================== */
body.coming-soon-mode {
  overflow: hidden !important;
}

body.coming-soon-mode #coming-soon-overlay {
  display: flex;
}

#coming-soon-overlay {
  display: none; /* hidden by default, enabled by body.coming-soon-mode */
  position: fixed;
  inset: 0;
  background-color: #0b0b0f;
  background-image: linear-gradient(rgba(11, 11, 15, 0.65), rgba(11, 11, 15, 0.75)), url('assets/images/background-chef.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  justify-content: center;
  align-items: center;
  z-index: 100000; /* Sit on top of everything, including loader overlay */
  text-align: center;
  overflow: hidden;
}

.cs-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 30px;
  max-width: 800px;
  width: 90%;
  border-radius: 24px;
  background: rgba(11, 11, 15, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(153, 69, 255, 0.2);
  box-shadow: 0 0 50px rgba(153, 69, 255, 0.15);
}

.cs-title {
  font-family: 'Silkscreen', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  letter-spacing: 4px;
  color: #fff;
  text-shadow: 0 0 30px rgba(153, 69, 255, 0.8), 0 0 10px rgba(153, 69, 255, 0.4);
  line-height: 1.2;
  margin: 0;
}

.cs-subtitle {
  font-family: var(--font-family);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
  margin: 0;
  max-width: 600px;
  line-height: 1.5;
}