/* PromoDeals - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --primary: #FF3366;
  --primary-dark: #CC1144;
  --secondary: #FFB800;
  --accent: #00D4AA;
  --dark: #0A0A1A;
  --dark-2: #111128;
  --dark-3: #1A1A35;
  --card-bg: #16162E;
  --text: #F0F0FF;
  --text-muted: #8888AA;
  --border: rgba(255,255,255,0.08);
  --gradient-1: linear-gradient(135deg, #FF3366, #FF6B35);
  --gradient-2: linear-gradient(135deg, #00D4AA, #0099CC);
  --gradient-hero: linear-gradient(135deg, #0A0A1A 0%, #1A0A2E 50%, #0A1A2E 100%);
  --shadow: 0 20px 60px rgba(0,0,0,0.4);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(10, 10, 26, 0.98);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.nav-logo .logo-icon {
  width: 40px; height: 40px;
  background: var(--gradient-1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--border);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 51, 102, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 51, 102, 0.5);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover { color: var(--text); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.hero-shape-1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -200px; right: -100px;
}

.hero-shape-2 {
  width: 400px; height: 400px;
  background: var(--accent);
  bottom: -100px; left: -100px;
}

.hero-shape-3 {
  width: 300px; height: 300px;
  background: var(--secondary);
  top: 50%; left: 40%;
}

/* Floating dots */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 51, 102, 0.15);
  border: 1px solid rgba(255, 51, 102, 0.3);
  color: #FF6B8A;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 32px;
  animation: fadeInDown 0.6s ease forwards;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease forwards;
  opacity: 0;
  animation-delay: 0.1s;
}

.hero h1 .highlight {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p.subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.7s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.hero-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 8px 8px 28px;
  max-width: 600px;
  margin: 0 auto 48px;
  animation: fadeInUp 0.7s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
  backdrop-filter: blur(10px);
}

.hero-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  padding-right: 16px;
}

.hero-search input::placeholder { color: var(--text-muted); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  animation: fadeInUp 0.7s ease forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label { font-size: 13px; color: var(--text-muted); }

/* ===== SECTION STYLES ===== */
.section { padding: 80px 0; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-label::before, .section-label::after {
  content: '';
  width: 30px; height: 2px;
  background: var(--primary);
  opacity: 0.5;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== CATEGORIES GRID ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cat-color, var(--primary));
  opacity: 0;
  transition: var(--transition);
}

.category-card:hover::before { opacity: 0.08; }

.category-card:hover {
  border-color: var(--cat-color, var(--primary));
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.category-emoji {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
  transition: var(--transition);
}

.category-card:hover .category-emoji { transform: scale(1.1); }

.category-name {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.category-count {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== PROMO CARDS ===== */
.promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.promo-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 51, 102, 0.3);
}

.promo-card.featured {
  border-color: var(--secondary);
  box-shadow: 0 0 30px rgba(255, 184, 0, 0.15);
}

.promo-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-featured { background: var(--secondary); color: #000; }
.badge-new { background: var(--accent); color: #000; }
.badge-expiring { background: var(--primary); color: white; }

.promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
}

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

.promo-body { padding: 20px; }

.promo-store {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.store-logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  overflow: hidden;
}

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

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

.store-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-category {
  font-size: 11px;
  color: var(--primary);
}

.promo-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.promo-description {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-discount {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 51, 102, 0.15);
  color: var(--primary);
  border: 1px solid rgba(255, 51, 102, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.promo-code-box {
  background: var(--dark-3);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.promo-code-box:hover {
  border-color: var(--primary);
  background: rgba(255, 51, 102, 0.05);
}

.code-text {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--secondary);
}

.copy-btn {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.promo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.promo-expiry { display: flex; align-items: center; gap: 4px; }

/* ===== SUBSCRIBE SECTION ===== */
.subscribe-section {
  background: linear-gradient(135deg, rgba(255,51,102,0.1), rgba(0,212,170,0.05));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.subscribe-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,51,102,0.05) 0%, transparent 60%);
}

.subscribe-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 32px auto 0;
}

.subscribe-form input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.subscribe-form input:focus { border-color: var(--primary); }
.subscribe-form input::placeholder { color: var(--text-muted); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-label .required { color: var(--primary); margin-left: 4px; }

.form-control {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus { border-color: var(--primary); background: rgba(255,51,102,0.05); }
.form-control::placeholder { color: var(--text-muted); }

.form-control.error { border-color: var(--primary); }

.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

textarea.form-control { min-height: 120px; resize: vertical; }

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

.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.upload-area:hover { border-color: var(--primary); background: rgba(255,51,102,0.03); }
.upload-area input[type="file"] { display: none; }

.upload-icon { font-size: 36px; margin-bottom: 12px; }
.upload-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.upload-hint { font-size: 12px; color: var(--text-muted); }

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  padding: 40px 24px;
  position: relative;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
}

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

.auth-logo {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
}

.auth-logo span { color: var(--primary); }

.auth-header h2 { font-size: 24px; margin-bottom: 8px; }
.auth-header p { color: var(--text-muted); font-size: 14px; }

.auth-divider {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin: 20px 0;
  position: relative;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%; width: calc(50% - 30px);
  height: 1px;
  background: var(--border);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.auth-footer a { color: var(--primary); font-weight: 600; }

/* ===== FLASH MESSAGES ===== */
.flash {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.flash-success { background: rgba(0,212,170,0.15); border: 1px solid rgba(0,212,170,0.3); color: var(--accent); }
.flash-error { background: rgba(255,51,102,0.15); border: 1px solid rgba(255,51,102,0.3); color: #FF6B8A; }
.flash-warning { background: rgba(255,184,0,0.15); border: 1px solid rgba(255,184,0,0.3); color: var(--secondary); }
.flash-info { background: rgba(69,183,209,0.15); border: 1px solid rgba(69,183,209,0.3); color: #45B7D1; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-btn {
  width: 36px; height: 36px;
  background: var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}

.social-btn:hover { background: var(--primary); }

.footer-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== ADMIN DASHBOARD ===== */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--dark);
}

.admin-sidebar {
  width: 260px;
  background: var(--dark-2);
  border-right: 1px solid var(--border);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.sidebar-logo span { color: var(--primary); }

.sidebar-nav { padding: 16px 12px; }

.sidebar-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 8px;
  margin: 24px 0 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  margin-bottom: 2px;
}

.sidebar-link:hover {
  background: var(--border);
  color: var(--text);
}

.sidebar-link.active {
  background: rgba(255, 51, 102, 0.15);
  color: var(--primary);
}

.sidebar-link .icon { font-size: 18px; width: 20px; }

.sidebar-badge {
  margin-left: auto;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}

.admin-main {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
}

.admin-topbar {
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-topbar h1 {
  font-size: 20px;
  font-weight: 700;
}

.admin-content { padding: 32px; }

/* Admin Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: var(--stat-color, var(--primary));
  opacity: 0.1;
  border-radius: 0 0 0 80px;
}

.stat-card-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.stat-card-value {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--stat-color, var(--primary));
  margin-bottom: 4px;
}

.stat-card-label {
  font-size: 13px;
  color: var(--text-muted);
}

.stat-card-change {
  font-size: 12px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Admin Table */
.admin-table-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.admin-table-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.admin-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-pending { color: var(--secondary); background: rgba(255,184,0,0.15); }
.status-approved { color: var(--accent); background: rgba(0,212,170,0.15); }
.status-rejected { color: var(--primary); background: rgba(255,51,102,0.15); }
.status-suspended { color: var(--text-muted); background: rgba(136,136,170,0.15); }

/* ===== MERCHANT DASHBOARD ===== */
.merchant-layout { display: flex; min-height: 100vh; }
.merchant-sidebar {
  width: 260px;
  background: var(--dark-2);
  border-right: 1px solid var(--border);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
}

.merchant-main { flex: 1; margin-left: 260px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.animate-float { animation: float 3s ease-in-out infinite; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .admin-sidebar, .merchant-sidebar { width: 220px; }
  .admin-main, .merchant-main { margin-left: 220px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-outline { display: none; }
  .hero-stats { gap: 24px; }
  .subscribe-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .admin-sidebar, .merchant-sidebar { transform: translateX(-100%); }
  .admin-main, .merchant-main { margin-left: 0; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .promos-grid { grid-template-columns: 1fr; }
}

/* ===== UTILITIES ===== */
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.w-full { width: 100%; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--dark-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Copy toast */
.copy-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--accent);
  color: #000;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transition: transform 0.3s ease;
}

.copy-toast.show { transform: translateX(-50%) translateY(0); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.page-btn:hover, .page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Countdown timer */
.countdown {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--primary);
}

.countdown-item {
  background: rgba(255,51,102,0.1);
  border: 1px solid rgba(255,51,102,0.2);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
}
