@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --primary-light: #fef3c7;
  --secondary: #10b981;
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --dark-border: #334155;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --card-bg: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: linear-gradient(135deg, #090d16 0%, #111827 50%, #1e1b4b 100%);
  min-height: 100vh;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
}

/* Animazioni */
.animate-fade-in {
  animation: fadeIn 0.35s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.animate-shake {
  animation: shake 0.4s ease-in-out;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.step-circle.active {
  background: #f59e0b;
  color: #0f172a;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.step-circle.completed {
  background: #10b981;
  color: #ffffff;
}

.step-circle.inactive {
  background: #334155;
  color: #94a3b8;
}

/* Biglietto Coupon Sconto */
.voucher-card {
  background: linear-gradient(145deg, #ffffff 0%, #fffbeb 100%);
  border: 2px dashed #f59e0b;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 35px -10px rgba(245, 158, 11, 0.25);
}

.voucher-card::before, .voucher-card::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  background: #090d16;
  border-radius: 50%;
  transform: translateY(-50%);
}

.voucher-card::before { left: -12px; }
.voucher-card::after { right: -12px; }

/* OTP Inputs - ALTO CONTRASTO GARANTITO */
.otp-input {
  width: 46px;
  height: 58px;
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  border-radius: 12px;
  border: 2px solid #64748b;
  background: #0f172a;
  color: #fbbf24 !important; /* Giallo Oro / Amber brillantissimo ad altissimo contrasto */
  caret-color: #fbbf24;
  transition: all 0.2s ease;
}

.otp-input:focus {
  border-color: #f59e0b;
  background: #020617;
  color: #ffffff !important;
  outline: none;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.35);
}

/* Pulsanti con Hover e Glow */
.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 800;
  border-radius: 14px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 20px -5px rgba(217, 119, 6, 0.4);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  width: 100%;
  font-size: 16px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(217, 119, 6, 0.5);
}

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

.btn-primary.disabled {
  background: #334155;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn-google {
  background: linear-gradient(135deg, #ea4335 0%, #c5221f 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 10px 20px -5px rgba(234, 67, 53, 0.4);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
}
