/* ============================================
   GLOBAL RESET & VARIABLES
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #4F6BF6;
  --color-primary-dark: #3A50D9;
  --color-primary-light: rgba(79, 107, 246, 0.15);
  --color-secondary: #7C3AED;
  --color-bg-dark: #0B0F1A;
  --color-bg-card: rgba(255, 255, 255, 0.04);
  --color-bg-card-hover: rgba(255, 255, 255, 0.08);
  --color-text: #F0F2F8;
  --color-text-muted: rgba(240, 242, 248, 0.55);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-active: rgba(79, 107, 246, 0.6);
  --color-success: #10B981;
  --color-error: #EF4444;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.2);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(79, 107, 246, 0.25);
}

.hidden { display: none !important; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg-dark);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.page-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.section-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 80px;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://offertabs.s3.amazonaws.com/offer/zdo2kp/site/media/69cdae07365479.14966258.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 26, 0.65) 0%, rgba(11, 15, 26, 0.9) 100%);
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 107, 246, 0.35), transparent 70%);
  top: -80px;
  right: -120px;
  animation: float 8s ease-in-out infinite alternate;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%);
  bottom: -60px;
  left: -100px;
  animation: float 10s ease-in-out infinite alternate-reverse;
}

@keyframes float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.badge {
  display: inline-block;
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  background: rgba(79, 107, 246, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 107, 246, 0.3);
  color: #a5b4fc;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #a78bfa 50%, #f093fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   COUNTDOWN
   ============================================ */
.countdown-section {
  padding: 0 20px;
  margin-top: -30px;
  position: relative;
  z-index: 3;
}

.countdown-inner {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 30px;
  text-align: center;
}

.countdown-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 12px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.countdown-unit span {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.countdown-unit small {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.countdown-sep {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.countdown-timer .ended {
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* ============================================
   POLL CHOICES
   ============================================ */
.poll-section {
  padding: 80px 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 48px;
}

.choices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.choice-card {
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
}

.choice-card:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.choice-card.is-selected {
  border-color: var(--color-primary);
  background: rgba(79, 107, 246, 0.08);
  box-shadow: var(--shadow-glow);
}

.choice-card.is-selected::after {
  content: '✓';
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.choice-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}

.choice-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.choice-card:hover .choice-image-wrapper img {
  transform: scale(1.05);
}

.choice-info {
  padding: 20px;
}

.choice-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.choice-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ============================================
   EMAIL CAPTURE
   ============================================ */
.email-section {
  padding: 0 20px 80px;
  animation: slideUp 0.5s ease;
}

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

.email-card {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
}

.email-icon {
  color: var(--color-primary);
  margin-bottom: 20px;
}

.email-card h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.email-card > p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.input-wrapper {
  flex: 1;
}

.input-wrapper input {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: #fff;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.input-wrapper input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 107, 246, 0.15);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79, 107, 246, 0.35);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-error {
  color: var(--color-error);
  font-size: 0.85rem;
  margin-top: 4px;
}

.selected-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 16px;
}

/* ============================================
   RESULTS SECTION
   ============================================ */
.results-section {
  padding: 0 20px 80px;
  animation: slideUp 0.6s ease;
}

.results-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.results-header {
  text-align: center;
  margin-bottom: 40px;
}

.results-icon {
  color: var(--color-primary);
  margin-bottom: 16px;
}

.results-header h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.results-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.total-votes {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.results-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.result-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

.result-content {
  flex: 1;
  min-width: 0;
}

.result-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.result-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-title.is-pick {
  color: var(--color-primary);
}

.result-percent {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-muted);
  flex-shrink: 0;
  margin-left: 12px;
}

.result-bar-track {
  width: 100%;
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.result-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
  width: 0;
}

.result-bar-fill.is-pick {
  background: linear-gradient(90deg, #667eea, #f093fb);
  box-shadow: 0 0 12px rgba(102, 126, 234, 0.4);
}

.result-count {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-left: 4px;
}

.your-pick-label {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

/* ============================================
   STATUS MESSAGES
   ============================================ */
.status-message {
  padding: 80px 20px;
}

.status-card,
.already-card {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
}

.status-card h2,
.already-card h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.status-card p,
.already-card p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.already-entered {
  padding: 0 20px 60px;
  animation: slideUp 0.5s ease;
}

.already-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

/* ============================================
   GLOBAL ERROR
   ============================================ */
.global-error {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-error);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  max-width: 90%;
  text-align: center;
}

/* ============================================
   SHARE PANEL
   ============================================ */
.share-panel {
  padding: 0 20px 80px;
  animation: slideUp 0.5s ease;
}

.share-card {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.share-card h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

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

.share-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.share-input-row input {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: #fff;
  outline: none;
}

.btn-copy {
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.btn-copy:hover {
  background: var(--color-primary-dark);
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.share-btn:hover { opacity: 0.85; }
.share-fb { background: #1877F2; }
.share-tw { background: #1DA1F2; }

/* ============================================
   POWERED BY SLOT
   ============================================ */
#wbx-powered-by-slot {
  text-align: center;
  padding: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
  .hero {
    min-height: 55vh;
    padding: 80px 20px 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .choices-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .email-card,
  .results-card {
    padding: 32px 24px;
  }

  .form-row {
    flex-direction: column;
  }

  .btn-primary {
    width: 100%;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .countdown-unit span {
    font-size: 1.5rem;
  }

  .countdown-unit {
    min-width: 50px;
  }

  .result-item {
    flex-wrap: wrap;
  }

  .result-thumb {
    width: 44px;
    height: 44px;
  }

  .share-input-row {
    flex-direction: column;
  }

  .share-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.8rem;
  }

  .choice-info {
    padding: 24px;
  }
}
