/* ───────── RESET & BASE ───────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #f3f4f6;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.5;
}

/* ───────── PAGE BACKGROUND PATTERN ───────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ctext x='10' y='30' font-size='18' opacity='0.045' fill='%23e02020'%3E%25%3C/text%3E%3Ctext x='45' y='65' font-size='14' opacity='0.035' fill='%23e02020'%3E🏷%3C/text%3E%3Ctext x='5' y='68' font-size='12' opacity='0.03' fill='%23374151'%3E$%3C/text%3E%3Ctext x='58' y='22' font-size='11' opacity='0.03' fill='%23374151'%3E★%3C/text%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ───────── VARIABLES ───────── */
:root {
  --red:    #e02020;
  --red-d:  #b91c1c;
  --red-l:  #fef2f2;
  --gray:   #6b7280;
  --gray-l: #f9fafb;
  --border: #e5e7eb;
  --shadow: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --radius: 10px;
}

/* ───────── CONTAINER ───────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ───────── HERO DECORATIONS ───────── */
.hero-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }

.deco-tag {
  position: absolute;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .5px;
  padding: 5px 11px; border-radius: 20px;
  opacity: .18;
  animation: floatDeco 6s ease-in-out infinite;
}
.deco-tag.d1 { top: 12%;  left: 5%;   animation-delay: 0s;    animation-duration: 7s; }
.deco-tag.d2 { top: 55%;  left: 2%;   animation-delay: 1.5s;  animation-duration: 6s; font-size: 13px; }
.deco-tag.d3 { top: 80%;  left: 10%;  animation-delay: 3s;    animation-duration: 8s; background: #10b981; }
.deco-tag.d4 { top: 20%;  right: 4%;  animation-delay: .8s;   animation-duration: 7s; }
.deco-tag.d5 { top: 70%;  right: 6%;  animation-delay: 2.2s;  animation-duration: 6s; }

.deco-coin {
  position: absolute;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 2px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: rgba(255,255,255,.15);
  animation: floatDeco 5s ease-in-out infinite;
}
.deco-coin.c1 { top: 35%; left: 8%;   animation-delay: 0.5s;  animation-duration: 9s; }
.deco-coin.c2 { top: 65%; right: 12%; animation-delay: 2s;    animation-duration: 7s; width: 28px; height: 28px; font-size: 13px; }
.deco-coin.c3 { top: 15%; right: 14%; animation-delay: 3.5s;  animation-duration: 8s; font-size: 18px; background: transparent; border-color: transparent; }

@keyframes floatDeco {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-10px) rotate(3deg); }
  66%       { transform: translateY(5px) rotate(-2deg); }
}

/* ───────── BUTTONS ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px; font-size: 13px;
  font-weight: 600; cursor: pointer; border: none; transition: all .2s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-d); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--border); color: #374151; background: #fff; }
.btn-outline:hover { border-color: var(--red); color: var(--red); background: var(--red-l); }
.btn-lg { padding: 12px 24px; font-size: 15px; border-radius: 10px; }

/* ───────── TOP BAR ───────── */
.topbar {
  background: #1f2937; color: #d1d5db;
  font-size: 12px; padding: 6px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-links { display: flex; gap: 16px; }
.topbar-links a { color: #9ca3af; }
.topbar-links a:hover { color: #fff; }
.topbar .fa-fire { color: var(--red); margin-right: 4px; }

/* ───────── HEADER ───────── */
.header { background: #fff; border-bottom: 1px solid var(--border); padding: 14px 0; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 20px; }

.logo {
  font-size: 22px; font-weight: 800; color: #1f2937;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.logo span { color: var(--red); }
.logo-icon {
  background: var(--red); color: #fff;
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.logo-white { color: #fff; }
.logo-white .logo-icon { background: rgba(255,255,255,.2); }

.search-bar {
  flex: 1; display: flex; border: 2px solid var(--border);
  border-radius: 10px; overflow: hidden; transition: border-color .2s;
}
.search-bar:focus-within { border-color: var(--red); }
.search-select {
  border: none; border-right: 1px solid var(--border);
  padding: 0 12px; font-size: 12px; color: var(--gray);
  background: #f9fafb; outline: none; font-family: inherit;
}
.search-bar input {
  flex: 1; border: none; padding: 10px 14px;
  font-size: 14px; outline: none; font-family: inherit;
}
.btn-search {
  background: var(--red); color: #fff; border: none;
  padding: 0 18px; cursor: pointer; font-size: 15px; transition: background .2s;
}
.btn-search:hover { background: var(--red-d); }

.header-actions { display: flex; gap: 8px; white-space: nowrap; }

/* ───────── NAV ───────── */
.nav { background: #fff; border-bottom: 1px solid var(--border); }
.nav-inner {
  display: flex; gap: 2px; overflow-x: auto; padding: 0;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-link {
  padding: 12px 14px; font-size: 13px; font-weight: 500;
  color: #374151; white-space: nowrap; border-bottom: 3px solid transparent;
  transition: all .2s; display: flex; align-items: center; gap: 5px;
}
.nav-link:hover, .nav-link.active {
  color: var(--red); border-bottom-color: var(--red);
  background: var(--red-l);
}

/* ───────── HERO ───────── */
.hero {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: #fff; padding: 60px 0;
  position: relative; overflow: hidden;
}

/* scattered deal bubbles in hero bg */
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(circle, rgba(224,32,32,.18) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px, 96px 96px;
  background-position: 0 0, 24px 24px;
}
.hero::after {
  content: '% OFF  🏷️  SALE  💰  DEAL  🔥  % OFF  🏷️  SALE  💰  DEAL  🔥  % OFF  🏷️  SALE  💰  DEAL  🔥';
  position: absolute; bottom: 14px; left: 0; right: 0;
  font-size: 11px; font-weight: 700; letter-spacing: 6px;
  color: rgba(255,255,255,.07); white-space: nowrap;
  overflow: hidden; pointer-events: none;
  text-transform: uppercase;
}
.hero .container, .hero .hero-inner { position: relative; z-index: 1; }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-text h1 { font-size: 42px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero-text p { color: #9ca3af; font-size: 16px; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; }
.stat span { font-size: 24px; font-weight: 800; color: var(--red); display: block; }
.stat small { color: #9ca3af; font-size: 12px; }

.hero-card-stack { position: relative; height: 280px; }
.hero-deal-card {
  position: absolute; background: #fff; border-radius: 14px;
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.3); width: 280px;
  transition: transform .3s;
}
.hero-deal-card:hover { transform: scale(1.03); }
.hero-deal-card:nth-child(1) { top: 0; left: 0; z-index: 3; }
.hero-deal-card.c2 { top: 80px; left: 60px; z-index: 2; }
.hero-deal-card.c3 { top: 160px; left: 30px; z-index: 1; }
.hdc-badge {
  position: absolute; top: -8px; right: -8px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 20px;
}
.hdc-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--red-l); display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--red); flex-shrink: 0;
}
.hdc-info strong { display: block; font-size: 13px; color: #1f2937; margin-bottom: 4px; }
.hdc-price { font-size: 15px; font-weight: 700; color: var(--red); }
.hdc-price del { color: #9ca3af; font-weight: 400; font-size: 12px; margin-left: 4px; }

/* ───────── DEAL STRIP BETWEEN NAV & HERO ───────── */
.deal-strip {
  background: var(--red);
  overflow: hidden; white-space: nowrap;
  padding: 7px 0; font-size: 12px; font-weight: 700;
  color: #fff; letter-spacing: 1px;
}
.deal-strip-inner {
  display: inline-block;
  animation: marquee 60s linear infinite;
  padding-left: 100%;
}
.deal-strip-inner span {
  margin: 0 24px; opacity: .9;
}
.deal-strip-inner span i { margin-right: 5px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ───────── CATEGORIES ───────── */
.categories { background: #fff; padding: 24px 0; border-bottom: 1px solid var(--border); }
.cat-grid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px;
}
.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 8px; border-radius: var(--radius); border: 1px solid var(--border);
  transition: all .2s; cursor: pointer;
}
.cat-card:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.cat-card span { font-size: 12px; font-weight: 600; color: #374151; }

/* ───────── MAIN GRID ───────── */
.main-content { padding: 28px 0; }
.main-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }

/* ───────── FILTER BAR ───────── */
.filter-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 16px; margin-bottom: 16px;
}
.filter-tabs { display: flex; gap: 4px; }
.ftab {
  padding: 6px 14px; border-radius: 20px; border: none;
  background: transparent; font-size: 13px; font-weight: 500;
  color: var(--gray); cursor: pointer; transition: all .2s;
  display: flex; align-items: center; gap: 5px;
}
.ftab:hover { background: var(--red-l); color: var(--red); }
.ftab.active { background: var(--red); color: #fff; }
.sort-select {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 10px; font-size: 13px; outline: none;
  color: #374151; font-family: inherit;
}

/* ───────── DEAL CARD ───────── */
.deal-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; display: flex; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.deal-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

.deal-vote {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 14px; background: var(--gray-l); border-right: 1px solid var(--border);
  min-width: 64px; gap: 4px;
}
.vote-btn {
  background: none; border: none; cursor: pointer; font-size: 18px;
  color: #9ca3af; transition: all .2s; padding: 4px;
}
.vote-btn:hover { color: var(--red); transform: scale(1.2); }
.vote-btn.voted-up { color: var(--red); }
.vote-btn.voted-down { color: #3b82f6; }
.vote-count { font-size: 16px; font-weight: 700; color: #1f2937; }
.vote-count.hot { color: var(--red); }
.deal-temp { font-size: 10px; font-weight: 600; color: var(--gray); }

.deal-thumb {
  width: 120px; flex-shrink: 0; background: #f9fafb;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--border); cursor: pointer;
}
.deal-thumb .thumb-icon { font-size: 36px; }

.deal-body { flex: 1; padding: 16px 20px; }
.deal-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.deal-badge {
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .5px;
}
.badge-hot { background: #fee2e2; color: var(--red); }
.badge-new { background: #d1fae5; color: #065f46; }
.badge-freebie { background: #ede9fe; color: #5b21b6; }
.badge-verified { background: #dbeafe; color: #1d4ed8; }
.deal-store { font-size: 12px; color: var(--gray); font-weight: 500; }
.deal-time { font-size: 11px; color: #9ca3af; margin-left: auto; }

.deal-title {
  font-size: 15px; font-weight: 600; color: #111827; margin-bottom: 8px;
  cursor: pointer; line-height: 1.4;
}
.deal-title:hover { color: var(--red); }

.deal-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.deal-price { font-size: 22px; font-weight: 800; color: var(--red); }
.deal-original { font-size: 14px; color: #9ca3af; text-decoration: line-through; }
.deal-savings {
  font-size: 11px; font-weight: 700; background: #d1fae5; color: #065f46;
  padding: 2px 8px; border-radius: 20px;
}

.deal-desc { font-size: 13px; color: #6b7280; margin-bottom: 12px; line-height: 1.5; }

.deal-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.deal-btn-get {
  background: var(--red); color: #fff; border: none;
  padding: 8px 20px; border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s; display: flex; align-items: center; gap: 6px;
}
.deal-btn-get:hover { background: var(--red-d); transform: translateY(-1px); }
.deal-btn-save {
  background: none; border: 1px solid var(--border); color: #374151;
  padding: 8px 14px; border-radius: 8px; font-size: 12px; font-weight: 500;
  cursor: pointer; transition: all .2s; display: flex; align-items: center; gap: 5px;
}
.deal-btn-save:hover { border-color: var(--red); color: var(--red); background: var(--red-l); }
.deal-comments { font-size: 12px; color: var(--gray); display: flex; align-items: center; gap: 4px; margin-left: auto; }

/* ───────── SIDEBAR WIDGETS ───────── */
.sidebar { position: sticky; top: 80px; }
.widget {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; margin-bottom: 18px;
}
.widget-title {
  font-size: 14px; font-weight: 700; color: #111827;
  margin-bottom: 14px; display: flex; align-items: center; gap: 7px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.widget-title .fa { color: var(--red); }

.trend-list { display: flex; flex-direction: column; gap: 2px; }
.trend-list li {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px; border-radius: 6px; transition: background .2s;
}
.trend-list li:hover { background: var(--gray-l); }
.trend-rank {
  width: 22px; height: 22px; border-radius: 50%; background: var(--gray-l);
  font-size: 11px; font-weight: 700; color: var(--gray);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trend-list li:nth-child(1) .trend-rank { background: #fef3c7; color: #92400e; }
.trend-list li:nth-child(2) .trend-rank { background: #f3f4f6; color: #374151; }
.trend-list li:nth-child(3) .trend-rank { background: #fee2e2; color: var(--red); }
.trend-list a { font-size: 13px; color: #374151; flex: 1; font-weight: 500; }
.trend-list a:hover { color: var(--red); }
.trend-badge {
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 10px;
}
.trend-badge.hot { background: #fee2e2; color: var(--red); }
.trend-badge.new { background: #d1fae5; color: #065f46; }

.store-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.store-badge {
  padding: 5px 10px; border: 1px solid var(--border); border-radius: 20px;
  font-size: 12px; font-weight: 500; color: #374151; transition: all .2s;
}
.store-badge:hover { border-color: var(--red); color: var(--red); background: var(--red-l); }

.widget-cta { background: linear-gradient(135deg, #1f2937, #111827); color: #fff; text-align: center; }
.widget-cta .widget-title { color: #fff; border-bottom-color: rgba(255,255,255,.1); }
.cta-icon { font-size: 28px; color: var(--red); margin-bottom: 8px; }
.widget-cta h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.widget-cta p { font-size: 12px; color: #9ca3af; margin-bottom: 14px; }
.cta-input {
  width: 100%; padding: 9px 12px; border-radius: 8px; border: none;
  font-size: 13px; outline: none; font-family: inherit;
}

/* ───────── SECTION HEADER ───────── */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.section-header h2 { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.section-header h2 .fa { color: var(--red); }
.see-all { font-size: 13px; font-weight: 600; color: var(--red); display: flex; align-items: center; gap: 4px; }
.see-all:hover { text-decoration: underline; }

/* ───────── COUPONS ───────── */
.coupons-section { padding: 40px 0; background: #fff; border-top: 1px solid var(--border); }
.coupons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.coupon-card {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 20px; text-align: center; transition: all .2s; cursor: pointer;
  background: var(--gray-l);
}
.coupon-card:hover { border-color: var(--red); background: var(--red-l); transform: translateY(-2px); }
.coupon-store { font-size: 12px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.coupon-title { font-size: 14px; font-weight: 600; color: #111827; margin-bottom: 10px; }
.coupon-code {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1.5px dashed var(--red); color: var(--red);
  font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 6px;
  letter-spacing: 1px; margin-bottom: 10px;
}
.coupon-exp { font-size: 11px; color: #9ca3af; }
.coupon-used { font-size: 11px; color: #10b981; font-weight: 500; }

/* ───────── STORES SECTION ───────── */
.stores-section { padding: 40px 0; }
.stores-banner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.store-banner {
  border-radius: var(--radius); padding: 24px 16px; text-align: center;
  background: #fff; border: 1px solid var(--border); cursor: pointer;
  transition: all .2s; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.store-banner:hover {
  border-color: var(--c); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.store-banner i { font-size: 28px; color: var(--c); }
.store-banner strong { font-size: 14px; color: #111827; }
.store-banner span { font-size: 11px; color: var(--gray); }

/* ───────── NEWSLETTER ───────── */
.newsletter {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-d) 100%);
  padding: 48px 0; color: #fff;
}
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.newsletter h2 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.newsletter p { color: rgba(255,255,255,.8); }
.newsletter-form { display: flex; gap: 10px; flex-shrink: 0; }
.newsletter-form input {
  padding: 12px 18px; border-radius: 10px; border: none;
  font-size: 14px; width: 280px; outline: none; font-family: inherit;
}
.newsletter-form .btn-primary { background: #1f2937; }
.newsletter-form .btn-primary:hover { background: #111827; }

/* ───────── FOOTER ───────── */
.footer { background: #111827; color: #9ca3af; padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin: 12px 0 16px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af; transition: all .2s; font-size: 14px;
}
.social-links a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: #9ca3af; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0;
  font-size: 12px; color: #6b7280;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; }

/* ───────── MODAL ───────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: 16px; max-width: 600px; width: 100%;
  max-height: 90vh; overflow-y: auto; padding: 30px; position: relative;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--gray-l); border: none; border-radius: 50%;
  width: 32px; height: 32px; cursor: pointer; font-size: 14px; color: var(--gray);
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.modal-close:hover { background: var(--red-l); color: var(--red); }

/* ───────── EMPTY STATE ───────── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }
.empty-state i { font-size: 48px; color: #d1d5db; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; color: #374151; margin-bottom: 8px; }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1024px) {
  .main-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .coupons-grid { grid-template-columns: repeat(2, 1fr); }
  .stores-banner-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .hero-text h1 { font-size: 28px; }
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .search-bar { order: 3; width: 100%; flex: unset; }
  .header-actions .btn-outline { display: none; }
  .topbar-links { display: none; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .deal-thumb { display: none; }
  .stores-banner-grid { grid-template-columns: repeat(2, 1fr); }
  .coupons-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 20px; }
  .deal-card { flex-direction: column; }
  .deal-vote { flex-direction: row; border-right: none; border-bottom: 1px solid var(--border); min-width: unset; padding: 10px 16px; }
  .coupons-grid { grid-template-columns: 1fr; }
  .stores-banner-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ───────── ANIMATIONS ───────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.deal-card { animation: fadeInUp .3s ease both; }
.deal-card:nth-child(2) { animation-delay: .05s; }
.deal-card:nth-child(3) { animation-delay: .1s; }
.deal-card:nth-child(4) { animation-delay: .15s; }
.deal-card:nth-child(5) { animation-delay: .2s; }
