/**
 * SYNC.TOP - Modal Styles v2.0
 * Merged: Original + New conversion features
 */

/* ============================================
   MODAL CONTAINER
   ============================================ */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-container.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

.modal-content {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(25, 25, 35, 0.98), rgba(15, 15, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease-out;
  box-sizing: border-box;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: rotate(90deg);
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  text-align: center;
}

.modal-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 25px;
}

.modal-message {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 25px;
}

.highlight {
  color: #00e7ff;
  font-weight: 700;
}

/* Modal Badge */
.modal-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00e7ff, #00b8cc);
  color: #0a0a0f;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* ============================================
   MODAL BUTTONS (NEW)
   ============================================ */
.modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  text-decoration: none;
  box-sizing: border-box;
}

.modal-btn-primary {
  background: linear-gradient(135deg, #00e7ff, #00b8cc);
  color: #0a0a0f;
}

.modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 231, 255, 0.4);
}

.modal-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 12px;
}

.modal-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.modal-btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.modal-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.modal-input:focus {
  outline: none;
  border-color: #00e7ff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 231, 255, 0.15);
}

.modal-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   CUSTOMER LOGIN MODAL (NEW)
   ============================================ */
.customer-login-modal {
  text-align: center;
}

.login-benefits {
  background: rgba(0, 231, 255, 0.08);
  border: 1px solid rgba(0, 231, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.benefit-icon {
  color: #4caf50;
  font-weight: bold;
  font-size: 1rem;
}

.login-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ============================================
   AUTH MODAL
   ============================================ */
.auth-modal {
  text-align: center;
}

.auth-flash {
  background: rgba(244, 67, 54, 0.15);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #f44336;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.auth-flash.hidden {
  display: none;
}

#auth-modal-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.auth-input:focus {
  outline: none;
  border-color: #00e7ff;
  background: rgba(255, 255, 255, 0.08);
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.auth-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #00e7ff, #00b8cc);
  border: none;
  border-radius: 12px;
  color: #0a0a0f;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 231, 255, 0.4);
}

.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.auth-note a {
  color: #00e7ff;
  text-decoration: none;
}

.auth-note a:hover {
  text-decoration: underline;
}

/* ============================================
   WARNING MODAL
   ============================================ */
.warning-modal {
  text-align: center;
}

.warning-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.warning-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.warning-btn {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.warning-cancel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

.warning-cancel:hover {
  background: rgba(255, 255, 255, 0.12);
}

.warning-confirm {
  background: #ffc107;
  border: none;
  color: #0a0a0f;
}

.warning-confirm:hover {
  background: #ffca28;
  transform: translateY(-2px);
}

/* ============================================
   UPSELL MODAL
   ============================================ */
.upsell-modal {
  text-align: center;
}

.upsell-header {
  margin-bottom: 24px;
}

.upsell-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.upsell-preview {
  margin: 25px 0;
}

.upsell-product {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.upsell-product img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.upsell-product-info {
  text-align: left;
}

.upsell-product-name {
  display: block;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.upsell-product-price {
  color: #00e7ff;
  font-weight: 700;
}

.upsell-comparison {
  margin: 25px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.upsell-compare-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.7);
}

.upsell-compare-item.highlight-row {
  color: #4caf50;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 10px;
  padding-top: 15px;
}

.compare-price {
  font-weight: 700;
}

/* Upsell Options (NEW) */
.upsell-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.upsell-option {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  text-align: left;
}

.upsell-option:hover {
  border-color: rgba(0, 231, 255, 0.4);
  background: rgba(0, 231, 255, 0.05);
}

.upsell-option.popular {
  border-color: rgba(0, 231, 255, 0.5);
  background: rgba(0, 231, 255, 0.08);
}

.upsell-option .popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00e7ff, #00b8cc);
  color: #0a0a0f;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.upsell-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.upsell-duration {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.upsell-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00e7ff;
}

.upsell-daily {
  color: #4caf50;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.upsell-savings {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.upsell-select-btn {
  width: 100%;
}

/* Best Value Lifetime Upsell */
.upsell-option.best-value {
  border-color: rgba(255, 215, 0, 0.5);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
  padding-top: 30px;
}

.best-value-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffd700, #ffb800);
  color: #0a0a0f;
  padding: 5px 14px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.upsell-lifetime-pitch {
  margin: 16px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  text-align: left;
}

.upsell-lifetime-pitch p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.upsell-lifetime-pitch p:last-child {
  margin-bottom: 0;
}

.upsell-lifetime-pitch strong {
  color: #ffd700;
}

.lifetime-math {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.8rem !important;
  font-family: 'Courier New', monospace;
}

.best-value-btn {
  background: linear-gradient(135deg, #ffd700, #ffb800) !important;
  color: #0a0a0f !important;
}

.best-value-btn:hover {
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4) !important;
}

.upsell-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upsell-btn {
  padding: 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upsell-accept {
  background: linear-gradient(135deg, #00e7ff, #00b8cc);
  border: none;
  color: #0a0a0f;
}

.upsell-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 231, 255, 0.4);
}

.upsell-decline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
}

.upsell-decline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* ============================================
   QUIZ MODAL
   ============================================ */
.quiz-modal {
  text-align: center;
}

.quiz-header {
  margin-bottom: 20px;
}

.quiz-social-proof {
  color: #00e7ff;
  font-size: 0.8rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.quiz-social-proof::before {
  content: '👥';
}

.quiz-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 12px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00e7ff, #00b8cc);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.quiz-step-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.quiz-guarantee {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #4caf50;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.quiz-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #00e7ff;
  transform: translateX(5px);
}

.quiz-option-number {
  width: 28px;
  height: 28px;
  background: rgba(0, 231, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #00e7ff;
  flex-shrink: 0;
}

.quiz-option-icon {
  font-size: 1.5rem;
}

.quiz-option-label {
  flex: 1;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
}

.quiz-option-arrow {
  color: #00e7ff;
  opacity: 0;
  transition: all 0.2s ease;
}

.quiz-option:hover .quiz-option-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* Quiz Loading */
.quiz-loading-modal .modal-content {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-loading {
  padding: 40px 20px;
}

.loading-animation {
  text-align: center;
}

.cog-container {
  position: relative;
  height: 80px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cog {
  position: absolute;
  animation: cogSpin 2s linear infinite;
}

.cog-large {
  font-size: 60px;
  color: #00e7ff;
  animation: cogSpin 2s linear infinite, cogPulse 1s ease-in-out infinite;
}

.cog-small {
  font-size: 30px;
  color: #00b8cc;
  margin-left: 45px;
  margin-top: 25px;
  animation: cogSpin 2s linear infinite reverse;
}

@keyframes cogSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes cogPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.loading-text {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loading-step {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.loading-step.complete {
  color: #4caf50;
}

.loading-step.complete::before {
  content: '✓ ';
}

/* Quiz Email Capture */
.quiz-email-capture {
  text-align: center;
}

.email-capture-form {
  margin-bottom: 16px;
}

.email-note,
.spin-note {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin-top: 12px;
}

/* Quiz Result */
.quiz-result {
  text-align: center;
}

.quiz-result-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.result-pricing {
  background: rgba(0, 231, 255, 0.08);
  border: 1px solid rgba(0, 231, 255, 0.2);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.price-original {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  text-decoration: line-through;
}

.price-discounted {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 8px 0;
}

.price-savings {
  color: #4caf50;
  font-size: 0.9rem;
}

.discount-reveal {
  margin-bottom: 20px;
}

.discount-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.discount-code-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0, 231, 255, 0.1);
  border: 2px dashed rgba(0, 231, 255, 0.4);
  border-radius: 10px;
  padding: 16px 20px;
}

.discount-code {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00e7ff;
  letter-spacing: 2px;
}

.copy-btn {
  background: #00e7ff;
  color: #0a0a0f;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: #00b8cc;
}

/* Countdown */
.countdown-container {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.countdown-container.urgent {
  animation: urgentPulse 1s ease-in-out infinite;
}

@keyframes urgentPulse {
  0%, 100% { border-color: rgba(244, 67, 54, 0.3); }
  50% { border-color: rgba(244, 67, 54, 0.6); }
}

.countdown-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.countdown-timer {
  font-size: 2rem;
  font-weight: 700;
  color: #f44336;
  font-family: 'Courier New', monospace;
}

.countdown-timer.urgent {
  animation: countdownUrgent 0.5s ease-in-out infinite;
}

@keyframes countdownUrgent {
  0%, 100% { color: #f44336; }
  50% { color: #fff; }
}

.countdown-timer.expired {
  color: rgba(255, 255, 255, 0.4);
}

.countdown-warning {
  color: #f44336;
  font-size: 0.75rem;
  margin-top: 8px;
}

.scarcity-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffc107;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.quiz-recommendations {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 25px 0;
}

.quiz-rec-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.quiz-rec-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #00e7ff;
  transform: translateX(5px);
}

.quiz-rec-icon {
  font-size: 2rem;
}

.quiz-rec-info {
  flex: 1;
  text-align: left;
}

.quiz-rec-name {
  display: block;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.quiz-rec-desc {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.quiz-rec-price {
  color: #00e7ff;
  font-weight: 700;
  font-size: 0.9rem;
}

.quiz-rec-arrow {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
}

.quiz-discount-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.1));
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  margin-bottom: 20px;
}

.quiz-discount-icon {
  font-size: 2rem;
}

.quiz-discount-info {
  text-align: left;
}

.quiz-discount-label {
  display: block;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 4px;
}

.quiz-discount-code {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.quiz-discount-code strong {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

.quiz-browse-btn {
  width: 100%;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quiz-browse-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ============================================
   SPIN-TO-WIN MODAL
   ============================================ */
.spin-modal {
  text-align: center;
}

.spin-header {
  margin-bottom: 20px;
}

.wheel-container {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 24px auto;
}

.wheel-pointer {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  color: #00e7ff;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 30px rgba(0, 231, 255, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  background: #1a1a2e;
}

.wheel-svg {
  width: 100%;
  height: 100%;
}

.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, #1a1a2e, #0f0f1a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #00e7ff;
  font-size: 0.7rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(0, 231, 255, 0.3);
  z-index: 5;
}

.spin-email-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.spin-btn {
  margin-top: 0;
}

.spin-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Spin Result */
.spin-result-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ============================================
   EXIT INTENT MODAL
   ============================================ */
.exit-modal {
  text-align: center;
}

.exit-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.exit-urgency {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 24px;
  color: #f44336;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.exit-cart-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin: 25px 0;
}

.exit-total {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: line-through;
  opacity: 0.5;
}

.exit-new-total {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4caf50;
}

.exit-code-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: rgba(76, 175, 80, 0.15);
  border: 1px dashed rgba(76, 175, 80, 0.4);
  border-radius: 12px;
  margin-bottom: 25px;
}

.exit-code {
  font-size: 1.2rem;
  font-weight: 700;
  color: #4caf50;
  letter-spacing: 2px;
}

.exit-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exit-btn {
  padding: 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.exit-checkout {
  background: linear-gradient(135deg, #4caf50, #43a047);
  border: none;
  color: #fff;
}

.exit-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.exit-continue {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
}

.exit-continue:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* ============================================
   PAYMENT MODAL
   ============================================ */
.payment-modal-inner {
  text-align: center;
}

.payment-modal-title {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
}

.payment-modal-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
}

.payment-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.payment-method-card {
  display: flex;
  align-items: center;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 18px;
}

.payment-method-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #00e7ff;
  transform: translateX(5px);
}

.payment-method-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  flex-shrink: 0;
}

.payment-img {
  height: 32px;
  width: auto;
}

.payment-method-content {
  flex: 1;
  text-align: left;
}

.payment-method-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.payment-method-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.payment-method-arrow {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.payment-method-card:hover .payment-method-arrow {
  color: #00e7ff;
  transform: translateX(5px);
}

/* ============================================
   RESPONSIVE MODALS
   ============================================ */
@media (max-width: 600px) {
  .modal-content {
    padding: 30px 20px;
    margin: 10px;
    max-height: 85vh;
    border-radius: 20px;
  }

  .modal-title {
    font-size: 1.4rem;
  }

  .warning-actions {
    flex-direction: column;
  }

  .quiz-options {
    gap: 10px;
  }

  .quiz-option {
    padding: 14px 16px;
  }

  .payment-method-card {
    padding: 15px 18px;
  }

  .wheel-container {
    width: 200px;
    height: 200px;
  }

  .discount-code {
    font-size: 1.2rem;
  }

  .countdown-timer {
    font-size: 1.6rem;
  }

  .price-discounted {
    font-size: 2rem;
  }
}