/* ============================================
   MOBILE-FIRST HOLIDAY SWEEPSTAKES STYLES
   ============================================ */

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

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  position: relative;
}

/* Page Container */
#app {
  width: 100%;
  min-height: 100vh;
}

.page {
  display: none;
  width: 100%;
  padding: 20px 15px;
  min-height: 100vh;
  background: #ffffff;
}

.page.active {
  display: block;
}

.page.hidden {
  display: none !important;
}

/* ============================================
   QUIZ PAGE STYLES
   ============================================ */

.quiz-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 8px;
}

/* Timer Section */
.timer-section {
  text-align: center;
  margin-bottom: 10px;
}

.timer-box {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
  display: inline-block;
  min-width: 280px;
  width: auto;
}

#timer-text {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.timer-countdown {
  font-size: 24px;
  font-weight: bold;
  font-variant-numeric: tabular-nums;
}

/* Headline */
.headline-section {
  text-align: center;
  margin: 8px 0;
}

.headline {
  font-size: 42px;
  font-weight: 800;
  color: #1a237e;
  line-height: 1.3;
  margin-bottom: 8px;
}

/* Image Section */
.image-section {
  text-align: center;
  margin: 8px 0;
}

.resort-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Call Now Page Image Styling */
.call-now-container .image-section {
  margin: 8px 0;
  padding: 0;
}

.call-now-container .resort-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* Instructions */
.instructions-section {
  text-align: center;
  margin: 8px 0;
  padding: 10px 12px;
  background: #e3f2fd;
  border-radius: 6px;
}

.instructions-text {
  font-size: 14px;
  color: #1a237e;
  font-weight: 500;
  line-height: 1.4;
}

/* Quiz Section */
.quiz-section {
  margin: 12px 0;
}

.question-card {
  background: white;
  border: none;
  outline: none;
  border-radius: 8px;
  padding: 20px 16px;
  margin-bottom: 16px;
  box-shadow: none;
}

.question-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
  text-align: center;
  line-height: 1.3;
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-btn {
  font-size: 20px;
  font-weight: 600;
  padding: 22px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  color: white;
  background: #1772d3;
  width: 100%;
  min-height: 64px;
  outline: none;
}

.quiz-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  background: #1565c0;
}

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

/* Disclaimer */
.disclaimer-section {
  text-align: center;
  margin: 12px 0;
  padding: 8px;
}

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

/* ============================================
   BOXES PAGE STYLES
   ============================================ */

.boxes-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 8px;
  background: #ffffff;
}

/* Timer Section on Boxes Page */
.boxes-container .timer-section {
  text-align: center;
  margin-bottom: 10px;
}

.boxes-container .timer-box {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
  display: inline-block;
  min-width: 180px;
}

.boxes-container #timer-text {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.boxes-container .timer-countdown {
  font-size: 24px;
  font-weight: bold;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

.welcome-message {
  text-align: center;
  margin-bottom: 12px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.welcome-message h2 {
  font-size: 42px;
  color: #1a237e;
  margin-bottom: 10px;
  font-weight: 800;
}

.welcome-message p {
  font-size: 18px;
  color: #666;
  font-weight: 500;
}

/* Box Choices - 3x3 Grid */
.choices {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
  justify-items: center;
  align-items: center;
  width: 100%;
}

.choice {
  display: block;
  width: 100%;
  max-width: 100%;
  position: relative;
  cursor: pointer;
  transition-duration: 0.2s;
  aspect-ratio: 1;
  min-width: 0;
}

.choice.is-disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.choice > div {
  position: absolute;
  width: 100%;
  height: auto;
}

.choice img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  object-fit: contain;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.choice .choice-front {
  position: relative;
  z-index: 2;
}

.choice-product {
  z-index: 1;
  opacity: 0 !important;
  visibility: hidden;
}

.choices .choice.is-box-won > .choice-product.shown {
  opacity: 1 !important;
  visibility: visible;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-animation: floatUp 1.5s ease-out forwards;
  animation: floatUp 1.5s ease-out forwards;
  transform: translate(-50%, -50%);
}

.choice-product img {
  width: 25% !important;
  margin-top: 37% !important;
  margin-left: auto;
  margin-right: auto;
  display: block;
}


.choices .choice.is-box-won > .choice-product.shown img {
  width: 80% !important;
  max-width: 150px !important;
  height: auto !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  object-fit: contain;
}

.choice-lid {
  z-index: 3;
  position: relative;
}

.choice-front {
  z-index: 2;
}

/* Box Animations */
.choice:hover:not(.is-disabled) {
  animation: winnable 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.choices .choice.is-box-opened > .choice-lid {
  -webkit-animation: winner-lid 2s forwards;
  animation: winner-lid 2s forwards;
}


@keyframes winnable {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

@-webkit-keyframes winner-lid {
  from {
    top: 0;
  }
  to {
    top: -40px;
  }
}

@keyframes winner-lid {
  from {
    top: 0;
  }
  to {
    top: -40px;
  }
}

@-webkit-keyframes winner-product {
  0% {
    transform-origin: center;
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }
  100% {
    transform-origin: center;
    transform: none;
    opacity: 1;
  }
}

@keyframes winner-product {
  0% {
    transform-origin: center;
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }
  100% {
    transform-origin: center;
    transform: none;
    opacity: 1;
  }
}

@-webkit-keyframes floatUp {
  0% {
    transform: translate(-50%, -50%) translateY(0);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) translateY(-80px);
    opacity: 1;
  }
}

@keyframes floatUp {
  0% {
    transform: translate(-50%, -50%) translateY(0);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) translateY(-80px);
    opacity: 1;
  }
}

/* Loading Section */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-section {
  text-align: center;
  padding: 40px 20px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loader-css {
  width: 15px;
  aspect-ratio: 1;
  border-radius: 50%;
  clip-path: inset(-45px);
  box-shadow: -60px 15px, -60px 15px, -60px 15px;
  transform: translateY(-15px);
  animation: l19 1s infinite linear;
  margin-bottom: 30px;
}

@keyframes l19 {
  16.67% {
    box-shadow: -60px 15px, -60px 15px, 19px 15px;
  }
  33.33% {
    box-shadow: -60px 15px, 0 15px, 19px 15px;
  }
  40%, 60% {
    box-shadow: -19px 15px, 0 15px, 19px 15px;
  }
  66.67% {
    box-shadow: -19px 15px, 0 15px, 60px 15px;
  }
  83.33% {
    box-shadow: -19px 15px, 60px 15px, 60px 15px;
  }
  100% {
    box-shadow: 60px 15px, 60px 15px, 60px 15px;
  }
}

.loading-steps {
  margin-top: 20px;
}

.loading-step {
  font-size: 16px;
  color: #666;
  margin: 10px 0;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
}

.modal-wrapper {
  background: white;
  border-radius: 16px;
  padding: 30px 25px;
  max-width: 90%;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  text-align: center;
}

.modal-overlay.active .modal-wrapper {
  transform: scale(1);
}

.modal-image-container {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px;
}

.modal-prize-image {
  max-width: 100%;
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  object-fit: contain;
}

.modal-title {
  font-size: 42px;
  font-weight: bold;
  color: #0066cc;
  margin-bottom: 15px;
  line-height: 1.3;
}

.modal-message {
  font-size: 18px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
}

.modal-win-message {
  font-size: 20px;
  color: #0066cc;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.modal-win-message strong {
  color: #0066cc;
  font-size: 20px;
}

.modal-pricing {
  margin-bottom: 20px;
  line-height: 1.4;
}

.modal-pricing-regular {
  font-size: 20px;
  color: #0066cc;
  font-weight: 400;
  margin: 0 0 5px 0;
  line-height: 1.4;
}

.modal-pricing-your-price {
  font-size: 20px;
  color: #0066cc;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.modal-instructions {
  text-align: left;
  margin: 15px 0 20px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.modal-instructions p {
  font-size: 16px;
  color: #333;
  margin: 8px 0;
  line-height: 1.4;
  font-weight: bold;
}

.modal-button {
  font-size: 20px;
  font-weight: bold;
  padding: 18px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(23, 114, 211, 0.3);
  color: white;
  background: #1772d3;
  width: 100%;
  max-width: 300px;
  outline: none;
  min-height: 60px;
}

.modal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 114, 211, 0.4);
  background: #1565c0;
}

.modal-button:active {
  transform: translateY(0);
}

/* Mobile adjustments for modals */
@media (max-width: 480px) {
  .modal-wrapper {
    padding: 25px 20px;
    max-width: 95%;
  }

  .modal-title {
    font-size: 24px;
  }

  .modal-message {
    font-size: 16px;
  }

  .modal-win-message {
    font-size: 18px;
  }

  .modal-pricing-regular {
    font-size: 18px;
  }

  .modal-pricing-your-price {
    font-size: 18px;
  }

  .modal-prize-image {
    max-width: 100%;
    width: 100%;
  }

  .modal-wrapper {
    max-width: 95%;
    padding: 25px 20px;
  }

  .modal-image-container {
    padding: 8px;
    margin-bottom: 20px;
  }

  .modal-button {
    font-size: 18px;
    padding: 16px 30px;
    min-height: 56px;
  }

  .modal-instructions {
    padding: 12px;
  }

  .modal-instructions p {
    font-size: 14px;
  }
}

/* ============================================
   CALL NOW PAGE STYLES
   ============================================ */

.call-now-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 15px 15px 150px 15px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Sticky Timer at Top */
.scarcity-section {
  text-align: center;
  margin-bottom: 15px;
  padding: 0 10px;
}

.scarcity-section.sticky-timer {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 8px 10px;
  margin-bottom: 8px;
}

.scarcity-box {
  background: linear-gradient(135deg, #e57373 0%, #ef5350 100%);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(229, 115, 115, 0.25);
  display: inline-block;
  min-width: 240px;
  width: auto;
  max-width: 320px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  line-height: 1.3;
}

/* Timer Modal Styling */
.timer-modal-wrapper {
  max-width: 420px;
}

.timer-modal-content {
  text-align: center;
  padding: 30px 25px;
}

.timer-modal-content .scarcity-box {
  margin: 0 auto 20px auto;
}

.scarcity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 2px;
  flex-wrap: nowrap;
  line-height: 1;
}

.scarcity-row:last-child {
  margin-bottom: 0;
}

.scarcity-label {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.95;
}

.scarcity-expires-time {
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.scarcity-timezone {
  display: none;
}

.scarcity-countdown {
  font-size: 36px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  color: #ffeb3b;
}

/* Timer Section on Call Now Page */
.call-now-container .timer-section {
  text-align: center;
  margin-bottom: 25px;
}

.call-now-container .timer-box {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  display: inline-block;
  min-width: 200px;
}

.call-now-container #timer-text {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.call-now-container .timer-countdown {
  font-size: 42px;
  font-weight: bold;
  font-variant-numeric: tabular-nums;
}

/* Headline Section */
.call-now-container .headline-section {
  text-align: center;
  margin-bottom: 12px;
}

.call-now-container .headline {
  font-size: 32px;
  font-weight: 800;
  color: #1a237e;
  line-height: 1.3;
}

/* Info Block Section */
.info-block-section {
  text-align: center;
  margin: 8px 0;
  padding: 0;
}

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

.info-text-pricing {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px 0;
  line-height: 1.4;
}

.info-text-details {
  font-size: 20px;
  font-weight: 600;
  color: #0066cc;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.info-text-call-now {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.call-status-message {
  text-align: center;
  margin: 15px 0;
  padding: 0;
}

.call-status-message p {
  font-size: 16px;
  color: #333;
  margin: 0;
  line-height: 1.5;
  font-weight: normal;
}

.compliance-text-section {
  margin: 20px 0;
  padding: 15px;
  text-align: left;
}

.info-text {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
  margin-bottom: 15px;
}

.info-custom {
  font-size: 18px;
  font-weight: 600;
  color: #c62828;
  line-height: 1.4;
}

/* Call Now Button Section */
.call-now-button-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
  width: 100%;
}

.call-now-button {
  font-size: 42px;
  font-weight: 900;
  padding: 25px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
  color: white;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  min-width: 300px;
  width: 100%;
  max-width: 400px;
  min-height: 80px;
  position: relative;
  overflow: hidden;
}

.call-now-button .button-text {
  display: block;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  line-height: 1.4;
  word-wrap: break-word;
  padding: 0 15px;
  text-align: center;
  pointer-events: none;
}

.call-now-button .button-phone {
  display: block;
  font-size: 22px;
  font-weight: 600;
  opacity: 0.95;
  pointer-events: none;
}

/* Bouncy Animation */
@keyframes smooth-bounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.03);
  }
}

.call-now-button.bouncy {
  animation: smooth-bounce 1.5s ease-in-out infinite;
}

.call-now-button.disabled {
  background: #9e9e9e !important;
  cursor: not-allowed !important;
  opacity: 0.5 !important;
  pointer-events: none !important;
  animation: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.call-now-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(40, 167, 69, 0.6),
              0 0 40px rgba(40, 167, 69, 0.4);
  background: linear-gradient(135deg, #218838 0%, #1ea080 100%);
  animation: none; /* Stop animation on hover */
}

.call-now-button:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.5);
}

/* Ripple effect on click */
.call-now-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.call-now-button:active::before {
  width: 300px;
  height: 300px;
}

/* Consent Section */
.consent-section {
  margin: 20px 0 100px 0;
  padding: 16px;
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 8px;
  text-align: center;
}

.consent-box {
  max-width: 100%;
  margin: 0 auto;
  pointer-events: auto !important;
  position: relative;
  z-index: 1;
}

.consent-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 8px;
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
}

.consent-checkbox input[type="checkbox"] {
  width: 24px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: #ffc107;
  pointer-events: auto;
  z-index: 10;
  position: relative;
}

.consent-text {
  font-size: 13px;
  font-weight: 500;
  color: #856404;
  line-height: 1.6;
  flex: 1;
  text-align: left;
}

.consent-text .terms-link {
  color: #0066cc;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

.consent-text .terms-link:hover {
  color: #004499;
}

.terms-link-void {
  color: inherit;
  text-decoration: underline;
  cursor: default;
  pointer-events: none;
}

.consent-compliance-text {
  font-size: 11px;
  font-weight: 400;
  color: #888;
  line-height: 1.5;
  margin-top: 10px;
  text-align: left;
}

.consent-compliance-text .terms-link {
  color: #0066cc;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
}

.consent-compliance-text .terms-link:hover {
  color: #004499;
}

@keyframes jiggle {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px) rotate(-2deg); }
  75% { transform: translateX(10px) rotate(2deg); }
}

.consent-checkbox.jiggle,
.consent-box.jiggle,
.consent-section.jiggle {
  animation: jiggle 0.5s ease-in-out;
}

.consent-button {
  font-size: 20px;
  font-weight: bold;
  padding: 18px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: white;
  background: #1772d3;
  width: 100%;
  outline: none;
}

.consent-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  background: #1565c0;
}

.consent-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@keyframes pulse-size {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Terms & Privacy Policy Modal */
.terms-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

.terms-modal-wrapper {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.terms-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #f5f5f5;
  border-bottom: 2px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1;
}

.terms-modal-header h2 {
  margin: 0;
  font-size: 22px;
  color: #333;
}

.terms-modal-close {
  background: none;
  border: none;
  font-size: 36px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 4px;
  transition: all 0.2s;
}

.terms-modal-close:hover {
  background: #e0e0e0;
  color: #333;
}

.terms-modal-content {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
}

.terms-modal-content h1 {
  font-size: 24px;
  color: #333;
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}

.terms-modal-content h2 {
  font-size: 18px;
  color: #444;
  margin-top: 25px;
  margin-bottom: 12px;
}

.terms-modal-content p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

.terms-modal-content ul {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
  padding-left: 25px;
}

.terms-modal-content li {
  margin-bottom: 8px;
}

.terms-modal-content hr {
  margin: 30px 0;
  border: none;
  border-top: 2px solid #ddd;
}

.consent-text .terms-link {
  color: #0066cc;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

.consent-text .terms-link:hover {
  color: #004499;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 480px) {
  .quiz-container {
    padding: 6px;
  }

  .headline {
    font-size: 32px;
    margin-bottom: 8px;
  }

  .timer-box {
    min-width: 240px;
    padding: 10px 20px;
  }

  .timer-countdown {
    font-size: 20px;
  }

  .timer-section {
    margin-bottom: 8px;
  }

  .headline-section {
    margin: 6px 0;
  }

  .image-section {
    margin: 6px 0;
  }

  .instructions-section {
    margin: 6px 0;
    padding: 8px 10px;
  }

  .quiz-section {
    margin: 10px 0;
  }

  .question-card {
    padding: 18px 14px;
    margin-bottom: 14px;
    box-shadow: none;
    border: none;
    outline: none;
  }

  .question-title {
    font-size: 19px;
    margin-bottom: 14px;
  }

  .button-container {
    gap: 12px;
  }

  .quiz-btn {
    font-size: 19px;
    padding: 20px 24px;
    min-height: 60px;
  }

  .question-title {
    font-size: 19px;
    margin-bottom: 14px;
  }

  .boxes-container .timer-countdown {
    font-size: 22px;
  }

  .welcome-message h2 {
    font-size: 24px;
  }

  .welcome-message p {
    font-size: 16px;
  }

  .scarcity-box {
    min-width: 260px;
    width: auto;
    max-width: 90%;
    padding: 10px 14px;
  }

  .scarcity-text {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .scarcity-row {
    gap: 8px;
    margin-bottom: 10px;
  }

  .scarcity-label {
    font-size: 15px;
  }

  .scarcity-expires-time {
    font-size: 24px;
  }

  .scarcity-timezone {
    display: none; /* Hidden on mobile too */
  }

  .scarcity-countdown {
    font-size: 32px;
  }

  @-webkit-keyframes winner-lid {
    from {
      top: 0;
    }
    to {
      top: -30px;
    }
  }
  
  @keyframes winner-lid {
    from {
      top: 0;
    }
    to {
      top: -30px;
    }
  }

  .choices {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .choice {
    width: 100%;
  }

  .call-now-button {
    font-size: 24px;
    padding: 22px 30px;
    min-width: 100%;
    max-width: 100%;
    min-height: 70px;
  }

  .call-now-button .button-text {
    font-size: 26px;
    letter-spacing: 0.3px;
    line-height: 1.4;
    padding: 0 10px;
  }

  .call-now-button .button-phone {
    font-size: 18px;
  }

  .call-now-container .headline {
    font-size: 26px;
  }

  .call-now-container .info-text-bold,
  .info-block-section .info-text-bold,
  .info-text-bold {
    font-size: 34px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }

  .info-text-pricing {
    font-size: 16px;
  }

  .info-text-details {
    font-size: 18px;
  }

  .info-text-call-now {
    font-size: 18px;
  }

  .call-status-message p {
    font-size: 14px;
  }

  .info-text {
    font-size: 18px;
  }

  .info-custom {
    font-size: 16px;
  }

  .call-now-container .timer-countdown {
    font-size: 24px;
  }

  .scarcity-box {
    min-width: 260px;
    width: auto;
    max-width: 90%;
    padding: 10px 14px;
  }

  .scarcity-text {
    font-size: 14px;
  }

  .scarcity-time {
    font-size: 42px;
  }

  .scarcity-timezone {
    font-size: 12px;
  }

  .consent-text {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
  }

  .consent-compliance-text {
    font-size: 10px;
    margin-top: 8px;
  }

  .call-now-container .image-section {
    margin: 12px 0;
  }

  .call-now-container .resort-image {
    border-radius: 10px;
  }

  .terms-modal-wrapper {
    max-width: 95%;
    margin: 20px auto;
    max-height: 95vh;
  }

  .terms-modal-header {
    padding: 15px;
  }

  .terms-modal-header h2 {
    font-size: 18px;
  }

  .terms-modal-content {
    padding: 20px;
  }

  .terms-modal-content h1 {
    font-size: 20px;
  }

  .terms-modal-content h2 {
    font-size: 16px;
  }

  .terms-modal-content p,
  .terms-modal-content ul {
    font-size: 13px;
  }
}

/* ============================================
   DISQUALIFIED PAGE STYLES
   ============================================ */

.disqualified-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 15px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.disqualified-content {
  max-width: 600px;
  width: 100%;
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.disqualified-title {
  font-size: 36px;
  font-weight: 800;
  color: #d32f2f;
  margin-bottom: 30px;
  line-height: 1.3;
}

.disqualified-message {
  margin-top: 20px;
}

.disqualified-text {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.disqualified-reason {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  padding: 15px;
  background: #fff3e0;
  border-left: 4px solid #ff9800;
  border-radius: 4px;
  text-align: left;
}

.disqualified-thanks {
  font-size: 16px;
  color: #666;
  margin-top: 30px;
  line-height: 1.6;
  font-style: italic;
}

@media (max-width: 480px) {
  .disqualified-content {
    padding: 30px 15px;
  }

  .disqualified-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .disqualified-text {
    font-size: 16px;
  }

  .disqualified-reason {
    font-size: 14px;
    padding: 12px;
  }

  .disqualified-thanks {
    font-size: 14px;
  }
}

/* Additional mobile breakpoint for call-now header - MUST BE LAST TO OVERRIDE */
@media (max-width: 768px) {
  .call-now-container .info-block-section h1.info-text-bold,
  .call-now-container .info-text-bold,
  .info-block-section .info-text-bold,
  .info-block-section h1.info-text-bold,
  h1.info-text-bold,
  .info-text-bold {
    font-size: 52px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }
}

/* Force override for mobile - highest specificity */
@media screen and (max-width: 768px) {
  .call-now-container .info-block-section h1.info-text-bold {
    font-size: 52px !important;
    line-height: 1.2 !important;
  }
}

