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

:root {
  --gold: #d4a853;
  --gold-light: #f0d78c;
  --gold-dark: #b8912e;
  --black: #0a0a0a;
  --dark: #111111;
  --dark-card: #1a1a1a;
  --dark-surface: #222222;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-300: #cccccc;
  --gray-500: #888888;
  --gray-700: #444444;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-glow: 0 0 40px rgba(212, 168, 83, 0.15);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --transition: all 0.3s ease;
}

.hidden { display: none !important; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.page-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: url('https://offertabs.s3.amazonaws.com/offer/yjsxdm/site/media/69cdadff13a9e3.58679553.jpg') center center / cover no-repeat;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.85) 70%, var(--black) 100%);
  z-index: 1;
}

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

.hero-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatUp 6s ease-in-out infinite;
}

@keyframes floatUp {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(-200px) scale(1.5); }
}

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

.laurel-badge {
  margin: 0 auto 24px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(212, 168, 83, 0.4);
  box-shadow: 0 0 60px rgba(212, 168, 83, 0.2);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 40px rgba(212, 168, 83, 0.15); }
  50% { box-shadow: 0 0 80px rgba(212, 168, 83, 0.3); }
}

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

.hero-eyebrow {
  display: inline-block;
  padding: 6px 24px;
  border-radius: var(--radius-pill);
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.3);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.5;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.hero-divider::before,
.hero-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider-star {
  color: var(--gold);
  font-size: 1rem;
}

/* ===== STATUS BANNERS ===== */
.status-banner {
  padding: 80px 20px;
  text-align: center;
}

.status-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 40px;
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 168, 83, 0.2);
  box-shadow: var(--shadow-glow);
}

.status-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}

.status-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.status-banner p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.phase-section {
  padding-top: 20px;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.section-desc {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== FORM CARD ===== */
.form-card {
  background: var(--dark-card);
  border: 1px solid rgba(212, 168, 83, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.form-card.compact-form {
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
  background: rgba(255,255,255,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d4a853' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-group select option {
  background: var(--dark-card);
  color: var(--white);
}

.form-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 28px 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.vote-instruction {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn-primary {
  width: 100%;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.03em;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.35);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-secondary {
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--gold);
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(212, 168, 83, 0.2);
  border-color: var(--gold);
}

.btn-outline {
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--gold);
  background: transparent;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 24px;
}

.btn-outline:hover {
  background: rgba(212, 168, 83, 0.1);
  transform: translateY(-2px);
}

/* ===== CATEGORY TABS ===== */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.cat-tab {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.cat-tab:hover {
  color: var(--gold-light);
  border-color: rgba(212, 168, 83, 0.3);
  background: rgba(212, 168, 83, 0.08);
}

.cat-tab.active {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(212, 168, 83, 0.3);
}

/* ===== NOMINEES GRID ===== */
.nominees-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.nominee-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--dark-card);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nominee-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.05), transparent);
  opacity: 0;
  transition: var(--transition);
}

.nominee-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nominee-card:hover::before {
  opacity: 1;
}

.nominee-card.selected {
  border-color: var(--gold);
  background: rgba(212, 168, 83, 0.08);
  box-shadow: var(--shadow-glow);
}

.nominee-card.selected::before {
  opacity: 1;
}

.nominee-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.1);
  border: 2px solid rgba(212, 168, 83, 0.25);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.nominee-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nominee-card.selected .nominee-avatar {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.nominee-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.nominee-check {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 0.85rem;
  color: transparent;
  position: relative;
  z-index: 1;
}

.nominee-card.selected .nominee-check {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.nominee-card.selected .nominee-check::after {
  content: '✓';
  font-weight: 700;
  color: var(--black);
}

/* ===== WINNERS GRID ===== */
.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.winner-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--dark-card);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.winner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.winner-trophy {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.winner-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}

.winner-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.winner-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 16px auto 0;
  border: 2px solid var(--gold);
  display: block;
}

/* ===== BADGE SECTION ===== */
.badge-section {
  text-align: center;
  padding: 48px 32px;
  background: var(--dark-card);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: var(--radius-lg);
}

.badge-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.badge-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.badge-preview {
  margin: 0 auto 24px;
  max-width: 280px;
}

.badge-preview img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 168, 83, 0.3);
}

.badge-preview-box {
  padding: 32px;
  background: linear-gradient(135deg, #1a1508, #2a2010);
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  text-align: center;
}

.badge-preview-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.4;
  margin-top: 12px;
}

.badge-embed-box {
  max-width: 500px;
  margin: 0 auto;
}

.badge-embed-box label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-align: left;
}

.badge-embed-box textarea {
  width: 100%;
  padding: 12px;
  font-size: 0.8rem;
  font-family: 'Courier New', monospace;
  color: var(--gold-light);
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: var(--radius-sm);
  resize: none;
  margin-bottom: 12px;
}

/* ===== THANK YOU ===== */
.thankyou-card {
  text-align: center;
  padding: 60px 40px;
  background: var(--dark-card);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.2), rgba(212, 168, 83, 0.05));
  border: 2px solid var(--gold);
  font-size: 2rem;
  color: var(--gold);
}

.thankyou-icon.duplicate {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.5);
}

.thankyou-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.thankyou-text {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

/* ===== POLL RESULTS ===== */
.poll-results {
  margin-top: 32px;
  text-align: left;
}

.poll-results h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  text-align: center;
  margin-bottom: 20px;
}

.poll-bar-row {
  margin-bottom: 18px;
}

.poll-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.poll-bar-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.poll-bar-name.user-pick {
  color: var(--gold);
}

.poll-bar-pct {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
}

.poll-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.poll-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 4px;
  transition: width 0.8s ease;
}

.poll-bar-fill.user {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 10px rgba(212, 168, 83, 0.4);
}

/* ===== SHARE PANEL ===== */
.share-panel {
  margin-top: 32px;
  padding: 24px;
  background: rgba(212, 168, 83, 0.05);
  border: 1px solid rgba(212, 168, 83, 0.15);
  border-radius: var(--radius-md);
}

.share-panel h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.share-panel p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

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

.share-url-row input {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  color: var(--gold-light);
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: var(--radius-sm);
  outline: none;
}

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

.share-btn {
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.share-fb {
  background: #1877f2;
  color: white;
}

.share-tw {
  background: #1da1f2;
  color: white;
}

.share-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ===== COUNTDOWN ===== */
.countdown-section {
  text-align: center;
  padding: 32px 20px;
  margin-top: 20px;
}

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

.countdown-timer {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-card);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: var(--radius-sm);
}

.countdown-unit-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

/* ===== ERROR MESSAGES ===== */
.error-message {
  text-align: center;
  padding: 16px 20px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  margin-top: 16px;
}

.error-message p {
  color: #fca5a5;
  font-size: 0.95rem;
}

/* ===== FADE IN ANIMATION ===== */
.fade-in-up {
  animation: fadeInUp 0.6s ease both;
}

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

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

  .hero-title {
    font-size: 2.4rem;
  }

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

  .laurel-badge {
    width: 90px;
    height: 90px;
  }

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

  .form-card {
    padding: 24px;
  }

  .cat-tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .nominee-card {
    padding: 16px;
  }

  .thankyou-card {
    padding: 40px 24px;
  }

  .winners-grid {
    grid-template-columns: 1fr;
  }

  .countdown-number {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .form-card {
    padding: 20px 16px;
  }

  .category-tabs {
    gap: 6px;
  }

  .cat-tab {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
}

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