/* ============================================
   SweepstakesLeads.com — Premium Public Styles
   ============================================ */

/* ---- CSS CUSTOM PROPERTIES (Light) ---- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --cta: #16a34a;
  --cta-dark: #15803d;
  --text: #0f172a;
  --text-muted: #64748b;
  --surface: #f8fafc;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --gold: #f59e0b;
  --danger: #dc2626;
  --nav-bg: rgba(255,255,255,0.92);
  --footer-bg: #0f172a;
  --footer-text: #cbd5e1;
  --hero-from: #1e40af;
  --hero-via: #2563eb;
  --hero-to: #3b82f6;
  --faq-bg: #ffffff;
  --disclaimer-bg: #fffbeb;
  --disclaimer-border: #fcd34d;
  --disclaimer-text: #92400e;
  --signup-success-bg: #dcfce7;
  --signup-success-text: #15803d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.06);
}

/* ---- CSS CUSTOM PROPERTIES (Dark) ---- */
[data-theme="dark"] {
  --primary: #3b82f6;
  --primary-dark: #60a5fa;
  --primary-light: #1e3a5f;
  --cta: #22c55e;
  --cta-dark: #16a34a;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --surface: #0f172a;
  --card-bg: #1e293b;
  --border: #334155;
  --gold: #fbbf24;
  --danger: #ef4444;
  --nav-bg: rgba(30,41,59,0.92);
  --footer-bg: #020617;
  --footer-text: #94a3b8;
  --hero-from: #0b1120;
  --hero-via: #162032;
  --hero-to: #1e3a5f;
  --faq-bg: #1e293b;
  --disclaimer-bg: #1e293b;
  --disclaimer-border: #854d0e;
  --disclaimer-text: #fbbf24;
  --signup-success-bg: #14532d;
  --signup-success-text: #86efac;
  --shadow: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.6);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- SCROLL ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- STAGGER ANIMATIONS ---- */
.stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.stagger-item.stagger-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- FILTER ANIMATIONS ---- */
.filter-item.filter-hiding {
  opacity: 0;
  transform: scale(0.95);
}
.filter-item.filter-hidden {
  display: none;
}
.filter-item.filter-showing {
  animation: filterFadeIn 0.35s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes filterFadeIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---- HEADER / NAV (Glass) ---- */
.site-header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
[data-theme="dark"] .site-header {
  background: rgba(30,41,59,0.85);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}

/* ---- DARK MODE TOGGLE ---- */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.theme-toggle:hover {
  background: var(--surface);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ---- AD SLOTS ---- */
.ad-slot { display: none; min-height: 0; }

/* ---- HERO (Animated Gradient) ---- */
.hero {
  background: linear-gradient(-45deg, #1d4ed8, #2563eb, #7c3aed, #2563eb);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #fff;
  text-align: center;
  padding: 80px 20px 88px;
  position: relative;
  overflow: hidden;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255,255,255,0.04) 0%, transparent 40%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--hero-via);
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: var(--hero-via);
}
.hero-cta svg { width: 20px; height: 20px; }

/* ---- STATS BAR ---- */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 28px 20px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- TRUST BADGES ---- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 24px 20px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-badge svg {
  width: 22px;
  height: 22px;
  color: var(--cta);
  flex-shrink: 0;
}

/* ---- SECTION ---- */
.section { padding: 56px 0; }
.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-title-row .section-title { margin-bottom: 0; }
.view-all {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.2s;
}
.view-all:hover { background: var(--primary-light); }

/* ---- CATEGORY FILTER ---- */
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}
.category-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(37,99,235,0.1);
}
.category-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

/* ---- CATEGORY BADGE COLORS ---- */
.badge-shopping { background: #dbeafe; color: #1d4ed8; }
.badge-cash { background: #dcfce7; color: #15803d; }
.badge-food { background: #fef3c7; color: #b45309; }
.badge-travel { background: #e0e7ff; color: #4338ca; }
.badge-electronics { background: #f3e8ff; color: #7c3aed; }
.badge-beauty { background: #fce7f3; color: #be185d; }
.badge-automotive { background: #f1f5f9; color: #475569; }
.badge-other { background: #f1f5f9; color: #475569; }
.badge-entertainment { background: #8b5cf6; color: #fff; }
.badge-health { background: #14b8a6; color: #fff; }
.badge-home { background: #f97316; color: #fff; }

/* ---- OFFER GRID ---- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ---- OFFER CARD (Hover + Glow) ---- */
.offer-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
/* Card glow effect (mouse-tracking via JS --glow-x / --glow-y) */
.offer-card::before {
  content: '';
  position: absolute;
  top: var(--glow-y, -100px);
  left: var(--glow-x, -100px);
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.offer-card:hover::before {
  opacity: 1;
}
.offer-card > * {
  position: relative;
  z-index: 1;
}

.offer-card.featured {
  border-color: var(--gold);
  border-width: 2px;
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-md);
}
.offer-card.featured:hover {
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-xl);
}

.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.offer-card:hover .card-image img {
  transform: scale(1.05);
}
.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}
.badge-featured {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  box-shadow: 0 2px 8px rgba(245,158,11,0.4);
}
.badge-ending {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
  box-shadow: 0 2px 8px rgba(220,38,38,0.4);
}
.badge-category {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
}
.badge-frequency {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-brand {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.card-title a { color: var(--text); transition: color 0.2s; }
.card-title a:hover { color: var(--primary); }

.card-prize {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.card-footer { margin-top: auto; padding-top: 16px; }

/* ---- ENTRY TRACKING ---- */
.entry-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #16a34a;
  color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 2;
}
.btn-entered {
  background: #16a34a !important;
}
.btn-mark-entry {
  background: transparent;
  border: 2px solid var(--cta);
  color: var(--cta);
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-mark-entry:hover {
  background: var(--cta);
  color: white;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn-cta {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  width: 100%;
  box-shadow: 0 4px 14px rgba(22,163,74,0.25);
}
.btn-cta:hover {
  box-shadow: 0 6px 20px rgba(22,163,74,0.35);
  transform: translateY(-1px);
  color: #fff;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,0.25);
}
.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(37,99,235,0.35);
  transform: translateY(-1px);
  color: #fff;
}
.btn-outline {
  background: var(--card-bg);
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

/* ---- OFFER DETAIL PAGE ---- */
.offer-detail { padding: 48px 0; }
.offer-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.offer-detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.offer-detail-image img { width: 100%; height: 100%; object-fit: cover; }

.offer-detail-info h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.offer-detail-brand {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.offer-detail-prize {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.offer-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--surface);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}
.offer-detail-desc {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 28px;
  color: var(--text);
}

.how-to-enter {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.how-to-enter h3 { font-size: 1.15rem; margin-bottom: 20px; font-weight: 700; }
.steps { list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  padding: 12px 0;
  padding-left: 44px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(37,99,235,0.25);
}

.countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--disclaimer-bg);
  color: var(--danger);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.disclaimer-box {
  background: var(--disclaimer-bg);
  border: 1px solid var(--disclaimer-border);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 0.8rem;
  color: var(--disclaimer-text);
  margin-top: 28px;
  line-height: 1.6;
}

/* ---- EMAIL SIGNUP ---- */
.email-signup {
  background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-via) 50%, var(--hero-to) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 20px;
  border-radius: var(--radius);
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.email-signup::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.email-signup h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  font-weight: 800;
  position: relative;
}
.email-signup p {
  opacity: 0.9;
  margin-bottom: 28px;
  position: relative;
}
.signup-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}
.signup-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  background: rgba(255,255,255,0.95);
  color: #0f172a;
  transition: border-color 0.2s;
}
.signup-form input[type="email"]:focus {
  border-color: rgba(255,255,255,0.6);
}
.signup-form button {
  padding: 14px 28px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(22,163,74,0.3);
}
.signup-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22,163,74,0.4);
}
.signup-success {
  display: none;
  background: var(--signup-success-bg);
  color: var(--signup-success-text);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  max-width: 500px;
  margin: 14px auto 0;
  position: relative;
}

/* ---- FAQ ---- */
.faq-section {
  background: var(--faq-bg);
  padding: 56px 0;
  border-top: 1px solid var(--border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.faq-answer {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- SMOOTH ACCORDION ---- */
.accordion-content {
  height: 0;
  overflow: hidden;
  transition: height 0.35s cubic-bezier(0.16,1,0.3,1);
}
.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  border: none;
  background: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.accordion-trigger::after {
  content: '+';
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}
.accordion-open .accordion-trigger::after {
  transform: rotate(45deg);
}
.accordion-inner {
  padding: 0 0 20px;
}

/* ---- RELATED OFFERS ---- */
.related-section { padding: 56px 0; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 56px 0 28px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--footer-text);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  text-align: center;
  font-size: 0.8rem;
  color: #475569;
}
.footer-disclaimer {
  max-width: 640px;
  margin: 0 auto 14px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #475569;
}

/* ---- PAGE HEADER (category, ending soon, all) ---- */
.page-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-header p {
  color: var(--text-muted);
  margin-top: 6px;
  font-size: 1rem;
}

/* ---- STATIC PAGES (about, privacy, terms, contact) ---- */
.static-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 20px;
}
.static-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.static-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 36px 0 14px;
}
.static-page p {
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.8;
}
.static-page ul { margin: 0 0 16px 24px; }
.static-page li { margin-bottom: 10px; line-height: 1.7; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 14px 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* ---- ENDING SOON CARDS ---- */
.ending-soon-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ---- NO RESULTS ---- */
.no-results {
  text-align: center;
  padding: 64px 20px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ---- SOCIAL SHARE ---- */
.share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.share-bar span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}
.share-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.share-btn svg { width: 16px; height: 16px; fill: #fff; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #0f1419; }
[data-theme="dark"] .share-btn.twitter { background: #e2e8f0; }
[data-theme="dark"] .share-btn.twitter svg { fill: #0f1419; }
.share-btn.pinterest { background: #e60023; }
.share-btn.email-share { background: #64748b; }
.share-btn.copy-link { background: var(--primary); }

.share-bar-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0;
}
.share-bar-detail span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}
.share-bar-detail .share-btn {
  width: 42px;
  height: 42px;
}
.share-bar-detail .share-btn svg { width: 18px; height: 18px; }

.copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--surface);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9999;
  display: none;
  box-shadow: var(--shadow-lg);
}
.copy-toast.show { display: block; }

/* ---- TOAST NOTIFICATION ---- */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--card-bg);
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
  z-index: 9999;
  overflow: hidden;
}
.toast-notification.toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- MOBILE DRAWER NAV ---- */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--card-bg);
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  z-index: 1001;
  overflow-y: auto;
}
.drawer.drawer-open {
  transform: translateX(0);
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
  backdrop-filter: blur(4px);
}
.drawer-backdrop.drawer-backdrop-visible {
  opacity: 1;
  visibility: visible;
}

/* ---- BLOG ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.blog-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.blog-card h3 { margin-bottom: 10px; font-size: 1.15rem; line-height: 1.3; }
.blog-card h3 a { color: var(--text); transition: color 0.2s; }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 14px; line-height: 1.6; }
.blog-card .blog-date { font-size: 0.8rem; color: var(--text-muted); }
.blog-content { max-width: 720px; margin: 0 auto; padding: 56px 20px; }
.blog-content h1 { font-size: 2.25rem; font-weight: 800; margin-bottom: 10px; line-height: 1.2; letter-spacing: -0.02em; }
.blog-content .blog-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 36px; }
.blog-content h2 { font-size: 1.5rem; font-weight: 700; margin: 40px 0 14px; letter-spacing: -0.01em; }
.blog-content h3 { font-size: 1.2rem; font-weight: 600; margin: 28px 0 10px; }
.blog-content p { margin-bottom: 18px; line-height: 1.8; }
.blog-content ul, .blog-content ol { margin: 0 0 18px 24px; }
.blog-content li { margin-bottom: 10px; line-height: 1.7; }
.blog-content .cta-box {
  background: linear-gradient(135deg, var(--primary-light), var(--surface));
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}
.blog-content .cta-box h3 { margin: 0 0 10px; }
.blog-content .cta-box p { margin-bottom: 18px; }

/* Nav toggle bars */
.nav-toggle span { background: var(--text); }

/* ---- RESPONSIVE ---- */
@media (min-width: 768px) {
  .hero h1 { font-size: 3.25rem; }
  .hero p { font-size: 1.3rem; }
  .offer-detail-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open a { padding: 12px 14px; }
  .nav-toggle { display: block; }
  .signup-form { flex-direction: column; }
  .offer-detail-grid { grid-template-columns: 1fr; }
  .stats-bar { gap: 24px; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 16px 56px; }
  .hero h1 { font-size: 2rem; }
  .offers-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 16px; }
  .stats-bar { gap: 16px; }
  .stat-number { font-size: 1.25rem; }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
  .stagger-item { opacity: 1; transform: none; }
  .hero { animation: none; background-size: 100% 100%; }
}

/* ---- DAILY DASHBOARD ---- */
.dashboard-hero {
  background: linear-gradient(-45deg, #1d4ed8, #2563eb, #7c3aed, #2563eb);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #fff;
  padding: 48px 0 32px;
  text-align: center;
}
.dashboard-hero h1 { font-size: 2rem; margin-bottom: 8px; }
.dashboard-hero p { opacity: 0.85; font-size: 1.1rem; }

.dashboard-page { padding: 32px 0; }

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 640px) {
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
}

.dashboard-section { margin-bottom: 40px; }
.dashboard-section .section-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.badge-count {
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
@media (max-width: 400px) {
  .dashboard-grid { grid-template-columns: 1fr; }
}

.dash-card {
  display: flex;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.dash-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}
.dash-card.card-urgent {
  border-color: var(--danger);
  border-width: 2px;
}

.dash-card-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.dash-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-card-info { flex: 1; min-width: 0; }
.dash-card-brand {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.dash-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}
.dash-card-title a {
  color: var(--text);
  text-decoration: none;
}
.dash-card-title a:hover { color: var(--primary); }

.dash-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.dash-prize { color: var(--cta); font-weight: 700; }
.dash-expires { color: var(--danger); font-weight: 600; }

.dash-card-actions { display: flex; gap: 8px; }

.btn-dash-enter {
  background: var(--cta);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-dash-enter:hover { background: var(--cta-dark); }

.btn-dash-view {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.btn-dash-view:hover { border-color: var(--primary); color: var(--primary); }

.dash-entered-badge {
  background: rgba(22, 163, 74, 0.1);
  color: var(--cta);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.dashboard-empty {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  background: var(--surface);
  border-radius: 12px;
}

.dashboard-onboarding {
  display: none;
  text-align: center;
  padding: 48px 24px;
  background: var(--card-bg);
  border: 2px dashed var(--border);
  border-radius: 16px;
  margin: 32px 0;
}
.dashboard-onboarding h2 { margin-bottom: 12px; }
.dashboard-onboarding ol {
  text-align: left;
  max-width: 400px;
  margin: 16px auto 24px;
}
.dashboard-onboarding li { margin-bottom: 8px; }

/* ---- PRICING GRID (For Brands) ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 24px 0 32px;
}
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.pricing-popular {
  border-color: var(--primary);
  border-width: 2px;
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 16px 0;
}
.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  text-align: left;
}
.pricing-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.pricing-card li:last-child { border-bottom: none; }

/* ---- PRINT ---- */
@media print {
  .site-header, .site-footer, .email-signup, .ad-slot, .theme-toggle { display: none; }
}
