:root {
  /* Renova Cloud Banner 1 Theme Palette */
  --bg-dark: #1e0a2d;
  --primary: #f59e0b; /* Yellow/Orange */
  --primary-hover: #d97706;
  --primary-glow: rgba(245, 158, 11, 0.4);
  
  --secondary: #8b5cf6; /* Neon Purple */
  --secondary-glow: rgba(139, 92, 246, 0.4);
  
  --accent: #3b82f6; /* Blue */
  
  --text: #f8fafc;
  --text-muted: #cbd5e1;
  
  --glass-bg: rgba(20, 10, 35, 0.65);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  background-image: 
    linear-gradient(135deg, rgba(45, 10, 60, 0.92), rgba(15, 20, 45, 0.98)), 
    url('https://offertabs.s3.amazonaws.com/offer/83y2vv/site/media/6aff2b967316e3.20805517.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

.hidden {
  display: none !important;
}

/* Background Effects */
.bg-orbs {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  mix-blend-mode: screen;
}

.orb-1 {
  top: -10%; right: -5%;
  width: 500px; height: 500px;
  background: var(--secondary);
  animation: float 12s ease-in-out infinite alternate;
}

.orb-2 {
  bottom: -15%; left: -10%;
  width: 600px; height: 600px;
  background: var(--primary);
  animation: float 15s ease-in-out infinite alternate-reverse;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 60px) scale(1.1); }
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Status Banner */
.status-banner {
  background: linear-gradient(90deg, #ef4444, #b91c1c);
  color: white;
  text-align: center;
  padding: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 50;
  letter-spacing: 0.5px;
}

/* Typography & Hero */
.hero {
  text-align: center;
  padding: 80px 20px 50px;
  max-width: 900px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px;
  width: 100%;
  max-width: 760px; /* roughly matches the width of the main title text */
}

.sponsor-logos img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--secondary) 10%, #38bdf8 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-weight: 400;
}

/* Layout */
.container {
  flex: 1;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Premium Glass Cards */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.text-center {
  text-align: center;
}

/* Form Styles */
.form-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.survey-page-title {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin: 40px 0 24px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 12px;
}

.survey-page-section:first-child .survey-page-title {
  margin-top: 0;
}

.section-title {
  font-size: 1.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 8px;
}

.section-title-large {
  font-size: 2.4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.form-group, .input-group {
  margin-bottom: 36px;
  text-align: left;
}

.q-title, label {
  display: block;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.2px;
  line-height: 1.4;
}

.req {
  color: var(--secondary);
  margin-left: 4px;
}

.input-text {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.05rem;
  font-family: inherit;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  background-color: rgba(0,0,0,0.3);
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 56px;
}

.input-text::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.input-text:focus {
  outline: none;
  border-color: var(--secondary);
  background-color: rgba(0,0,0,0.5);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

select.input-text {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10'%3E%3Cpath d='M2 2l6 6 6-6' stroke='rgba(255,255,255,0.5)' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px;
  cursor: pointer;
}

select.input-text option {
  background-color: var(--bg-dark);
  color: var(--text);
}

/* Custom Radio & Checkbox (Survey) */
.radio-group, .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.radio-label, .checkbox-label {
  display: flex;
  align-items: flex-start;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0;
  min-height: 64px;
}

.radio-label:hover, .checkbox-label:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.radio-label input, .checkbox-label input {
  display: none;
}

.radio-custom {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  margin-right: 16px;
  margin-top: 1px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.checkbox-custom {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.3);
  margin-right: 16px;
  margin-top: 1px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radio-label:has(input:checked), .checkbox-label:has(input:checked) {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--secondary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.radio-label input:checked + .radio-custom,
.checkbox-label input:checked + .checkbox-custom {
  border-color: var(--secondary);
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--secondary);
  box-shadow: 0 0 10px var(--secondary-glow);
}

.radio-label input:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--secondary-glow);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.radio-text, .checkbox-text {
  font-size: 1.05rem;
  line-height: 1.5;
  transition: all 0.3s;
}

.radio-label:has(input:checked) .radio-text,
.checkbox-label:has(input:checked) .checkbox-text {
  font-weight: 700;
  color: #fff;
}

/* Custom NPS (Survey) */
.nps-group {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
}

.nps-label {
  flex: 1;
  text-align: center;
  cursor: pointer;
  margin: 0;
}

.nps-label input {
  display: none;
}

.nps-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 1.1rem;
}

.nps-label:hover .nps-box {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nps-label:has(input:checked) .nps-box {
  background: linear-gradient(135deg, var(--secondary), #0369a1);
  border-color: var(--secondary);
  color: white;
  font-weight: 800;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 20px var(--secondary-glow);
}

.nps-hints {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-weight: 500;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 32px;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-heading);
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 60px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
  box-shadow: 0 10px 25px var(--primary-glow);
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.5s;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px var(--primary-glow);
}

.btn-primary:hover:not(:disabled)::after {
  left: 200%;
}

.btn-primary:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.error-box {
  background: rgba(239, 68, 68, 0.15);
  border-left: 4px solid #ef4444;
  color: #fca5a5;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
  font-size: 1rem;
  font-weight: 500;
}

/* AI Level Result Box */
.ai-level-box {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 40px;
}

.level-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.level-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
  display: inline-block;
}

.level-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
}

/* Premium Wheel Styling */
.wheel-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 50px;
}

.wheel-shadow {
  position: absolute;
  top: 5%; left: 5%; right: 5%; bottom: 5%;
  border-radius: 50%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.wheel-pointer {
  position: absolute;
  top: 50%;
  right: -25px;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  z-index: 10;
  color: #ffffff;
  filter: drop-shadow(-4px 4px 8px rgba(0,0,0,0.6));
}

.wheel-pointer svg {
  width: 100%;
  height: 100%;
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 8px solid rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
  box-shadow: 
    0 0 0 12px rgba(15, 23, 42, 0.8),
    inset 0 0 40px rgba(0,0,0,0.6);
  z-index: 5;
}

.wheel-segment-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 60px;
  margin-top: -30px;
  transform-origin: left center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 25px;
  box-sizing: border-box;
}

.wheel-inner-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.9), 0 0 2px rgba(0,0,0,0.5);
  line-height: 1.2;
}

.wheel-prize-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

@keyframes pulse-btn {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
.pulse {
  animation: pulse-btn 2.5s infinite;
}

/* Results */
.gradient-text {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  display: inline-block;
}

.prize-card {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 30px;
  margin-top: 24px;
}

.prize-title {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.code-box, .qr-box {
  background: rgba(15, 23, 42, 0.6);
  border: 2px dashed rgba(255,255,255,0.2);
  padding: 24px;
  border-radius: 16px;
  margin: 20px auto 0;
  max-width: 320px;
}

.code-box strong {
  display: block;
  font-size: 1.8rem;
  font-family: var(--font-heading);
  margin-top: 12px;
  letter-spacing: 3px;
  color: var(--secondary);
  text-shadow: 0 0 15px var(--secondary-glow);
}

.qr-box img {
  margin-top: 16px;
  max-width: 180px;
  border-radius: 12px;
  border: 4px solid white;
}

.lose-icon {
  color: var(--text-muted);
  opacity: 0.5;
  margin-bottom: 20px;
}

.lose-text {
  font-size: 1.15rem;
  margin-top: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Share Panel */
.share-box {
  margin-top: 30px;
  padding: 40px;
}

.share-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.share-box p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.highlight-text {
  color: var(--secondary);
  font-size: 1.2rem;
}

.share-flex {
  display: flex;
  gap: 0;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px;
  align-items: center;
}

.share-flex input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 20px;
  font-size: 1.05rem;
  color: var(--text);
}

.share-flex input:focus {
  outline: none;
  box-shadow: none;
}

.share-flex button {
  width: auto;
  padding: 14px 28px;
  margin: 0;
  border-radius: 10px;
}

.powered-by-slot {
  margin: 40px auto 0;
  text-align: center;
  width: 100%;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero {
    padding: 60px 15px 30px;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .container {
    padding: 0 16px 60px;
    gap: 30px;
  }
  .card {
    padding: 32px 20px;
    border-radius: 20px;
  }
  .form-group, .input-group {
    margin-bottom: 28px;
  }
  .radio-label, .checkbox-label {
    padding: 16px 16px;
    border-radius: 14px;
  }
  .q-title, label {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  .radio-text, .checkbox-text {
    font-size: 1rem;
  }
  .nps-group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  .nps-label {
    flex: 0 0 calc(20% - 6px); /* ~ 5 per row */
  }
  .nps-box {
    height: 48px;
    font-size: 1.1rem;
  }
  .share-flex {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
  }
  .share-flex input {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 100%;
    min-height: 56px;
  }
  .share-flex button {
    width: 100%;
    min-height: 56px;
  }
  .level-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .section-title-large {
    font-size: 2rem;
  }
  .card {
    padding: 24px 16px;
  }
  .wheel-wrapper {
    max-width: 280px;
  }
  .wheel-segment-content {
    padding-right: 18px;
  }
  .wheel-inner-content {
    font-size: 11px;
    gap: 4px;
  }
  .wheel-prize-img {
    width: 24px;
    height: 24px;
  }
  .nps-label {
    flex: 0 0 calc(25% - 6px); /* 4 per row */
  }
  .level-title {
    font-size: 1.8rem;
  }
}