/* ============================================
   TAMRON HALL SHOW FATHER'S DAY GETAWAY
   ============================================ */

:root {
  --navy: #4586a4;
  --navy-light: #91c8dc;
  --gold: #D4A843;
  --gold-light: #EFC75E;
  --coral: #E8785A;
  --aqua: #3ABAB4;
  --bg-main: #E8EDF4;
  --bg-warm: #EDE8E0;
  --white: #ffffff;
  --text-dark: #1a2332;
  --text-muted: #6b7a8d;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.hidden { display: none !important; }

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

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  background: linear-gradient(165deg, var(--navy) 0%, #1a3a6b 40%, #1e4d7a 70%, #1a3a6b 100%);
  overflow: hidden;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('https://offertabs.s3.amazonaws.com/offer/39h5sc/site/media/69d6d94c849160.14994319.jpg') center/cover no-repeat;
  opacity: 0.08;
  mix-blend-mode: overlay;
}

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

.hero-blob-1 {
  top: -120px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,168,67,0.35), transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero-blob-2 {
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(58,186,180,0.25), transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { 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: 999px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212,168,67,0.35);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold-light), var(--coral), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-block;
  padding: 16px 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(212,168,67,0.4);
  letter-spacing: 0.02em;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212,168,67,0.5);
  color: var(--navy);
}

.hero-image-container {
  position: relative;
  z-index: 2;
  margin-top: 50px;
  max-width: 680px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============================================
   PRIZE SECTION
   ============================================ */
.prize-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, #d6dfed 0%, #e2e8f0 100%);
  text-align: center;
}

.section-label {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 999px;
  background: rgba(11,29,58,0.08);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 48px;
  line-height: 1.15;
}

.prize-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.prize-card {
  padding: 32px 20px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(240,244,250,0.95));
  border: 1px solid rgba(11,29,58,0.08);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.prize-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(11,29,58,0.1);
  border-color: rgba(212,168,67,0.35);
}

.prize-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.prize-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.prize-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.prize-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ============================================
   COUNTDOWN SECTION
   ============================================ */
.countdown-section {
  padding: 50px 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  text-align: center;
}

.countdown-label {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 24px;
  font-weight: 600;
}

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

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

.countdown-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  min-width: 70px;
}

.countdown-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
  font-weight: 600;
}

.countdown-separator {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 24px;
}

/* ============================================
   ENTRY SECTION
   ============================================ */
.entry-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, #e2e8f0 0%, #d0d9e8 100%);
  position: relative;
  flex: 1;
}

.entry-bg-decor {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,58,107,0.06), transparent 60%);
  pointer-events: none;
}

/* Status Messages */
.status-message {
  text-align: center;
  padding: 60px 20px;
  max-width: 500px;
  margin: 0 auto;
}

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

.status-message h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.status-message p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Form */
.form-wrapper {
  position: relative;
  z-index: 1;
}

.form-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(11,29,58,0.1), 0 0 0 1px rgba(11,29,58,0.06);
}

.form-header {
  text-align: center;
  margin-bottom: 36px;
}

.form-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: #f0f3f8;
  border: 2px solid transparent;
  border-radius: 12px;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input::placeholder {
  color: #9aa5b4;
}

.form-group input:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(212,168,67,0.12);
}

.form-agreement {
  margin-bottom: 28px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkmark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid #ccc;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-top: 1px;
}

.checkbox-label input:checked + .checkmark {
  background: var(--gold);
  border-color: var(--gold);
}

.checkbox-label input:checked + .checkmark::after {
  content: '✓';
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.checkbox-label a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 600;
}

.submit-btn {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(11,29,58,0.2);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(11,29,58,0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

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

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(239,199,94,0.3);
  border-top-color: var(--gold-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-error {
  margin-top: 16px;
  padding: 14px 18px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  text-align: center;
}

.form-error p {
  color: #dc2626;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================
   RESULT / THANK YOU
   ============================================ */
.result-wrapper {
  position: relative;
  z-index: 1;
}

.result-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  padding: 56px 40px 48px;
  box-shadow: 0 20px 60px rgba(11,29,58,0.1), 0 0 0 1px rgba(11,29,58,0.06);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.result-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.result-card h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.result-msg {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto;
}

/* Share Panel */
.share-panel {
  margin-top: 32px;
}

.share-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  border-radius: 2px;
  margin: 0 auto 28px;
}

.share-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.share-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.share-url-group {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.share-url-group input {
  flex: 1;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: #f0f3f8;
  border: 2px solid transparent;
  border-radius: 10px;
  color: var(--text-dark);
  outline: none;
}

.copy-btn {
  padding: 12px 24px;
  background: var(--navy);
  color: var(--gold-light);
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.social-share-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-btn.facebook {
  background: #1877F2;
  color: white;
}

.social-btn.facebook:hover {
  background: #166fe5;
  color: white;
}

.social-btn.twitter {
  background: #0f1419;
  color: white;
}

.social-btn.twitter:hover {
  background: #272c30;
  color: white;
}

.already-entered p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 40px 20px;
  background: var(--navy);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-rules-link {
  display: inline-block;
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-decoration: underline;
}

.footer-rules-link:hover {
  color: var(--gold);
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   RULES MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,29,58,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.hidden {
  display: none !important;
}

.modal-content {
  background: var(--white);
  border-radius: 20px;
  max-width: 620px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 80px rgba(0,0,0,0.3);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 16px;
  border-bottom: 1px solid #eee;
}

.modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #e8edf4;
  color: var(--navy);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
  .hero {
    padding: 60px 16px 32px;
    min-height: auto;
  }

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

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

  .hero-image-container {
    margin-top: 36px;
    border-radius: 14px;
  }

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

  .prize-cards {
    grid-template-columns: 1fr;
  }

  .prize-card {
    padding: 24px 16px;
  }

  .form-card {
    padding: 36px 24px;
  }

  .result-card {
    padding: 40px 24px 36px;
  }

  .countdown-number {
    font-size: 1.8rem;
    padding: 10px 14px;
    min-width: 52px;
  }

  .countdown-separator {
    font-size: 1.4rem;
  }

  .social-share-buttons {
    flex-direction: column;
  }

  .share-url-group {
    flex-direction: column;
  }

  .copy-btn {
    width: 100%;
  }
}

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

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

  .prize-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .social-share-buttons {
    flex-direction: row;
  }

  .social-btn {
    flex: 1;
  }
}

/* Confetti burst animation */
.confetti-burst {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  top: 50%;
  left: 50%;
  opacity: 0;
  animation: confettiFall 1.5s ease-out forwards;
}

@keyframes confettiFall {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) rotate(720deg) scale(0);
    opacity: 0;
  }
}

.modal-body {
  padding: 24px 28px 32px;
  overflow-y: auto;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Powered-by slot */
#wbx-powered-by-slot {
  text-align: center;
  padding: 12px 0;
}
