/* =========================================================
   VARIABLES & RESET
========================================================= */
:root {
  --primary: #3b148f;
  --primary-dark: #240b5c;
  --accent: #ffd60a;
  --accent-hover: #ffea75;
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --border-color: rgba(168, 85, 247, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.05);
  
  --font-heading: 'Gloock', serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-light);
  background-color: var(--primary-dark);
  background-image: 
    radial-gradient(circle at top center, rgba(255, 214, 10, 0.15) 0%, transparent 60%),
    url('https://offertabs.s3.amazonaws.com/offer/rihjzr/site/media/69f0dbb567efb2.91747530.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-blend-mode: overlay;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* REQUIRED UTILITY */
.hidden {
  display: none !important;
}

/* =========================================================
   LAYOUT & CONTAINERS
========================================================= */
.container {
  flex: 1;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 20px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.view-section {
  text-align: center;
  animation: fadeIn 0.5s ease forwards;
}

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

/* =========================================================
   TYPOGRAPHY
========================================================= */
.main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.question-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 40px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.accent-text {
  color: var(--accent);
  background: linear-gradient(135deg, #ffd60a, #ffb703);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* =========================================================
   COMPONENTS
========================================================= */
/* Badges */
.badge {
  display: inline-block;
  background: rgba(255, 214, 10, 0.15);
  color: var(--accent);
  border: 1px solid rgba(255, 214, 10, 0.5);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.marquee-badge {
  background: rgba(255, 214, 10, 0.9);
  color: var(--primary-dark);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(255, 214, 10, 0.4);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #ffd60a, #ffb703);
  color: var(--primary-dark);
  border: none;
  border-radius: 999px;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 214, 10, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 214, 10, 0.5);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Answer Pills */
.answers-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.answer-pill {
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 2px solid var(--border-color);
  border-radius: 999px;
  padding: 12px 24px 12px 12px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}

.answer-pill:hover, .answer-pill:focus {
  border-color: var(--accent);
  background: rgba(255, 214, 10, 0.1);
  box-shadow: 0 0 20px rgba(255, 214, 10, 0.2);
  transform: scale(1.02);
  outline: none;
}

.answer-letter {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Progress Bar (Top) */
#progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  z-index: 100;
}

#progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transition: width 0.4s ease;
}

/* Floating Timer Widget */
#timer-widget {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  z-index: 100;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.timer-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.timer-bg {
  fill: none;
  stroke: rgba(255,255,255,0.1);
  stroke-width: 6;
}

.timer-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.1s linear;
}

.timer-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
}

/* Glass Card (Forms) */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.glass-card h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 12px;
  text-align: center;
}

.glass-card p {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 30px;
}

/* Form Styles */
.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.2);
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s;
}

input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0,0,0,0.4);
  box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.2);
}

form .btn-primary {
  width: 100%;
  margin-top: 10px;
}

/* Share Panel */
.share-controls {
  display: flex;
  gap: 12px;
}

.share-controls input {
  flex: 1;
}

/* Messages */
.status-msg {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 600;
}

.status-info {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 24px;
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
}

#wbx-powered-by-slot {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 24px;
}

/* Responsive */
@media (max-width: 600px) {
  .container { padding: 80px 16px 40px; }
  .glass-card { padding: 24px; }
  #timer-widget { top: 16px; right: 16px; width: 50px; height: 50px; }
  .timer-text { font-size: 1rem; }
  .share-controls { flex-direction: column; }
}