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

.hidden { display: none !important; }

:root {
  --primary: #c41e3a;
  --primary-light: #e8345a;
  --secondary: #1a7a3a;
  --gold: #d4a017;
  --gold-light: #f0c040;
  --dark: #1a1224;
  --dark-surface: #241832;
  --text-light: rgba(255,255,255,0.85);
  --text-muted: rgba(255,255,255,0.55);
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: #fff;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.page-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* === HERO === */
.hero {
  position: relative;
  padding: 80px 24px 50px;
  text-align: center;
  overflow: hidden;
  background: url('https://offertabs.s3.amazonaws.com/offer/d2yoa8/site/media/69cdb1159eac51.04311047.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,18,36,0.80) 0%, rgba(26,18,36,0.95) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.18);
  border: 1px solid rgba(212, 160, 23, 0.35);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.badge-results {
  background: rgba(26, 122, 58, 0.2);
  border-color: rgba(26, 122, 58, 0.4);
  color: #5effa0;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold-light), #ff6b6b, var(--gold-light));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

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

/* === COUNTDOWN === */
.countdown-bar {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 30px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
}

.countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  font-weight: 600;
}

.countdown-digits {
  display: flex;
  align-items: center;
  gap: 6px;
}

.digit-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
}

.digit-group span {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.digit-group small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 2px;
}

.digit-sep {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* === STATUS MESSAGES === */
.status-message {
  text-align: center;
  padding: 80px 24px;
}

.status-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.status-message h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 12px;
}

.status-message p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 400px;
  margin: 0 auto;
}

/* === POLL SECTION === */
.poll-section {
  padding: 50px 24px 60px;
}

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

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* === CHOICES GRID === */
.choices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

@media (min-width: 700px) {
  .choices-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.choice-card:hover {
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.choice-card.is-selected {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 2px var(--gold-light), 0 12px 40px rgba(212,160,23,0.25);
  transform: translateY(-4px);
}

.choice-card.is-selected .choice-check {
  opacity: 1;
  transform: scale(1);
}

.choice-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 3;
}

.choice-img-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 85%;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}

.choice-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.choice-card:hover .choice-img-wrap img {
  transform: scale(1.06);
}

.choice-info {
  padding: 14px 16px 18px;
}

.choice-title {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #fff;
}

.choice-prices {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-original {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-sale {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-light);
}

.price-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(196, 30, 58, 0.25);
  color: #ff6b6b;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: auto;
}

/* === EMAIL PANEL === */
.email-panel {
  max-width: 500px;
  margin: 10px auto 0;
  animation: slideUp 0.5s ease;
}

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

.email-panel-inner {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
}

.email-header {
  margin-bottom: 28px;
}

.check-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), #2ecc71);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.email-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.email-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.form-row {
  margin-bottom: 14px;
}

.form-row input {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  color: #fff;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-row input::placeholder {
  color: rgba(255,255,255,0.35);
}

.form-row input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 4px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 30, 58, 0.4);
}

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

.error-msg {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 71, 71, 0.15);
  border: 1px solid rgba(255, 71, 71, 0.3);
  color: #ff6b6b;
  font-size: 0.9rem;
  font-weight: 500;
}

/* === RESULTS === */
.results-section {
  padding: 50px 24px 60px;
}

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

.results-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 14px 0 8px;
}

.results-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.result-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.3s ease;
}

.result-card.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.result-card.is-winner {
  border-color: var(--gold-light);
  background: rgba(212,160,23,0.08);
  box-shadow: 0 0 30px rgba(212,160,23,0.12);
}

.result-card.is-pick {
  border-color: var(--primary-light);
  box-shadow: 0 0 20px rgba(232, 52, 90, 0.12);
}

.result-thumb {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.result-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.result-title {
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-badge-pick {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(232, 52, 90, 0.25);
  color: #ff6b8a;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.result-badge-winner {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(212,160,23,0.25);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.result-bar-wrap {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 4px;
}

.result-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  width: 0;
  transition: width 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.result-card.is-winner .result-bar {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.result-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.result-percent {
  font-weight: 700;
  color: var(--text-light);
}

.results-footer {
  text-align: center;
  margin-top: 36px;
  padding: 24px;
  background: rgba(26, 122, 58, 0.1);
  border: 1px solid rgba(26, 122, 58, 0.2);
  border-radius: var(--radius-md);
  color: #5effa0;
  font-weight: 600;
  font-size: 0.95rem;
}

/* === SHARE PANEL === */
.share-panel {
  max-width: 500px;
  margin: 36px auto 0;
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
}

.share-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

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

.share-link-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.share-link-row input {
  flex: 1;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: #fff;
  outline: none;
}

.btn-copy {
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--dark);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-copy:hover {
  background: var(--gold-light);
}

.share-social {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-social {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s;
}

.btn-facebook { background: #1877f2; }
.btn-facebook:hover { background: #1565d0; }
.btn-twitter { background: #333; }
.btn-twitter:hover { background: #555; }

/* === SNOWFLAKES === */
.snowflake {
  position: fixed;
  top: -10px;
  color: rgba(255,255,255,0.15);
  font-size: 1rem;
  z-index: 0;
  pointer-events: none;
  animation: snowfall linear infinite;
}

@keyframes snowfall {
  0% { transform: translateY(-10px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(360deg); opacity: 0.3; }
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 60px 18px 40px; }
  .poll-section { padding: 40px 16px 50px; }
  .choices-grid { gap: 12px; }
  .choice-info { padding: 10px 12px 14px; }
  .choice-title { font-size: 0.82rem; }
  .price-sale { font-size: 0.92rem; }
  .email-panel-inner { padding: 28px 20px; }
  .result-card { padding: 12px 14px; }
  .result-thumb { width: 48px; height: 48px; }
  .digit-group span { font-size: 1.5rem; }
  .digit-group { min-width: 42px; }
  .results-header h2 { font-size: 1.7rem; }
}

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