/* ============================================================
   NOMAD SKEWERS — COMING SOON
   Brand: Deep Purple #12031a / #1f072a, Gold #d4a017, #f7e2a9
   Fonts: Montserrat (headings), Nunito Sans (body)
   ============================================================ */

/* ── Reset & tokens ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c-bg-deep:    #12031a;
  --c-bg-dark:    #1f072a;
  --c-bg-mid:     #2e0a3f;
  --c-gold:       #d4a017;
  --c-gold-light: #f7e2a9;
  --c-gold-dim:   #9e7511;
  --c-text:       #f7e2a9;
  --c-text-muted: rgba(247,226,169,0.6);
  --c-white:      #ffffff;
  --c-overlay:    rgba(18, 3, 26, 0.82);

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Nunito Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md: 12px;
  --radius-lg: 24px;

  --transition: 0.35s cubic-bezier(.4,0,.2,1);
  --glow-gold: 0 0 24px rgba(212,160,23,0.45), 0 0 60px rgba(212,160,23,0.12);

  /* Mobile safe padding */
  --px-mobile: 1.4rem;
  --px-tablet: 2.5rem;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--c-bg-deep);
  color: var(--c-text);
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
}

/* ── Particle canvas ── */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Background layers ── */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.bg-hero {
  background-image: url('assets/hero-bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.12;
  filter: saturate(0.5);
  animation: bgPulse 12s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  from { opacity: 0.10; transform: scale(1); }
  to   { opacity: 0.16; transform: scale(1.04); }
}

.bg-overlay {
  background: radial-gradient(ellipse 80% 60% at 50% 30%,
    rgba(46,10,63,0.5) 0%,
    rgba(18,3,26,0.95) 70%,
    rgba(18,3,26,1) 100%);
}

/* ── Ornamental overlay (hero-bg faint) ── */
.bg-ornament {
  position: fixed;
  top: -10%;
  right: -15%;
  width: min(680px, 80vw);
  height: min(680px, 80vw);
  background-image: url('assets/hero-bg.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.06;
  filter: sepia(1) hue-rotate(10deg);
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  animation: ornamentFloat 20s ease-in-out infinite alternate;
}

@keyframes ornamentFloat {
  from { transform: translateY(0) rotate(0deg); }
  to   { transform: translateY(-20px) rotate(8deg); }
}

/* ── Floating spice dots ── */
.spice-dots {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.spice-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--c-gold);
  opacity: 0;
  animation: spiceFloat linear infinite;
}

@keyframes spiceFloat {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.15; }
  90%  { opacity: 0.08; }
  100% { transform: translateY(-120px) rotate(360deg); opacity: 0; }
}

/* ── Floating food image orbs ── */
.food-floats {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.food-orb {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.09;
  filter: saturate(0.6) brightness(0.7) sepia(0.3);
  transition: opacity 1s ease;
  /* Gold ring border */
  box-shadow:
    0 0 0 1px rgba(212,160,23,0.15),
    0 0 30px rgba(212,160,23,0.06);
}

.food-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Individual orb sizes, positions & drift animations */
.food-orb--1 {
  width: 220px; height: 220px;
  top: 8%;  left: -60px;
  animation: drift1 28s ease-in-out infinite;
}
.food-orb--2 {
  width: 160px; height: 160px;
  top: 15%; right: -30px;
  animation: drift2 22s ease-in-out infinite 4s;
}
.food-orb--3 {
  width: 280px; height: 280px;
  bottom: 12%; left: 5%;
  animation: drift3 32s ease-in-out infinite 8s;
}
.food-orb--4 {
  width: 140px; height: 140px;
  top: 50%; right: 4%;
  animation: drift4 24s ease-in-out infinite 2s;
}
.food-orb--5 {
  width: 200px; height: 200px;
  bottom: 5%; right: -40px;
  animation: drift5 26s ease-in-out infinite 6s;
}
.food-orb--6 {
  width: 120px; height: 120px;
  top: 38%; left: 2%;
  animation: drift6 20s ease-in-out infinite 10s;
}

/* Unique drift paths — subtle, slow, organic */
@keyframes drift1 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  25%  { transform: translate(30px, 40px) rotate(5deg) scale(1.04); }
  50%  { transform: translate(10px, 80px) rotate(-3deg) scale(0.97); }
  75%  { transform: translate(40px, 30px) rotate(6deg) scale(1.02); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

@keyframes drift2 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  30%  { transform: translate(-40px, 50px) rotate(-8deg) scale(1.06); }
  60%  { transform: translate(-20px, 100px) rotate(4deg) scale(0.95); }
  80%  { transform: translate(-50px, 60px) rotate(-5deg) scale(1.03); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

@keyframes drift3 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  20%  { transform: translate(50px, -30px) rotate(4deg) scale(1.03); }
  50%  { transform: translate(80px, -60px) rotate(-6deg) scale(0.96); }
  75%  { transform: translate(30px, -20px) rotate(3deg) scale(1.02); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

@keyframes drift4 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  35%  { transform: translate(-35px, -50px) rotate(-7deg) scale(1.05); }
  65%  { transform: translate(-60px, -90px) rotate(5deg) scale(0.94); }
  85%  { transform: translate(-30px, -40px) rotate(-4deg) scale(1.02); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

@keyframes drift5 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  25%  { transform: translate(-45px, -40px) rotate(6deg) scale(1.04); }
  55%  { transform: translate(-70px, -70px) rotate(-4deg) scale(0.97); }
  80%  { transform: translate(-30px, -30px) rotate(5deg) scale(1.01); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

@keyframes drift6 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  40%  { transform: translate(25px, -45px) rotate(-9deg) scale(1.07); }
  70%  { transform: translate(50px, -80px) rotate(7deg) scale(0.93); }
  90%  { transform: translate(20px, -35px) rotate(-5deg) scale(1.03); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

/* Hide smallest orbs on very small screens to reduce clutter */
@media (max-width: 480px) {
  .food-orb--2 { display: none; }
  .food-orb--4 { display: none; }
  .food-orb--6 { display: none; }
  .food-orb--1 { width: 150px; height: 150px; }
  .food-orb--3 { width: 180px; height: 180px; }
  .food-orb--5 { width: 140px; height: 140px; }
}

/* ── Page wrapper ── */
.page-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

/* ── Top bar / header ── */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 2rem;
  background: linear-gradient(to bottom, rgba(18,3,26,0.9), transparent);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(4px);
  animation: fadeDown 0.8s ease both;
}

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

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

#brand-logo {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 4px 18px rgba(212,160,23,0.4));
  transition: transform var(--transition), filter var(--transition);
}

#brand-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 28px rgba(212,160,23,0.7));
}

/* ── Hero section ── */
.hero-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem clamp(1.4rem, 6vw, 4rem) 3rem;
  position: relative;
  min-height: 80vh;
  overflow: hidden;
}

/* Gold scan-line sweep */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(212,160,23,0.06) 48%,
    rgba(212,160,23,0.12) 50%,
    rgba(212,160,23,0.06) 52%,
    transparent 100%
  );
  background-size: 100% 200%;
  animation: scanLine 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes scanLine {
  0%   { background-position: 0% -100%; }
  60%  { background-position: 0% 200%; }
  100% { background-position: 0% 200%; }
}

/* Decorative corner ornaments */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid transparent;
  border-image: linear-gradient(
    135deg,
    rgba(212,160,23,0.35) 0%,
    transparent 30%,
    transparent 70%,
    rgba(212,160,23,0.35) 100%
  ) 1;
  pointer-events: none;
  z-index: 0;
  animation: cornerFade 4s ease-in-out infinite alternate;
}

@keyframes cornerFade {
  from { opacity: 0.4; }
  to   { opacity: 1; }
}

/* Compass ring decoration */
.compass-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212,160,23,0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: min(600px, 90vw); height: min(600px, 90vw);
  animation: ringPulse 8s ease-in-out infinite;
}
.ring-2 {
  width: min(780px, 118vw); height: min(780px, 118vw);
  border-color: rgba(212,160,23,0.08);
  animation: ringPulse 8s ease-in-out infinite 2s;
}
.ring-3 {
  width: min(960px, 145vw); height: min(960px, 145vw);
  border-color: rgba(212,160,23,0.05);
  animation: ringPulse 8s ease-in-out infinite 4s;
}
.ring-dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: var(--glow-gold);
}

@keyframes ringPulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 0.5; transform: translate(-50%, -50%) scale(1.04); }
}

/* ── Hero content ── */
.hero-content {
  max-width: 780px;
  width: 100%;
  position: relative;
  z-index: 1;
  padding: 0 var(--px-mobile);
}

/* Mouse-tracking radial glow (set via JS) */
.hero-content::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.08) 0%, transparent 70%);
  transform: translate(var(--mx, -50%), var(--my, -50%));
  top: 0; left: 50%;
  pointer-events: none;
  transition: transform 0.6s ease;
  z-index: -1;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Eyebrow label */
.eyebrow-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.eyebrow-line {
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}

.eyebrow-text {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--c-gold);
}

/* Main heading */
.main-heading {
  font-family: var(--font-heading);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 1.4rem;
  line-height: 1.1;
}

.heading-top {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold-light);
  opacity: 0.85;
  animation: fadeUp 0.9s ease 0.4s both;
}

.heading-bold {
  font-size: clamp(2.6rem, 9vw, 7rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #f7e2a9 0%, #d4a017 40%, #9e7511 80%, #f7e2a9 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 4px 24px rgba(212,160,23,0.5));
  animation: shimmer 6s linear infinite, fadeUp 1s ease 0.55s both;
  position: relative;
}

/* Halo glow behind the big word */
.heading-bold::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f7e2a9 0%, #d4a017 50%, #f7e2a9 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(22px) brightness(1.5);
  opacity: 0.35;
  z-index: -1;
  animation: shimmer 6s linear infinite;
}

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

.heading-sub {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  animation: fadeUp 0.9s ease 0.7s both;
}

/* Tagline */
.tagline {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.8;
  color: var(--c-text-muted);
  margin-bottom: 3rem;
  font-weight: 300;
}

/* ── Countdown ── */
.countdown-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 80px;
  padding: 1.4rem 1.1rem 1.2rem;
  background: rgba(30, 6, 42, 0.65);
  border: 1px solid rgba(212,160,23,0.22);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(212,160,23,0.25);
}

/* Top highlight stripe */
.countdown-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.8), transparent);
  pointer-events: none;
}

/* Inner diagonal sheen */
.countdown-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,160,23,0.07) 0%, transparent 55%);
  pointer-events: none;
}

.countdown-block:hover {
  transform: translateY(-6px);
  border-color: rgba(212,160,23,0.55);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 20px rgba(212,160,23,0.15), inset 0 1px 0 rgba(212,160,23,0.4);
}

.count-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--c-gold);
  text-shadow: var(--glow-gold);
  line-height: 1;
  min-width: 2ch;
  text-align: center;
  transition: transform 0.2s ease;
}

.count-number.flip {
  animation: countFlip 0.3s ease;
}

@keyframes countFlip {
  0%   { transform: translateY(-8px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 1; }
}

.count-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
}

.countdown-divider {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--c-gold-dim);
  padding-bottom: 1.2rem;
  animation: blink 1s step-end infinite;
}

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





/* ── Footer ── */
.site-footer {
  background: var(--c-bg-dark);
  position: relative;
  overflow: hidden;
}

/* Gold shimmer top divider */
.site-footer::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,160,23,0.6) 30%, var(--c-gold) 50%, rgba(212,160,23,0.6) 70%, transparent 100%);
  animation: footerLine 4s ease-in-out infinite alternate;
}

@keyframes footerLine {
  from { opacity: 0.5; background-position: -100% 0; }
  to   { opacity: 1;   background-position: 100% 0; }
}



.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.8rem 2rem;
  text-align: center;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.footer-copy {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(212,160,23,0.4);
  text-transform: uppercase;
}

/* ── Helpers ── */
.br-hide { display: block; }

/* ── Responsive ── */
@media (max-width: 768px) {
  #brand-logo { height: 60px; }

  .top-bar { padding: 1.2rem var(--px-mobile); }

  .hero-section {
    padding: 2.5rem var(--px-mobile) 2.5rem;
    min-height: 70vh;
  }

  .hero-content { padding: 0; }

  .ring-1 { width: 280px; height: 280px; }
  .ring-2 { width: 380px; height: 380px; }
  .ring-3 { width: 480px; height: 480px; }

  .countdown-block { min-width: 68px; padding: 1rem 0.8rem; }
  .countdown-container { gap: 0.4rem; }

  .footer-bottom { padding: 1.6rem var(--px-mobile); }

  .bg-ornament { display: none; }
  .br-hide { display: none; }
}

@media (max-width: 480px) {
  .hero-section { padding: 2rem var(--px-mobile) 2rem; }

  .countdown-container { gap: 0.25rem; }
  .countdown-block {
    min-width: 60px;
    padding: 0.85rem 0.6rem;
  }
  .countdown-divider {
    font-size: 1.1rem;
    padding-bottom: 0.85rem;
  }

  .heading-bold { letter-spacing: -0.02em; }
}

/* ── Scroll reveal utility ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
