/* e:\Vibe Coding\neuradine\css\hero.css */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background: radial-gradient(circle at 82% 18%, rgba(255, 107, 43, 0.12) 0%, transparent 48%),
              radial-gradient(circle at 52% 40%, rgba(0, 230, 118, 0.05) 0%, transparent 26%),
              radial-gradient(circle at 10% 80%, rgba(255, 214, 0, 0.045) 0%, transparent 40%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 80%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  z-index: 10;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  align-self: flex-start;
  background: var(--primary-glow);
  color: var(--primary);
  border: 1px solid var(--primary-glow-strong);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-headings);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 28px rgba(255, 107, 43, 0.16);
  animation: badgeGlow 3.8s ease-in-out infinite;
}

.hero-badge span.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 1.5s infinite;
}

.hero-title {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.1;
  font-weight: 800;
  max-width: 720px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.btn-book-now {
  min-height: 56px;
  font-size: 17px;
  isolation: isolate;
  animation: bookingCtaPulse 2.8s ease-in-out infinite;
}

.btn-book-now::before {
  content: '';
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,0.26) 42%, transparent 58%);
  transform: translateX(-80%);
  animation: ctaShine 3.2s ease-in-out infinite;
  z-index: -1;
}

.btn-flame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.18);
  color: #fff7d7;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.hero-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.025);
}

.hero-proof-row span::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green);
}

.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
}

.visual-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 107, 43, 0.1) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
}

.food-stage {
  position: relative;
  z-index: 5;
  width: min(430px, 88vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.06), transparent 62%);
  transform-style: preserve-3d;
  animation: stageLevitate 6s ease-in-out infinite;
}

.food-stage::before,
.food-stage::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.food-stage::before {
  inset: 5%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 35px rgba(255, 107, 43, 0.08), 0 0 45px rgba(255, 107, 43, 0.12);
  animation: haloBreath 4.4s ease-in-out infinite;
}

.food-stage::after {
  width: 82%;
  height: 18%;
  left: 9%;
  bottom: 2%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.52), transparent 68%);
  filter: blur(12px);
  transform: translateZ(-80px);
}

.food-display-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#food-chinese-container {
  display: none;
}

.food-toggle-bar {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 10;
  display: flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-full);
  background: rgba(var(--bg-card-rgb), 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}

.toggle-food-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-family: var(--font-headings);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.toggle-food-btn:hover {
  transform: translateY(-1px);
}

.toggle-food-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.28);
}

.floating-food-orbit,
.food-confetti-rain {
  position: absolute;
  inset: -8%;
  z-index: 3;
  pointer-events: none;
}

.food-float {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(var(--bg-card-rgb), 0.54);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 34px rgba(0,0,0,0.28), inset 0 0 18px rgba(255,255,255,0.04);
  font-size: 23px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: ingredientFloat 6s ease-in-out infinite;
}

.food-float-1 { top: 7%; left: 12%; animation-delay: 0s; }
.food-float-2 { top: 19%; right: 1%; animation-delay: 0.8s; }
.food-float-3 { top: 54%; left: 0%; animation-delay: 1.6s; }
.food-float-4 { right: 8%; bottom: 14%; animation-delay: 2.2s; }
.food-float-5 { left: 18%; bottom: 3%; animation-delay: 3s; }
.food-float-6 { top: 2%; right: 30%; animation-delay: 3.6s; }
.food-float-7 { top: 39%; right: -5%; animation-delay: 1.1s; }
.food-float-8 { bottom: -5%; right: 36%; animation-delay: 2.7s; }
.food-float-9 { top: 36%; left: -6%; animation-delay: 3.4s; }

.food-confetti-rain span {
  position: absolute;
  top: -18%;
  left: var(--x);
  font-size: 20px;
  opacity: 0;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.35));
  animation: foodRain var(--speed) linear infinite;
  animation-delay: var(--delay);
}

.booking-surge-card {
  position: absolute;
  z-index: 9;
  display: grid;
  gap: 2px;
  min-width: 188px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  background: rgba(var(--bg-card-rgb), 0.74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  animation: surgeCardFloat 5.4s ease-in-out infinite;
}

[data-theme="light"] .booking-surge-card,
[data-theme="light"] .food-toggle-bar,
[data-theme="light"] .food-float {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(15, 15, 21, 0.08);
  box-shadow: 0 18px 46px rgba(35, 25, 15, 0.12);
}

[data-theme="light"] .food-stage::before {
  border-color: rgba(255, 107, 43, 0.18);
  box-shadow: inset 0 0 35px rgba(255, 107, 43, 0.08), 0 0 45px rgba(255, 107, 43, 0.16);
}

.booking-surge-card strong {
  color: var(--text-primary);
  font-family: var(--font-headings);
  font-size: 15px;
}

.booking-surge-card small {
  color: var(--text-secondary);
  font-size: 12px;
}

.food-burst-piece {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 20px;
  pointer-events: none;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,0.35));
  animation: foodBurst 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay);
}

.surge-left {
  left: -8px;
  bottom: 54px;
}

.surge-right {
  right: -4px;
  top: 84px;
  animation-delay: 1.4s;
}

.surge-dot {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 16px var(--accent-red);
  animation: pulse-dot 1.2s ease-in-out infinite;
}

.dish-plate-spin {
  transform-origin: 200px 200px;
  animation: platterMicroTurn 12s ease-in-out infinite;
}

.katori-bob {
  animation: katoriBob 4.4s ease-in-out infinite;
}

.katori-delay-1 { animation-delay: 0s; }
.katori-delay-2 { animation-delay: 0.45s; }
.katori-delay-3 { animation-delay: 0.9s; }
.katori-delay-4 { animation-delay: 1.35s; }

.rice-bowl-breathe {
  animation: riceBreathe 3.8s ease-in-out infinite;
}

/* Floating Real-Time Indicator Dashboard elements in Hero */
.floating-widget {
  position: absolute;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.widget-occupancy {
  top: 10%;
  left: 5%;
  width: 240px;
}

.widget-wait-time {
  bottom: 15%;
  right: 5%;
  width: 220px;
}

.widget-real-time-activity {
  top: 45%;
  left: 25%;
  width: 260px;
  transform: translate(-50%, -50%);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-headings);
  font-weight: 600;
}

.widget-value {
  font-family: var(--font-headings);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.widget-desc {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

@keyframes badgeGlow {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 24px rgba(255, 107, 43, 0.13); }
  50% { transform: translateY(-2px); box-shadow: 0 0 34px rgba(255, 107, 43, 0.24); }
}

@keyframes bookingCtaPulse {
  0%, 100% { box-shadow: 0 8px 26px rgba(255, 107, 43, 0.34); }
  50% { box-shadow: 0 12px 42px rgba(255, 107, 43, 0.58); }
}

@keyframes ctaShine {
  0%, 45% { transform: translateX(-90%) rotate(8deg); }
  70%, 100% { transform: translateX(90%) rotate(8deg); }
}

@keyframes stageLevitate {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-12px) rotateX(2deg) rotateY(-3deg); }
}

@keyframes haloBreath {
  0%, 100% { transform: scale(0.98); opacity: 0.64; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes ingredientFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-5deg) scale(1); }
  35% { transform: translate3d(8px, -18px, 40px) rotate(10deg) scale(1.08); }
  70% { transform: translate3d(-10px, 8px, 10px) rotate(-12deg) scale(0.96); }
}

@keyframes foodRain {
  0% { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0; }
  12% { opacity: 0.78; }
  82% { opacity: 0.56; }
  100% { transform: translateY(560px) rotate(260deg) scale(1.1); opacity: 0; }
}

@keyframes surgeCardFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes platterMicroTurn {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.012); }
}

@keyframes katoriBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@keyframes riceBreathe {
  0%, 100% { translate: 0 0; scale: 1; }
  50% { translate: 0 -5px; scale: 1.035; }
}

@keyframes foodBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(0) scale(0.5);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--distance)) scale(1.12) rotate(160deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge,
  .btn-book-now,
  .btn-book-now::before,
  .food-stage,
  .food-stage::before,
  .food-float,
  .food-confetti-rain span,
  .booking-surge-card,
  .dish-plate-spin,
  .katori-bob,
  .rice-bowl-breathe {
    animation: none !important;
  }
}
