/*
Theme Name:  NicheBasket Coming Soon
Theme URI:   https://nichebasket.com
Author:      NicheBasket
Description: A luxurious black and gold Coming Soon page for NicheBasket. Fully editable via Appearance > Customize — change launch date, headline, email text, colors, and more without any coding.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: nb-coming-soon
Tags:        coming-soon, one-page, dark, luxury, minimal
*/

/* ═══════════════════════════════════════
   DESIGN TOKENS — edit via Customizer
   ═══════════════════════════════════════ */
:root {
  --gold:        #c9952a;
  --gold-light:  #e8b84b;
  --gold-dim:    rgba(201,149,42,0.12);
  --gold-border: rgba(201,149,42,0.22);
  --black:       #080808;
  --black2:      #111111;
  --black3:      #1a1a1a;
  --white:       #ffffff;
  --cream:       #f5f0e4;
  --muted:       rgba(245,240,228,0.40);
  --border:      rgba(245,240,228,0.08);

  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:    'Jost', 'Helvetica Neue', sans-serif;
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; }

body {
  min-height: 100vh;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }
button { font-family: var(--font-body); cursor: none; }
img { max-width: 100%; height: auto; display: block; }

/* ═══════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════ */
#nb-cur {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
}
#nb-cur-ring {
  position: fixed;
  width: 40px; height: 40px;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all .35s cubic-bezier(.23, 1, .32, 1);
}
body:has(button:hover) #nb-cur,
body:has(a:hover) #nb-cur {
  width: 18px; height: 18px;
  background: var(--gold-light);
}
body:has(button:hover) #nb-cur-ring,
body:has(a:hover) #nb-cur-ring {
  width: 56px; height: 56px;
  border-color: rgba(232,184,75,0.5);
}

/* ═══════════════════════════════════════
   BACKGROUND LAYERS
   ═══════════════════════════════════════ */

/* Fine grid */
.nb-bg-grid {
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201,149,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,149,42,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  z-index: 0;
}

/* Gold radial glow */
.nb-bg-glow {
  position: fixed;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(201,149,42,0.07) 0%, transparent 60%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: nb-glow-pulse 8s ease-in-out infinite;
}

/* Corner ornaments */
.nb-corner {
  position: fixed;
  width: 120px; height: 120px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.25;
}
.nb-corner svg { width: 100%; height: 100%; }
.nb-corner--tl { top: 0; left: 0; }
.nb-corner--tr { top: 0; right: 0; transform: scaleX(-1); }
.nb-corner--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.nb-corner--br { bottom: 0; right: 0; transform: scale(-1); }

/* Horizontal gold lines */
.nb-line-top,
.nb-line-bottom {
  position: fixed;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
  pointer-events: none;
  z-index: 1;
}
.nb-line-top { top: 0; }
.nb-line-bottom { bottom: 0; }

/* Particles */
.nb-particles {
  position: fixed; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.nb-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: nb-rise linear infinite;
}

/* ═══════════════════════════════════════
   MAIN WRAPPER
   ═══════════════════════════════════════ */
.nb-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 32px 100px;
  max-width: 680px;
  width: 100%;
}

/* ═══════════════════════════════════════
   LOGO
   ═══════════════════════════════════════ */
.nb-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 52px;
  text-decoration: none;
  animation: nb-fade-up .9s .05s both;
}
.nb-logo__mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 24px rgba(201,149,42,0.3);
}
.nb-logo__text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.nb-logo__text span { color: var(--gold); }

/* ═══════════════════════════════════════
   EYEBROW TAG
   ═══════════════════════════════════════ */
.nb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 7px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: nb-fade-up .9s .15s both;
}
.nb-eyebrow__dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  animation: nb-dot 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════
   HEADLINE
   ═══════════════════════════════════════ */
.nb-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 8px;
  animation: nb-fade-up .9s .25s both;
}
.nb-headline em {
  font-style: italic;
  color: var(--gold);
}

/* Gold rule under headline */
.nb-rule {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 24px auto 28px;
  animation: nb-fade-up .9s .3s both;
}

/* ═══════════════════════════════════════
   SUBTEXT
   ═══════════════════════════════════════ */
.nb-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 52px;
  animation: nb-fade-up .9s .35s both;
}

/* ═══════════════════════════════════════
   COUNTDOWN
   ═══════════════════════════════════════ */
.nb-countdown {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 56px;
  animation: nb-fade-up .9s .45s both;
}
.nb-cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.nb-cd-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.02em;
  background: var(--black2);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 18px 22px;
  min-width: 84px;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(201,149,42,0.05),
    0 4px 24px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(201,149,42,0.08);
  transition: transform .1s;
  position: relative;
  overflow: hidden;
}
/* Gold shimmer line inside each block */
.nb-cd-num::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0.4;
}
.nb-cd-num.flip { transform: scaleY(0.88); }
.nb-cd-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,240,228,0.3);
}
.nb-cd-sep {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-border);
  align-self: flex-start;
  margin-top: 18px;
  line-height: 1;
}

/* ═══════════════════════════════════════
   EMAIL FORM
   ═══════════════════════════════════════ */
.nb-form-wrap {
  width: 100%;
  max-width: 480px;
  animation: nb-fade-up .9s .55s both;
}
.nb-form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}
.nb-form-box {
  display: flex;
  background: var(--black2);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(201,149,42,0.04),
    0 8px 32px rgba(0,0,0,0.4);
  transition: border-color .3s, box-shadow .3s;
  margin-bottom: 12px;
  position: relative;
}
.nb-form-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,149,42,0.3), transparent);
}
.nb-form-box:focus-within {
  border-color: rgba(201,149,42,0.45);
  box-shadow: 0 0 0 3px rgba(201,149,42,0.07), 0 8px 32px rgba(0,0,0,0.5);
}
.nb-form-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--cream);
  position: relative;
  z-index: 1;
}
.nb-form-input::placeholder { color: rgba(245,240,228,0.22); }
.nb-form-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  border: none;
  padding: 12px 24px;
  margin: 7px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: none;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.nb-form-btn:hover { opacity: 0.88; transform: scale(1.02); }
.nb-form-note {
  font-size: 0.68rem;
  color: rgba(245,240,228,0.22);
  letter-spacing: 0.04em;
}

/* Success */
.nb-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(201,149,42,0.08);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.nb-success.show { display: flex; }

/* ═══════════════════════════════════════
   GOLD DIVIDER
   ═══════════════════════════════════════ */
.nb-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 400px;
  margin: 48px auto;
  animation: nb-fade-up .9s .62s both;
}
.nb-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border));
}
.nb-divider__line:last-child {
  background: linear-gradient(270deg, transparent, var(--gold-border));
}
.nb-divider__diamond {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   TEASER FEATURE PILLS
   ═══════════════════════════════════════ */
.nb-teaser {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  animation: nb-fade-up .9s .68s both;
}
.nb-teaser-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--black2);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(245,240,228,0.45);
  transition: all .25s;
  white-space: nowrap;
}
.nb-teaser-pill:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
  background: var(--gold-dim);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   BOTTOM BAR
   ═══════════════════════════════════════ */
.nb-footer-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 16px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(245,240,228,0.25);
  z-index: 10;
  animation: nb-fade-up .9s .75s both;
}
.nb-footer-bar a {
  color: var(--gold);
  font-weight: 500;
}
.nb-footer-bar a:hover { color: var(--gold-light); }

/* ═══════════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════════ */
@keyframes nb-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes nb-glow-pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%,-50%) scale(1.12); }
}
@keyframes nb-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.6); }
}
@keyframes nb-rise {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  8%   { opacity: 0.5; }
  92%  { opacity: 0.1; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1.5); }
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 600px) {
  body { overflow: auto; }
  .nb-wrap { padding: 48px 24px 100px; }
  .nb-countdown { gap: 10px; }
  .nb-cd-num { min-width: 62px; padding: 14px 12px; font-size: 1.8rem; }
  .nb-cd-sep { font-size: 1.6rem; margin-top: 14px; }
  .nb-footer-bar { flex-direction: column; gap: 6px; padding: 14px 24px; text-align: center; }
  .nb-corner { width: 80px; height: 80px; }
}

@media (max-width: 380px) {
  .nb-headline { font-size: 2.4rem; }
  .nb-cd-num { min-width: 52px; padding: 12px 10px; font-size: 1.6rem; }
  .nb-countdown { gap: 6px; }
  .nb-cd-sep { font-size: 1.2rem; }
}
