@font-face {
  font-family: 'FruitySmoothie';
  src: url('assets/fruity-smoothie.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-green: #004d25;
  --dark-green: #002d15;
  --box-green: #003617;
  --accent-yellow: #ffde00;
  --hover-yellow: #ffe62e;
  --card-bg: rgba(0, 45, 21, 0.94);
  --input-bg: rgba(0, 26, 12, 0.88);
  --text-light: #ffffff;
  --text-gold: #ffde00;
  --text-muted: #d0e0d5;
  --border-color: rgba(255, 222, 0, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --transition: all 0.25s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: url('assets/bg1.webp') no-repeat center center fixed;
  background-size: cover;
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  body {
    height: 100vh;
    overflow: hidden;
  }
}

/* BACKGROUND GREEN OVERLAY */
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 35, 16, 0.9) 0%, rgba(0, 65, 30, 0.85) 50%, rgba(0, 20, 9, 0.95) 100%);
  z-index: -1;
}

/* TOP CENTERED LOGO HEADER */
.app-header {
  width: 100%;
  max-width: 1000px;
  padding: 12px 20px 4px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.center-header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-center-logo {
  max-width: 210px;
  width: 75%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  transition: var(--transition);
}

@media (min-width: 768px) {
  .top-center-logo {
    max-width: 250px;
  }
}

.top-center-logo:hover {
  transform: scale(1.04);
}

/* MAIN WRAPPER */
.main-wrapper {
  width: 100%;
  max-width: 980px;
  padding: 10px 20px 40px 20px;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* MAIN CONTENT CARD (ENLARGED GREEN BOX CONTAINER x2) */
.content-card {
  width: 100%;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-color);
  backdrop-filter: blur(14px);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

@media (min-width: 768px) {
  .content-card {
    padding: 44px 56px;
  }
}

/* VIEW TRANSITIONS */
.view {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  width: 100%;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.view.is-active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* VIEW HEADERS */
.view-header {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ENTER YOUR DETAILS HEADER IMAGE */
.hero-title-img {
  width: 95%;
  max-width: 360px;
  height: auto;
  margin-bottom: 12px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
  transition: var(--transition);
}

@media (min-width: 768px) {
  .hero-title-img {
    max-width: 440px;
  }
}

.main-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-gold);
  margin-bottom: 6px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.sub-heading {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .main-heading {
    font-size: 2rem;
  }
  .sub-heading {
    font-size: 1.05rem;
  }
}

/* FORM STYLES (COMPACT INPUTS) */
.form-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.input-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: 100%;
}

@media (min-width: 640px) {
  .input-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}

.input-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-gold);
  letter-spacing: 0.3px;
}

.input-box {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  transition: var(--transition);
}

.input-box:focus-within {
  border-color: var(--accent-yellow);
  background: rgba(0, 20, 9, 0.95);
  box-shadow: 0 0 0 4px rgba(255, 222, 0, 0.2);
}

.input-icon {
  width: 22px;
  height: 22px;
  fill: var(--accent-yellow);
  flex-shrink: 0;
  margin-right: 12px;
}

.input-box input,
.input-box select {
  width: 100%;
  height: 50px;
  border: none;
  background: transparent;
  outline: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  color: #ffffff;
  font-weight: 600;
}

.input-box input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.input-box select option {
  background-color: #002611;
  color: #ffffff;
  padding: 10px;
}

.phone-prefix {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--accent-yellow);
  margin-right: 8px;
  flex-shrink: 0;
}

.error-msg {
  color: #ff5252;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 20px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  text-align: center;
}

/* BUTTONS & CENTRALIZATION */
.cta-btn {
  width: 100%;
  max-width: 440px;
  padding: 16px 28px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.center-btn {
  margin-left: auto;
  margin-right: auto;
  align-self: center;
}

.primary-btn {
  background: linear-gradient(135deg, #ffde00 0%, #e6c800 100%);
  color: #002d15;
  border: 1px solid #fff394;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 222, 0, 0.4);
  background: linear-gradient(135deg, #ffe62e 0%, #ffd000 100%);
}

.secondary-btn {
  background: #ffffff;
  color: #002d15;
}

.secondary-btn:hover {
  transform: translateY(-2px);
  background: #f0f0f0;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* DECORATIVE FLOATING OIL BOTTLES - DESKTOP ONLY (HIDDEN ON MOBILE) */
.decorative-oil {
  display: none;
}

@media (min-width: 768px) {
  .decorative-oil {
    display: block;
    position: fixed;
    bottom: 14px;
    width: 155px;
    max-width: 175px;
    height: auto;
    z-index: 5;
    pointer-events: none;
    opacity: 0.92;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6));
    transition: var(--transition);
  }
  .oil-left {
    left: 24px;
  }
  .oil-right {
    right: 24px;
    transform: scaleX(-1);
  }
}

/* REWARD & CONFETTI */
.reward-header {
  max-width: 240px;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.airtime-box-container {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 6px 0 14px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.airtime-box-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  animation: float-anim 3s ease-in-out infinite;
}

@keyframes float-anim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.reward-text-prompt {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.4;
}

.reward-text-prompt strong {
  color: var(--text-gold);
}

/* QUESTION CARDS */
.questions-title {
  font-family: 'FruitySmoothie', sans-serif;
  font-size: 2.2rem;
  color: var(--accent-yellow);
  margin-bottom: 14px;
  text-shadow: 0 3px 6px rgba(0,0,0,0.5);
}

.questions-title-dark {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  color: var(--text-gold);
  margin-bottom: 16px;
  line-height: 1.3;
}

.questions-card {
  width: 100%;
  max-width: 480px;
  background: rgba(0, 26, 12, 0.85);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  border: 1.5px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.question-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}

.questions-btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.question-btn {
  flex: 1;
  max-width: 150px;
  padding: 12px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.yes-btn {
  background: var(--accent-yellow);
  color: #002d15;
}

.yes-btn:hover {
  background: #ffe62e;
  transform: scale(1.04);
}

.no-btn {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.no-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.04);
}

/* OPTIONS CONTAINER */
.options-container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.option-card {
  width: 100%;
  background: rgba(0, 26, 12, 0.85);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.option-card:hover {
  border-color: var(--accent-yellow);
  background: rgba(0, 45, 21, 0.95);
}

.option-card input[type="radio"] {
  display: none;
}

.custom-radio {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: var(--transition);
}

.option-card input[type="radio"]:checked + .custom-radio {
  border-color: var(--accent-yellow);
}

.option-card input[type="radio"]:checked + .custom-radio::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: var(--accent-yellow);
  border-radius: 50%;
}

.option-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

/* TEXTAREA */
.favourites-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.textarea-container {
  width: 100%;
  max-width: 480px;
  margin-bottom: 16px;
}

textarea {
  width: 100%;
  height: 100px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #ffffff;
  background: var(--input-bg);
  outline: none;
  resize: vertical;
  transition: var(--transition);
}

textarea:focus {
  border-color: var(--accent-yellow);
  background: rgba(0, 20, 9, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 222, 0, 0.2);
}

/* STEP AWAY VIEW */
.step-away-banner {
  background: linear-gradient(135deg, rgba(255, 222, 0, 0.2) 0%, rgba(255, 222, 0, 0.05) 100%);
  border: 2px solid var(--accent-yellow);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.highlight-text {
  font-family: 'FruitySmoothie', sans-serif;
  font-size: 2rem;
  color: var(--accent-yellow);
  text-shadow: 0 3px 6px rgba(0,0,0,0.5);
}

.step-away-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* SUCCESS VIEW */
.thank-you-header {
  max-width: 200px;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.success-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-gold);
  margin-bottom: 18px;
}

.success-btn-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 440px;
  margin-top: 16px;
  align-items: center;
}

@media (min-width: 640px) {
  .success-btn-group {
    flex-direction: row;
    gap: 16px;
  }
}

/* MODALS */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 20, 9, 0.85);
  backdrop-filter: blur(6px);
  z-index: 100;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal.is-active {
  display: flex;
}

.modal-content {
  background: #002d15;
  border: 2px solid var(--accent-yellow);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: #ffffff;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 222, 0, 0.2);
  border-top-color: var(--accent-yellow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.modal-title {
  font-size: 1.05rem;
  color: var(--accent-yellow);
}

.modal-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  font-family: 'Montserrat', sans-serif;
  background: #001a0c;
  color: #ffffff;
}

.modal-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

.modal-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 800;
  cursor: pointer;
}

.modal-btn.confirm {
  background: var(--accent-yellow);
  color: #002d15;
}

.modal-btn.cancel {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.modal-close-btn {
  padding: 10px 24px;
  background: var(--accent-yellow);
  color: #002d15;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 800;
  cursor: pointer;
}

/* FULL MOBILE RESPONSIVENESS & PRODUCT REMOVAL FOR MOBILE */
@media (max-width: 767px) {
  body {
    background: #002d15 !important;
    background-image: none !important;
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
    justify-content: flex-start;
  }

  .background-overlay {
    background: linear-gradient(135deg, #002d15 0%, #004d25 100%) !important;
  }

  .decorative-oil {
    display: none !important;
  }

  .success-product-img {
    display: none !important;
  }

  .app-header {
    padding: 16px 16px 8px 16px;
  }

  .top-center-logo {
    max-width: 150px;
    width: 60%;
  }

  .main-wrapper {
    padding: 8px 12px 28px 12px;
  }

  .content-card {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .hero-title-img {
    max-width: 270px;
    width: 85%;
    margin-bottom: 10px;
  }

  .main-heading {
    font-size: 1.3rem;
  }

  .sub-heading {
    font-size: 0.85rem;
  }

  .input-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .input-box {
    height: 48px;
    padding: 0 12px;
  }

  .input-box input,
  .input-box select {
    font-size: 0.92rem;
    height: 46px;
  }

  .cta-btn {
    padding: 15px 20px;
    font-size: 1.05rem;
    max-width: 100%;
  }

  .questions-card {
    padding: 20px 16px;
    gap: 16px;
  }

  .questions-title {
    font-size: 2.1rem;
  }

  .questions-title-dark {
    font-size: 1.25rem;
  }

  .question-btn {
    padding: 14px;
    font-size: 1.05rem;
  }

  .option-card {
    padding: 12px 14px;
  }

  .option-text {
    font-size: 0.9rem;
  }
}
