:root {
  --primary: #6200ee;
  --secondary: #03dac6;
  --background: #ffffff;
  --surface: #ffffff;
  --on-surface: #121212;
  --error: #b00020;
  --accent: #ff4081;
  --gradient: linear-gradient(135deg, #6200ee, #bb86fc);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--background);
  color: var(--on-surface);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#app {
  width: 100%;
  max-width: 600px;
  padding: 20px;
  text-align: center;
}

.view {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  animation: fadeIn 0.5s ease-out;
}

.view.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header p {
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.6);
}

/* Wheel Styles */
.wheel-container {
  position: relative;
  width: 380px;
  height: 380px;
  margin: 2rem 0;
  cursor: pointer;
  user-select: none;
  touch-action: none;
}

.wheel {
  width: 100%;
  height: 100%;
  transition: transform 4s cubic-bezier(0.15, 0, 0.15, 1);
  border-radius: 50%;
  background: transparent;
  overflow: hidden;
}

.wheel img {
  width: 100%;
  height: 100%;
  display: block;
  mix-blend-mode: multiply;
  /* Makes white background of image transparent */
}

.wheel-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  color: #121212;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 20;
  border: 3px solid var(--primary);
  box-shadow: 0 5px 20px rgba(98, 0, 238, 0.2);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.pointer {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 40px;
  background: var(--accent);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  z-index: 10;
}

/* Button & UI */
.cta-button {
  background: var(--gradient);
  border: none;
  color: white;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(98, 0, 238, 0.4);
  transition: all 0.3s ease;
  width: 100%;
}

.cta-button:active {
  transform: scale(0.95);
}

.cta-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.message {
  font-size: 1rem;
  height: 1.5rem;
  color: var(--secondary);
  font-weight: 500;
}

/* Success View Styles */
.reward-container {
  width: 200px;
  height: 200px;
  animation: bounce 2s infinite ease-in-out;
}

.reward-image {
  width: 100%;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.success-content h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.success-content p {
  margin-bottom: 2rem;
  color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 400px) {
  .wheel-container {
    width: 320px;
    height: 320px;
  }

  .header h1 {
    font-size: 2rem;
  }
}

/* ============================================
   CONGRATULATIONS / CALL NOW PAGE STYLES
   ============================================ */
.call-now-container {
  width: 100%;
  margin: 0 auto;
  padding: 15px 15px 180px 15px;
  /* Increased bottom padding */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.scarcity-section.sticky-timer {
  position: sticky;
  top: 0;
  z-index: 2000;
  padding: 8px 10px 4px 10px;
  background: #ffffff;
  width: 100%;
  text-align: center;
}

.scarcity-box {
  background: #f15a5a;
  color: white;
  padding: 6px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-width: 280px;
  width: auto;
  margin: 0 auto;
  line-height: 1;
}

.scarcity-label {
  font-size: 18px;
  font-weight: 700;
}

.scarcity-countdown {
  font-size: 32px;
  font-weight: 800;
  color: #ffeb3b;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.trip-header {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trip-header::before,
.trip-header::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #333;
  margin: 0 15px;
}

.info-text-bold {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.pricing-block {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9fb 100%);
  border-radius: 12px;
  margin: 15px 0;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  border: 2px solid #ade9f4;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  min-height: 65px;
}

.pricing-left {
  background: #ade9f4;
  color: #1a4f6e;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex: 0.9;
  position: relative;
  z-index: 1;
}

.pricing-left::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  bottom: 0;
  width: 0;
  border-top: 35px solid transparent;
  border-bottom: 35px solid transparent;
  border-left: 20px solid #ade9f4;
  z-index: 2;
}

.pricing-right {
  flex: 1.4;
  padding: 8px 15px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 12px;
}

.normal-rate {
  font-size: 13px;
  color: #777;
  font-weight: 600;
}

.normal-rate span {
  color: #f15a5a;
  text-decoration: line-through;
  font-weight: 800;
}

.price-free {
  font-size: 34px;
  font-weight: 900;
  color: #f15a5a;
  line-height: 1;
}

.price-entire {
  font-size: 14px;
  color: #1a4f6e;
  font-weight: 800;
  text-transform: uppercase;
}

.features-list {
  text-align: left;
  margin: 15px auto;
  max-width: 320px;
  list-style: none;
  padding: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.feature-icon {
  color: #1a4f6e;
  font-size: 14px;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: white;
  border: 2px solid #1a4f6e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.call-now-button-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  width: 100%;
}

.call-now-button {
  font-size: 24px;
  font-weight: 800;
  padding: 18px 30px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
  color: white;
  background: #28a745;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.call-now-button .button-text {
  font-size: 22px;
  font-weight: 800;
}

.call-now-button .button-phone {
  font-size: 20px;
  font-weight: 700;
  opacity: 0.9;
  margin-top: 5px;
}

.consent-section {
  margin: 15px 0;
  text-align: left;
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.consent-text {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.date-guarantee {
  font-size: 16px;
  font-weight: 700;
  color: #1a4f6e;
  margin: 15px 0;
  text-align: center;
}

.badges-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.badge-item {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}

.badge-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.destinations-section {
  margin-top: 30px;
  text-align: center;
}

.destinations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.destination-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.destination-image {
  width: 100%;
  display: block;
}

.compliance-footer {
  margin-top: 50px;
  padding: 20px;
  border-top: 1px dashed #eee;
}

.consent-compliance-text {
  font-size: 11px;
  color: #999;
}

.sticky-call-container {
  position: fixed;
  bottom: 45px;
  /* Sit ABOVE the visitor footer */
  left: 0;
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(120%);
  transition: transform 0.3s ease;
  z-index: 5000;
  /* Higher than visitor footer (4000) */
}

.sticky-call-container.active {
  transform: translateY(0);
}

@keyframes pulsate {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.pulsate {
  animation: pulsate 2s infinite ease-in-out;
}

@media (max-width: 480px) {
  .info-text-bold {
    font-size: 28px !important;
  }

  .price-free {
    font-size: 32px;
  }
}

/* ============================================
   GLOBAL & LAYOUT FIXES
   ============================================ */
body {
  background-color: #f5f8fa !important;
}

#app {
  padding-bottom: 200px !important;
  /* Increased space for sticky button + footer */
  background: #ffffff;
  min-height: 100vh;
}

/* Header Scarcity Bar */
.scarcity-section.sticky-timer {
  width: 100%;
  background: #ffffff;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.scarcity-box {
  background: #f15a5a;
  color: white;
  padding: 6px 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  max-width: 320px;
  margin: 0 auto;
}

.scarcity-countdown {
  font-size: 32px;
  font-weight: 800;
  color: #ffeb3b;
}

/* Fixed Footer Visitor Bar */
.visitor-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  padding: 8px 0;
  text-align: center;
  z-index: 4000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visitor-text {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.visitor-count {
  color: #c62828;
  font-weight: 800;
  font-size: 16px;
}

/* Call Button Refinements */
.call-now-button {
  padding: 12px 20px !important;
  border-radius: 40px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-decoration: none !important;
  background: #28a745 !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2) !important;
  max-width: 340px !important;
  margin: 0 auto !important;
}

.call-now-button .button-text {
  font-size: 15px !important;
  font-weight: 700 !important;
  margin-bottom: 2px !important;
}

.call-now-button .button-phone {
  font-size: 26px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

@media (max-width: 480px) {
  .visitor-text {
    font-size: 14px;
  }

  .call-now-button .button-phone {
    font-size: 24px !important;
  }
}