/* ========================================
   MegaDeal Landing Page - Amazon-Style
   ======================================== */

/* === Variables === */
:root {
  --navy: #131921;
  --navy-light: #232F34;
  --orange: #FF9900;
  --orange-hover: #FF8C00;
  --orange-dark: #E88B00;
  --red: #CC0C39;
  --red-hover: #A30930;
  --bg: #EAEDED;
  --card-bg: #FFFFFF;
  --text-primary: #0F1111;
  --text-secondary: #565959;
  --text-light: #888888;
  --gold: #FFD700;
  --gold-dark: #DAA520;
  --star-color: #FFA41C;
  --success: #067D62;
  --border: #D5D9D9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Amazon Ember", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* === Loading Overlay === */
#loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}

#loading-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(255, 153, 0, 0.2);
  border-top-color: var(--orange);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: spin 0.8s linear infinite;
}

.loader-brand {
  font-size: 36px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.loader-brand .logo-mega {
  color: #FFFFFF;
}

.loader-brand .logo-deal {
  color: var(--orange);
}

.loader-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* === Navigation === */
.nav-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-top {
  background: var(--navy);
  padding: 10px 20px;
}

.nav-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-mega { color: #FFFFFF; }
.logo-deal { color: var(--orange); }

.nav-search {
  flex: 1;
  display: flex;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
}

.search-category {
  background: #F3F3F3;
  border: none;
  padding: 0 10px;
  font-size: 12px;
  color: var(--text-primary);
  border-right: 1px solid var(--border);
  cursor: pointer;
  min-width: 70px;
}

.search-input {
  flex: 1;
  border: none;
  padding: 0 14px;
  font-size: 15px;
  outline: none;
  min-width: 0;
}

.search-btn {
  background: var(--orange);
  color: var(--navy);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.search-btn:hover {
  background: var(--orange-hover);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav-action-link {
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

.action-small {
  color: #CCCCCC;
  font-size: 11px;
}

.action-bold {
  font-weight: 700;
  font-size: 13px;
}

.nav-cart {
  position: relative;
  flex-direction: row;
  gap: 4px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--orange);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-bottom {
  background: var(--navy-light);
  padding: 8px 20px;
}

.nav-bottom-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-bottom-inner::-webkit-scrollbar {
  display: none;
}

.nav-link {
  color: #FFFFFF;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.2s;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-link-highlight {
  color: var(--orange);
  font-weight: 700;
}

/* === Wheel Section === */
.wheel-section {
  position: relative;
  background: #0a0e27;
  padding: 50px 20px 60px;
  text-align: center;
  overflow: hidden;
}

/* Animated gradient background layers */
.wheel-section::before {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 600px 600px at 30% 40%, rgba(255, 107, 53, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 70% 60%, rgba(138, 43, 226, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 50% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
  animation: bgShift 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.wheel-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

@keyframes bgShift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-3%, 2%) scale(1.05); }
}

/* Glow orbs */
.wheel-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.wheel-bg-pattern::before,
.wheel-bg-pattern::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbPulse 6s ease-in-out infinite alternate;
}

.wheel-bg-pattern::before {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  background: rgba(255, 153, 0, 0.12);
  animation-delay: 0s;
}

.wheel-bg-pattern::after {
  width: 250px;
  height: 250px;
  bottom: 15%;
  right: 10%;
  background: rgba(138, 43, 226, 0.1);
  animation-delay: -3s;
}

@keyframes orbPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 1; }
}

/* Spotlight behind wheel */
.wheel-spotlight {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, rgba(255, 153, 0, 0.04) 40%, transparent 70%);
  animation: spotlightPulse 4s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes spotlightPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* Sparkle particles */
.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #FFD700;
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(255, 215, 0, 0.6);
  animation: sparkleAnim 3s ease-in-out infinite;
}

.sparkle:nth-child(1) { top: 12%; left: 15%; animation-delay: 0s; animation-duration: 2.5s; }
.sparkle:nth-child(2) { top: 25%; right: 20%; animation-delay: -0.5s; animation-duration: 3.2s; width: 3px; height: 3px; }
.sparkle:nth-child(3) { top: 60%; left: 10%; animation-delay: -1s; animation-duration: 2.8s; }
.sparkle:nth-child(4) { top: 70%; right: 12%; animation-delay: -1.5s; animation-duration: 3.5s; width: 5px; height: 5px; }
.sparkle:nth-child(5) { top: 40%; left: 25%; animation-delay: -2s; animation-duration: 2.6s; width: 3px; height: 3px; }
.sparkle:nth-child(6) { top: 15%; left: 55%; animation-delay: -0.8s; animation-duration: 3s; }
.sparkle:nth-child(7) { bottom: 20%; left: 30%; animation-delay: -1.2s; animation-duration: 2.9s; width: 3px; height: 3px; }
.sparkle:nth-child(8) { top: 35%; right: 8%; animation-delay: -2.2s; animation-duration: 3.3s; }
.sparkle:nth-child(9) { bottom: 30%; right: 25%; animation-delay: -0.3s; animation-duration: 2.7s; width: 5px; height: 5px; }
.sparkle:nth-child(10) { top: 50%; left: 5%; animation-delay: -1.8s; animation-duration: 3.1s; width: 3px; height: 3px; }
.sparkle:nth-child(11) { top: 8%; right: 35%; animation-delay: -2.5s; animation-duration: 2.4s; }
.sparkle:nth-child(12) { bottom: 10%; left: 50%; animation-delay: -0.7s; animation-duration: 3.4s; width: 4px; height: 4px; }

@keyframes sparkleAnim {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Floating product decorations */
.floating-products {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.float-item {
  position: absolute;
  border-radius: 14px;
  object-fit: cover;
  opacity: 0.18;
  filter: blur(1.5px) saturate(0.8) brightness(1.2);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
  transition: opacity 0.3s;
}

.float-1 {
  width: 100px; height: 100px;
  top: 6%; left: 4%;
  animation: floatA 7s ease-in-out infinite;
  animation-delay: 0s;
  transform: rotate(-8deg);
}
.float-2 {
  width: 80px; height: 80px;
  top: 12%; right: 6%;
  animation: floatB 8s ease-in-out infinite;
  animation-delay: -1s;
  transform: rotate(5deg);
}
.float-3 {
  width: 120px; height: 120px;
  top: 55%; left: 2%;
  animation: floatC 9s ease-in-out infinite;
  animation-delay: -2s;
  transform: rotate(-3deg);
}
.float-4 {
  width: 90px; height: 90px;
  top: 8%; left: 32%;
  animation: floatA 6.5s ease-in-out infinite;
  animation-delay: -3s;
  opacity: 0.14;
  transform: rotate(10deg);
}
.float-5 {
  width: 95px; height: 95px;
  top: 58%; right: 3%;
  animation: floatB 7.5s ease-in-out infinite;
  animation-delay: -0.5s;
  transform: rotate(-6deg);
}
.float-6 {
  width: 70px; height: 70px;
  top: 32%; left: 6%;
  animation: floatC 8.5s ease-in-out infinite;
  animation-delay: -4s;
  opacity: 0.15;
  transform: rotate(7deg);
}
.float-7 {
  width: 85px; height: 85px;
  bottom: 10%; left: 16%;
  animation: floatA 7s ease-in-out infinite;
  animation-delay: -2.5s;
  transform: rotate(-12deg);
}
.float-8 {
  width: 75px; height: 75px;
  top: 28%; right: 3%;
  animation: floatB 9s ease-in-out infinite;
  animation-delay: -1.5s;
  opacity: 0.13;
  transform: rotate(4deg);
}
.float-9 {
  width: 105px; height: 105px;
  bottom: 6%; right: 12%;
  animation: floatC 6s ease-in-out infinite;
  animation-delay: -3.5s;
  transform: rotate(-5deg);
}
.float-10 {
  width: 80px; height: 80px;
  bottom: 18%; left: 40%;
  animation: floatA 8s ease-in-out infinite;
  animation-delay: -5s;
  opacity: 0.12;
  transform: rotate(8deg);
}

@keyframes floatA {
  0%, 100% { transform: translateY(0) rotate(var(--rot, -8deg)); }
  50% { transform: translateY(-16px) rotate(calc(var(--rot, -8deg) + 4deg)); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 5deg)); }
  50% { transform: translateY(-12px) rotate(calc(var(--rot, 5deg) - 5deg)); }
}
@keyframes floatC {
  0%, 100% { transform: translateY(0) rotate(var(--rot, -3deg)); }
  33% { transform: translateY(-14px) rotate(calc(var(--rot, -3deg) + 3deg)); }
  66% { transform: translateY(-7px) rotate(calc(var(--rot, -3deg) - 2deg)); }
}

@media (max-width: 768px) {
  .float-item { opacity: 0.1; filter: blur(2px) saturate(0.5); }
  .float-1, .float-3, .float-5, .float-9 { width: 65px; height: 65px; }
  .float-2, .float-4, .float-6, .float-7, .float-8, .float-10 { width: 50px; height: 50px; }
  .wheel-spotlight { width: 350px; height: 350px; }
  .sparkle { width: 3px; height: 3px; }
}

@media (max-width: 480px) {
  .float-item { opacity: 0.08; }
  .float-4, .float-6, .float-8, .float-10 { display: none; }
  .wheel-spotlight { width: 280px; height: 280px; }
}

.wheel-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  z-index: 1;
}

.wheel-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--gold);
  text-shadow:
    0 0 20px rgba(255, 215, 0, 0.5),
    0 0 40px rgba(255, 215, 0, 0.3),
    0 0 80px rgba(255, 153, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 3px;
  margin-bottom: 6px;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3), 0 2px 4px rgba(0,0,0,0.5); }
  100% { text-shadow: 0 0 30px rgba(255, 215, 0, 0.7), 0 0 60px rgba(255, 215, 0, 0.4), 0 0 100px rgba(255, 153, 0, 0.3), 0 2px 4px rgba(0,0,0,0.5); }
}

.wheel-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

/* Wheel wrapper */
.wheel-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.wheel-pointer {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

#wheel-canvas {
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, #FFD700 0%, #DAA520 60%, #B8860B 100%);
  border-radius: 50%;
  border: 3px solid #8B6914;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 2px rgba(255,255,255,0.3);
  z-index: 5;
}

/* Spin controls */
.wheel-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.spins-display {
  font-size: 18px;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 28px;
  border-radius: 24px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  letter-spacing: 0.5px;
}

.spins-display strong {
  color: var(--gold);
  font-size: 24px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.spin-btn {
  background: linear-gradient(180deg, #FF9900 0%, #E88B00 100%);
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  padding: 16px 64px;
  border-radius: 50px;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(255, 153, 0, 0.4), 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.spin-btn:hover:not(:disabled) {
  background: linear-gradient(180deg, #FFA733 0%, #FF9900 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.5), 0 3px 6px rgba(0,0,0,0.2);
}

.spin-btn:active:not(:disabled) {
  transform: translateY(0);
}

.spin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.spin-btn.pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

.spin-btn.disabled-btn {
  background: #666;
  color: #999;
  box-shadow: none;
  animation: none;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(255, 153, 0, 0.4), 0 0 0 0 rgba(255, 153, 0, 0.4);
  }
  50% {
    box-shadow: 0 4px 16px rgba(255, 153, 0, 0.4), 0 0 0 12px rgba(255, 153, 0, 0);
  }
}

.result-message {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  min-height: 28px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
}

.result-message.show {
  opacity: 1;
  transform: translateY(0);
}

/* === Products Section === */
.products-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 30px 20px 50px;
}

.products-header {
  text-align: center;
  margin-bottom: 28px;
}

.products-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.products-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Product Card */
.product-card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-hot {
  background: var(--orange);
  color: var(--navy);
}

.product-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #F7F7F7;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 13px;
}

.stars {
  color: var(--star-color);
  font-size: 14px;
  letter-spacing: -1px;
}

.rating-num {
  color: #007185;
  font-size: 12px;
}

.review-count {
  color: #007185;
  font-size: 12px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.price-current {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.price-original {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: line-through;
}

.product-delivery {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.product-delivery strong {
  color: var(--text-primary);
}

.add-to-cart-btn {
  width: 100%;
  background: var(--orange);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 20px;
  transition: all 0.2s;
  margin-top: auto;
}

.add-to-cart-btn:hover {
  background: var(--orange-hover);
}

.add-to-cart-btn.added {
  background: var(--success);
  color: #FFFFFF;
}

/* === Footer === */
.site-footer {
  margin-top: 0;
}

.footer-top {
  background: var(--navy-light);
}

.footer-back-top {
  display: block;
  text-align: center;
  padding: 14px;
  color: #FFFFFF;
  font-size: 13px;
  transition: background 0.2s;
}

.footer-back-top:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer-main {
  background: var(--navy);
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-col a {
  color: #DDDDDD;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  text-align: center;
}

.footer-bottom .footer-logo {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-bottom p {
  color: #999999;
  font-size: 12px;
}

/* === Responsive === */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-actions {
    gap: 12px;
  }

  .footer-main {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-search {
    order: 3;
    flex: 1 1 100%;
  }

  .search-category {
    display: none;
  }

  .nav-action-link .action-small,
  .nav-action-link .action-bold {
    display: none;
  }

  .nav-action-link::after {
    content: 'Account';
    font-size: 11px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .wheel-title {
    font-size: 30px;
  }

  .wheel-subtitle {
    font-size: 14px;
  }

  #wheel-canvas {
    width: 300px !important;
    height: 300px !important;
  }

  .spin-btn {
    font-size: 18px;
    padding: 14px 48px;
  }

  .products-title {
    font-size: 22px;
  }

  .price-current {
    font-size: 17px;
  }

  .footer-main {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-top {
    padding: 8px 12px;
  }

  .nav-logo {
    font-size: 22px;
  }

  .wheel-section {
    padding: 30px 12px 40px;
  }

  .wheel-title {
    font-size: 26px;
  }

  #wheel-canvas {
    width: 260px !important;
    height: 260px !important;
  }

  .spins-display {
    font-size: 15px;
    padding: 6px 18px;
  }

  .spin-btn {
    font-size: 16px;
    padding: 12px 40px;
  }

  .products-section {
    padding: 20px 10px 40px;
  }

  .product-info {
    padding: 10px;
  }

  .product-name {
    font-size: 12px;
  }

  .price-current {
    font-size: 16px;
  }

  .add-to-cart-btn {
    font-size: 12px;
    padding: 7px 12px;
  }
}

/* === Nav Link Active State === */
.nav-link.active {
  background: rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid var(--accent);
}

/* === Cart Count Bounce === */
.cart-count.bounce {
  animation: cartBounce 0.5s ease;
}

@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.5); }
  60% { transform: scale(0.9); }
}

/* === No Results === */
.no-results {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
  color: var(--text-secondary);
}

.no-results svg {
  margin-bottom: 16px;
  opacity: 0.5;
}

.no-results p {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.no-results span {
  font-size: 14px;
}

/* === Cart Overlay === */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.cart-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* === Cart Panel === */
.cart-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.cart-panel.open {
  right: 0;
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #E0E0E0;
  background: var(--navy);
  color: #FFFFFF;
}

.cart-panel-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.cart-close-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: opacity 0.2s;
}

.cart-close-btn:hover {
  opacity: 0.7;
}

.cart-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.cart-empty p {
  font-size: 16px;
  font-weight: 600;
  margin: 12px 0 4px;
  color: var(--text-primary);
}

.cart-empty-hint {
  font-size: 13px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  background: #FAFAFA;
  transition: background 0.2s;
}

.cart-item:hover {
  background: #F0F0F0;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 4px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #999;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  color: var(--sale-red);
  background: rgba(204, 12, 57, 0.1);
}

.cart-panel-footer {
  padding: 16px 20px;
  border-top: 1px solid #E0E0E0;
  background: #FAFAFA;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

.cart-total-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--sale-red);
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.checkout-btn:hover {
  background: #E88B00;
}

/* === Chat Widget === */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.chat-toggle-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 153, 0, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.chat-toggle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.5);
}

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sale-red);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  animation: badgePulse 2s infinite;
}

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

.chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 48px);
  height: 480px;
  max-height: calc(100vh - 120px);
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--navy);
  color: #FFFFFF;
}

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

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-header-name {
  font-size: 14px;
  font-weight: 700;
}

.chat-header-status {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ECC71;
  display: inline-block;
}

.chat-close-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.chat-close-btn:hover {
  opacity: 1;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #F8F9FA;
}

.chat-msg {
  display: flex;
  max-width: 85%;
}

.chat-msg.bot {
  align-self: flex-start;
}

.chat-msg.user {
  align-self: flex-end;
}

.chat-msg-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-msg.bot .chat-msg-bubble {
  background: #FFFFFF;
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.chat-msg.user .chat-msg-bubble {
  background: var(--accent);
  color: var(--navy);
  border-bottom-right-radius: 4px;
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px;
  background: #F8F9FA;
  border-top: 1px solid #E8E8E8;
}

.quick-reply {
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 16px;
  background: #FFFFFF;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-reply:hover {
  background: var(--accent);
  color: var(--navy);
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #E8E8E8;
  background: #FFFFFF;
}

.chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #E0E0E0;
  border-radius: 20px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.chat-input:focus {
  border-color: var(--accent);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.chat-send-btn:hover {
  background: #E88B00;
}

/* === Chat Responsive === */
@media (max-width: 480px) {
  .chat-widget {
    bottom: 16px;
    right: 16px;
  }

  .chat-toggle-btn {
    width: 50px;
    height: 50px;
  }

  .chat-window {
    width: calc(100vw - 32px);
    height: calc(100vh - 100px);
    bottom: 62px;
    right: 0;
  }

  .cart-panel {
    width: 100vw;
    max-width: 100vw;
    right: -100vw;
  }
}

/* ===== Payment Modal ===== */
.payment-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.payment-overlay.show {
  opacity: 1;
  visibility: visible;
}

.payment-modal {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s ease;
}

.payment-overlay.show .payment-modal {
  transform: translateY(0) scale(1);
}

.payment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  background: #fff;
  border-radius: 12px 12px 0 0;
  z-index: 1;
}

.payment-header h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin: 0;
}

.payment-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.payment-close-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.payment-step {
  padding: 24px;
}

/* Order Summary */
.payment-order-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.payment-order-summary h4 {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-items-list {
  max-height: 120px;
  overflow-y: auto;
  margin-bottom: 12px;
}

.payment-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-primary);
  border-bottom: 1px solid #eee;
}

.payment-item-row:last-child {
  border-bottom: none;
}

.payment-item-row .item-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 12px;
}

.payment-item-row .item-price {
  font-weight: 600;
  white-space: nowrap;
}

.payment-total-line {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 2px solid #ddd;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.payment-total-amount {
  color: var(--price-red);
}

/* Payment Form */
.payment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.payment-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.payment-card-icons {
  display: flex;
  gap: 8px;
}

.card-icon {
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.card-icon.visa { background: #1a1f71; }
.card-icon.mastercard { background: #eb001b; }
.card-icon.amex { background: #006fcf; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input {
  padding: 10px 12px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.15);
}

.form-group input::placeholder {
  color: #bbb;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #FF9900, #e8890c);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  margin-top: 4px;
}

.payment-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.4);
}

.payment-submit-btn:active {
  transform: translateY(0);
}

/* Processing */
.payment-processing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.processing-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e8e8e8;
  border-top-color: var(--accent-orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.payment-processing p {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.payment-processing span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Success */
.payment-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
}

.success-checkmark {
  margin-bottom: 20px;
}

.success-check {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawCheck 0.5s ease 0.3s forwards;
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

.payment-success h3 {
  font-size: 22px;
  color: #00a651;
  margin: 0 0 8px;
}

.success-order-id {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.success-message {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 24px;
}

.success-details {
  width: 100%;
  max-width: 320px;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.success-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.success-detail-row strong {
  color: var(--text-primary);
}

.payment-done-btn {
  padding: 12px 32px;
  background: var(--accent-orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.payment-done-btn:hover {
  background: #e8890c;
}

/* Payment responsive */
@media (max-width: 480px) {
  .payment-modal {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  .payment-header {
    border-radius: 0;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

/* ===== Sign Up Nav Link ===== */
.nav-link-signup {
  background: var(--orange);
  color: var(--navy) !important;
  padding: 6px 16px !important;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s ease;
  margin-left: 8px;
}

.nav-link-signup:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.4);
}

/* ===== Sign Up Modal ===== */
.signup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.signup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.signup-modal {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
}

.signup-overlay.show .signup-modal {
  transform: translateY(0) scale(1);
}

.signup-header {
  background: linear-gradient(135deg, #131921, #232f3e);
  padding: 28px 24px 24px;
  border-radius: 16px 16px 0 0;
  text-align: center;
  position: relative;
}

.signup-header h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
}

.signup-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
}

.signup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.signup-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.signup-body {
  padding: 24px;
}

.signup-form-group {
  margin-bottom: 16px;
}

.signup-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.signup-form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.signup-form-group input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.15);
}

.signup-form-group input.invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.signup-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: #999;
  font-size: 13px;
}

.signup-divider::before,
.signup-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.signup-divider span {
  padding: 0 12px;
}

.social-signup {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.social-btn:hover {
  border-color: #bbb;
  background: #f8f8f8;
}

.signup-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-hover));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

.signup-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 153, 0, 0.4);
}

.signup-submit:active {
  transform: translateY(0);
}

.signup-footer {
  text-align: center;
  padding: 0 24px 24px;
  font-size: 13px;
  color: #666;
}

.signup-footer a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}

.signup-footer a:hover {
  text-decoration: underline;
}

.signup-success {
  text-align: center;
  padding: 40px 24px;
  display: none;
}

.signup-success.show {
  display: block;
}

.signup-success .success-icon {
  width: 64px;
  height: 64px;
  background: #27ae60;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  animation: successPop 0.4s ease;
}

.signup-success .success-icon svg {
  width: 32px;
  height: 32px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
}

@keyframes successPop {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.signup-success h3 {
  font-size: 20px;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.signup-success p {
  color: #666;
  font-size: 14px;
  margin: 0 0 24px;
}

.signup-success .continue-btn {
  padding: 12px 32px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.signup-success .continue-btn:hover {
  background: var(--orange-hover);
}
