/* ==========================================================================
   STARK INTERNATIONAL — ULTRA-LUXURY ANIMATED COMING SOON
   Domain: starkinternational.in
   Aesthetic: Haute Metallurgy, Midnight Obsidian & Brushed Champagne Gold
   100% Fluid Mobile Responsive Design (320px - 4K Ultra-wide)
   ========================================================================== */

/* --- Design Tokens & Color Palette --- */
:root {
  --bg-deep: #05070A;
  --bg-surface: #090C12;
  --bg-card: rgba(13, 17, 26, 0.78);
  --bg-card-border: rgba(223, 178, 96, 0.25);
  
  /* Metallic Champagne Gold Gradients */
  --gold-pure: #DFB260;
  --gold-light: #FFF0CA;
  --gold-bright: #F7D488;
  --gold-deep: #9E7422;
  --gold-glow: rgba(223, 178, 96, 0.35);
  --gold-glow-subtle: rgba(223, 178, 96, 0.12);

  /* Typography Colors */
  --text-pure: #FFFFFF;
  --text-heading: #F8FAFC;
  --text-body: #A2ACBC;
  --text-muted: #647082;

  /* Fonts */
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevations */
  --shadow-luxury: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(223, 178, 96, 0.12);
}

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

html {
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg-deep);
  color: var(--text-heading);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.page-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
}

/* ==========================================================================
   CINEMATIC BACKDROP & ATMOSPHERE
   ========================================================================== */
.cinematic-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.backdrop-img-wrapper {
  position: absolute;
  inset: -20px;
  animation: slowAtmosphereZoom 30s ease-in-out infinite alternate;
}

.backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.22) contrast(1.18) saturate(1.1);
  transform: scale(1.05);
}

@keyframes slowAtmosphereZoom {
  0% { transform: scale(1.02) translateY(0); }
  50% { transform: scale(1.08) translateY(-10px); }
  100% { transform: scale(1.03) translateY(5px); }
}

.backdrop-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(5, 7, 10, 0.68) 0%, rgba(5, 7, 10, 0.94) 80%, #05070A 100%);
}

.ambient-spotlight {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(950px, 100vw);
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(223, 178, 96, 0.14) 0%, rgba(223, 178, 96, 0) 70%);
  filter: blur(80px);
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.glow-top {
  top: -100px;
  right: 10%;
  width: min(500px, 80vw);
  height: 350px;
  background: radial-gradient(circle, rgba(160, 115, 34, 0.12) 0%, transparent 70%);
}
.glow-bottom {
  bottom: -120px;
  left: 10%;
  width: min(600px, 80vw);
  height: 400px;
  background: radial-gradient(circle, rgba(223, 178, 96, 0.08) 0%, transparent 70%);
}

/* Interactive Particle Canvas */
#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* ==========================================================================
   CENTER HERO STAGE
   ========================================================================== */
.hero-stage {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  flex: 1;
  width: 100%;
}

.stage-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Brand Centered Emblem */
.brand-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-crest-symbol {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 16px var(--gold-glow));
  transition: transform 0.4s ease;
}
.brand-crest-symbol:hover {
  transform: rotate(6deg) scale(1.08);
}

.brand-hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: clamp(0.12em, 1vw, 0.22em);
  color: var(--text-pure);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.brand-hero-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 2vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-pure);
  opacity: 0.95;
}

/* Status Pill */
.status-pill-wrap {
  margin-bottom: clamp(1.2rem, 2.5vw, 1.6rem);
  max-width: 100%;
  animation: fadeInDown 0.9s ease-out;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: rgba(18, 23, 33, 0.85);
  border: 1px solid rgba(223, 178, 96, 0.35);
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 100%;
  flex-wrap: wrap;
}
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-pure);
  box-shadow: 0 0 10px var(--gold-pure);
  animation: pulseDot 2s infinite ease-in-out;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}
.pill-title {
  font-size: clamp(0.64rem, 2vw, 0.74rem);
  font-weight: 700;
  letter-spacing: clamp(0.08em, 0.8vw, 0.18em);
  color: var(--gold-light);
  text-align: center;
}
.pill-divider {
  color: var(--text-muted);
  font-size: 0.75rem;
}
.pill-year {
  font-family: var(--font-mono);
  font-size: clamp(0.64rem, 1.8vw, 0.7rem);
  font-weight: 700;
  color: var(--text-pure);
  background: rgba(223, 178, 96, 0.2);
  padding: 0.12rem 0.5rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Main Headline */
.main-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 5.5vw, 4.3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--text-pure);
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
  text-wrap: balance;
  width: 100%;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.shimmer-gold {
  background: linear-gradient(
    110deg,
    #EAD29A 0%,
    #FFF6DC 35%,
    #DFB260 55%,
    #C5983A 80%,
    #FFF0CA 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 6s linear infinite;
  display: inline-block;
}
@keyframes textShimmer {
  to {
    background-position: 200% center;
  }
}

/* Description Subtitle */
.main-subtext {
  font-size: clamp(0.92rem, 2.2vw, 1.25rem);
  color: var(--text-body);
  max-width: 760px;
  line-height: 1.65;
  font-weight: 400;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
  padding: 0 0.5rem;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   COUNTDOWN FRAME (100% FLUID RESPONSIVE)
   ========================================================================== */
.countdown-frame {
  position: relative;
  width: 100%;
  max-width: 820px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: clamp(1.4rem, 3.5vw, 2.2rem) clamp(1rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-luxury);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.4rem);
  animation: fadeInUp 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Top Shimmer Line */
.countdown-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-pure), transparent);
}

.frame-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
  font-size: clamp(0.68rem, 1.8vw, 0.78rem);
  font-weight: 700;
  letter-spacing: clamp(0.08em, 0.8vw, 0.16em);
  color: var(--gold-light);
  text-align: center;
}
.hourglass-icon {
  font-size: 0.95rem;
  animation: hourglassTilt 4s ease-in-out infinite;
  display: inline-block;
}
@keyframes hourglassTilt {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

.frame-badge {
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 1.6vw, 0.7rem);
  padding: 0.18rem 0.6rem;
  background: rgba(223, 178, 96, 0.15);
  border: 1px solid rgba(223, 178, 96, 0.3);
  border-radius: 9999px;
  color: var(--gold-pure);
  white-space: nowrap;
}

/* Digits Grid / Row */
.timer-digits-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 2vw, 1.5rem);
  margin-bottom: clamp(1.2rem, 2.5vw, 1.6rem);
  width: 100%;
}

.digit-pod {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  max-width: 105px;
  min-width: 0;
}

.digit-glass {
  width: clamp(58px, 15vw, 98px);
  height: clamp(58px, 15vw, 98px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1A212E 0%, #0B0E15 100%);
  border: 1px solid rgba(223, 178, 96, 0.35);
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.digit-pod:hover .digit-glass {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--gold-pure);
  box-shadow: 0 10px 30px var(--gold-glow);
}

.digit-number {
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 0 0 22px var(--gold-glow);
  line-height: 1;
}

.digit-caption {
  font-size: clamp(0.58rem, 1.6vw, 0.72rem);
  letter-spacing: clamp(0.1em, 1vw, 0.22em);
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}

.digit-colon {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: clamp(1rem, 2.5vw, 1.8rem);
  opacity: 0.7;
  flex-shrink: 0;
}

/* Footer note */
.frame-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: clamp(0.68rem, 1.8vw, 0.78rem);
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.45;
}
.sync-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold-pure);
  box-shadow: 0 0 8px var(--gold-pure);
  flex-shrink: 0;
}

/* ==========================================================================
   MINIMALIST VIP NOTIFY BAR
   ========================================================================== */
.vip-mini-form-wrap {
  width: 100%;
  max-width: 620px;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vip-mini-form {
  position: relative;
  width: 100%;
}

.mini-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(11, 15, 23, 0.88);
  border: 1px solid rgba(223, 178, 96, 0.32);
  border-radius: 12px;
  padding: 0.35rem 0.45rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: all 0.25s ease;
  width: 100%;
}
.mini-input-group:focus-within {
  border-color: var(--gold-pure);
  box-shadow: 0 0 25px var(--gold-glow);
}

.mini-mail-icon {
  position: absolute;
  left: 1.15rem;
  color: var(--gold-pure);
  pointer-events: none;
  flex-shrink: 0;
}

.mini-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 0.75rem 0.75rem 2.85rem;
  color: var(--text-pure);
  font-family: var(--font-sans);
  font-size: 0.95rem; /* 16px to prevent iOS auto-zoom */
  outline: none;
  min-width: 0;
}
.mini-input-group input::placeholder {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.mini-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #DFB260 0%, #B88526 100%);
  color: #07090E;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(223, 178, 96, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px;
}
.mini-submit-btn:hover {
  background: linear-gradient(135deg, #F5CC78 0%, #CE9632 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.form-feedback-msg {
  font-size: 0.82rem;
  margin-top: 0.5rem;
  min-height: 1.2rem;
  text-align: center;
}
.form-feedback-msg.error {
  color: #F87171;
}
.form-feedback-msg.success {
  color: #34D399;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  left: 1.25rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  pointer-events: none;
}
@media (min-width: 600px) {
  .toast-container {
    left: auto;
    align-items: flex-end;
  }
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.35rem;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #FFFFFF;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 400px;
  width: 100%;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(-15px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.toast-success {
  background: #0D2218;
  border: 1px solid #10B981;
}
.toast-error {
  background: #2D1418;
  border: 1px solid #EF4444;
}

/* ==========================================================================
   CLEAN HAUTE FOOTER
   ========================================================================== */
.clean-footer {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-wrap {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.footer-domain {
  font-family: var(--font-mono);
  color: var(--gold-pure);
  font-weight: 600;
}
.footer-sep {
  color: rgba(255, 255, 255, 0.2);
}
.footer-copy {
  color: var(--text-muted);
}

/* ==========================================================================
   KEYFRAME ENTRANCES
   ========================================================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVENESS BREAKPOINTS
   ========================================================================== */
/* Tablet & Medium Screens (< 768px) */
@media (max-width: 768px) {
  .hero-stage {
    padding: 3rem 1rem;
  }
  .countdown-frame {
    border-radius: 16px;
    padding: 1.5rem 0.85rem;
  }
  .timer-digits-row {
    gap: 0.4rem;
  }
  .mini-input-group {
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.65rem;
  }
  .mini-mail-icon {
    top: 1.15rem;
    left: 1rem;
  }
  .mini-input-group input {
    width: 100%;
    padding: 0.5rem 0.5rem 0.5rem 2.4rem;
    font-size: 1rem;
  }
  .mini-submit-btn {
    width: 100%;
    padding: 0.8rem;
  }
  .footer-wrap {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 0.4rem;
  }
  .footer-center {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Mobile Small Devices (< 480px) */
@media (max-width: 480px) {
  .hero-stage {
    padding: 2.2rem 0.85rem 2.5rem;
  }
  .brand-hero-center {
    margin-bottom: 1.25rem;
  }
  .brand-crest-symbol {
    width: 38px;
    height: 38px;
  }
  .brand-crest-symbol svg {
    width: 38px;
    height: 38px;
  }
  .status-pill {
    padding: 0.35rem 0.85rem;
  }
  .countdown-frame {
    padding: 1.25rem 0.65rem;
    border-radius: 14px;
    margin-bottom: 1.6rem;
  }
  .timer-digits-row {
    gap: 0.25rem;
  }
  .digit-glass {
    width: clamp(52px, 16vw, 68px);
    height: clamp(52px, 16vw, 68px);
  }
  .digit-number {
    font-size: clamp(1.2rem, 5vw, 1.65rem);
  }
  .digit-colon {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
  }
  .digit-caption {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }
}

/* Ultra-Compact Screens (< 360px) */
@media (max-width: 360px) {
  .digit-colon {
    display: none; /* Hide colons to give timer pods maximum breathing room */
  }
  .timer-digits-row {
    gap: 0.4rem;
  }
  .digit-glass {
    width: 54px;
    height: 54px;
  }
  .digit-number {
    font-size: 1.15rem;
  }
}
