/* ============================================================
   SlashJoy - Public CSS (Complete Styles)
   File: /assets/css/public.css
   Design: "Editorial Joy" - Coral + Eggplant + Cream + Yellow + Mint
   ============================================================ */

:root {
  --cream: #FBF6EE;
  --cream-2: #F5EFE3;
  --coral: #FF5E3A;
  --coral-soft: #FFE8E0;
  --coral-dark: #E54A2A;
  --eggplant: #1B1340;
  --eggplant-soft: #2D1F5E;
  --yellow: #FFD60A;
  --yellow-soft: #FFF4B0;
  --mint: #A8E6CF;
  --mint-soft: #DEF5EA;
  --ink: #0F0F0F;
  --ink-soft: #4A4458;
  --ink-mute: #8A8295;
  --red: #E54A2A;
  --red-soft: #FFE3DC;
  --line: rgba(27, 19, 64, 0.10);
  --line-strong: rgba(27, 19, 64, 0.22);
  --radius: 16px;
  --radius-sm: 10px;
  --display: 'Bricolage Grotesque', serif;
  --body: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at top right, rgba(255, 94, 58, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(168, 230, 207, 0.10), transparent 50%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--eggplant);
}

.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--coral);
  display: inline-block;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 0;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  color: var(--eggplant);
}
.logo .slash {
  color: var(--coral);
  font-size: 1.9rem;
  transform: skewX(-8deg);
  display: inline-block;
  margin: 0 -2px;
}
.nav-search { flex: 1; max-width: 480px; position: relative; }
.nav-search form { margin: 0; }
.nav-search input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--cream-2);
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: all 0.2s;
}
.nav-search input:focus {
  outline: none;
  border-color: var(--coral);
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 94, 58, 0.12);
}
.nav-search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  z-index: 1;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--coral); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.18s ease-out;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--coral);
  color: white;
  border: 1.5px solid var(--eggplant);
  box-shadow: 0 3px 0 0 var(--eggplant);
}
.btn-primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 0 4px 0 0 var(--eggplant);
  background: var(--coral-dark);
}
.btn-primary:active {
  transform: translate(0, 1px);
  box-shadow: 0 1px 0 0 var(--eggplant);
}
.btn-dark {
  background: var(--eggplant);
  color: var(--cream);
  border: 1.5px solid var(--eggplant);
}
.btn-dark:hover { background: var(--eggplant-soft); }
.btn-ghost {
  border: 1.5px solid var(--line-strong);
  color: var(--eggplant);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--eggplant); background: var(--cream-2); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* ============================================================
   HOMEPAGE - HERO
   ============================================================ */
.hero { padding: 60px 0 80px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral-soft);
  color: var(--coral);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1.5px solid var(--coral);
}
.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--eggplant);
}
.hero h1 .accent {
  color: var(--coral);
  font-style: italic;
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: -4px;
  right: -4px;
  height: 18px;
  background: var(--yellow);
  z-index: -1;
  transform: skewX(-8deg);
  border-radius: 2px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.55;
}
.hero-search {
  display: flex;
  background: white;
  border: 2px solid var(--eggplant);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 6px 6px 0 0 var(--eggplant);
  max-width: 520px;
  margin-bottom: 32px;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
}
.hero-search:focus-within {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 0 var(--eggplant);
}
.hero-search .search-ico { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.hero-search input {
  flex: 1;
  border: none;
  padding: 14px 16px 14px 44px;
  font-family: var(--body);
  font-size: 1rem;
  background: transparent;
  color: var(--ink);
}
.hero-search input:focus { outline: none; }
.hero-search button {
  background: var(--coral);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-search button:hover { background: var(--coral-dark); }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-stats .stat .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--eggplant);
  letter-spacing: -0.03em;
}
.hero-stats .stat .label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Hero visual - tilted deal cards */
.hero-visual {
  position: relative;
  height: 460px;
}
.deal-stack {
  position: absolute;
  width: 280px;
  background: white;
  border: 2px solid var(--eggplant);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 6px 6px 0 0 var(--eggplant);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: inherit;
}
.deal-stack:hover {
  transform: rotate(0deg) translate(-3px, -3px) !important;
  box-shadow: 9px 9px 0 0 var(--eggplant) !important;
  z-index: 10 !important;
}
.deal-stack .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.deal-stack .brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--eggplant);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
}
.deal-stack .brand-name { font-weight: 700; font-size: 0.92rem; }
.deal-stack .deal-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--eggplant);
}
.deal-stack .code-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  border: 1.5px dashed var(--eggplant);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--eggplant);
}

/* ============================================================
   TRUST BAR (marquee)
   ============================================================ */
.trust-bar {
  background: var(--eggplant);
  color: var(--cream);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.trust-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-size: 0.92rem;
  font-weight: 500;
}
.trust-track .dot { color: var(--coral); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 70px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 32px;
  gap: 40px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-top: 10px;
}
.section-head p {
  max-width: 380px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.view-all {
  font-weight: 600;
  color: var(--coral);
  font-size: 0.95rem;
}
.view-all:hover { text-decoration: underline; }

/* ============================================================
   CATEGORIES GRID
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  background: white;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}
.cat-card:hover {
  border-color: var(--eggplant);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--eggplant);
}
.cat-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.cat-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.cat-card .count {
  font-size: 0.8rem;
  color: var(--ink-mute);
  font-weight: 500;
}
.cat-card .arrow {
  position: absolute;
  top: 28px;
  right: 22px;
  color: var(--coral);
  font-size: 1.3rem;
  font-weight: bold;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.2s;
}
.cat-card:hover .arrow { opacity: 1; transform: translateX(0); }

/* ============================================================
   TRENDING DEALS / DEAL CARDS
   ============================================================ */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.deal-card {
  background: white;
  border: 2px solid var(--eggplant);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 4px 4px 0 0 var(--eggplant);
  transition: transform 0.18s, box-shadow 0.18s;
}
.deal-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 0 var(--eggplant);
}
.deal-card .top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 16px;
}
.deal-card .brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.deal-card .brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--eggplant);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
}
.deal-card .brand-name { font-weight: 700; font-size: 0.92rem; }
.deal-card .badge {
  background: var(--coral);
  color: white;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.deal-card .badge.yellow { background: var(--yellow); color: var(--eggplant); }
.deal-card .badge.green { background: var(--mint); color: var(--eggplant); }
.deal-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  line-height: 1.25;
}
.deal-card .desc {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 16px;
  line-height: 1.5;
}
.deal-card .code-box {
  background: var(--cream);
  border: 1.5px dashed var(--eggplant);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 14px;
}
.deal-card .code-box:hover { background: var(--cream-2); }
.deal-card .code-box .code {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--eggplant);
  letter-spacing: 0.05em;
}
.deal-card .code-box .copy-btn {
  background: var(--eggplant);
  color: var(--cream);
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
}
.deal-card .code-box .copy-btn:hover { background: var(--coral); }
.deal-card .meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--ink-mute);
}
.deal-card .meta .verified {
  color: #2D9F65;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.deal-card .meta .verified::before {
  content: "✓";
  background: #2D9F65;
  color: white;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

/* ============================================================
   STORES GRID (homepage + similar stores)
   ============================================================ */
.stores-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.store-tile {
  background: white;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.store-tile:hover {
  border-color: var(--eggplant);
  transform: translateY(-3px);
  box-shadow: 0 6px 0 0 var(--eggplant);
}
.store-tile .logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--eggplant);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0 auto 12px;
}
.store-tile .name { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.store-tile .deals { font-size: 0.78rem; color: var(--ink-mute); }

.similar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--cream-2); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.step {
  background: white;
  border: 2px solid var(--eggplant);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  box-shadow: 4px 4px 0 0 var(--eggplant);
  transition: all 0.2s;
}
.step:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 var(--eggplant);
}
.step .num {
  position: absolute;
  top: -22px;
  left: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--eggplant);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  border: 2px solid var(--eggplant);
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; margin-top: 16px; }
.step p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter { padding: 70px 0 80px; }
.newsletter-card {
  background: var(--eggplant);
  color: var(--cream);
  border-radius: 24px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.newsletter-card::before {
  content: "✦";
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 120px;
  color: var(--coral);
  opacity: 0.18;
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.newsletter h2 {
  color: var(--cream);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 14px;
}
.newsletter p {
  color: rgba(251, 246, 238, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  background: var(--cream);
  border-radius: 999px;
  padding: 6px;
  margin-bottom: 14px;
}
.newsletter-form input {
  flex: 1;
  border: none;
  padding: 14px 20px;
  font-family: var(--body);
  font-size: 1rem;
  background: transparent;
  color: var(--ink);
}
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  background: var(--coral);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}
.newsletter-form button:hover { background: var(--coral-dark); }
.newsletter .small { font-size: 0.85rem; color: rgba(251, 246, 238, 0.6); }

/* ============================================================
   STORE PAGE
   ============================================================ */
.breadcrumb {
  padding: 24px 0 8px;
  font-size: 0.85rem;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--ink-soft); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--coral); }
.breadcrumb .sep { color: var(--ink-mute); }
.breadcrumb .current { color: var(--eggplant); font-weight: 600; }

.store-hero { padding: 20px 0 30px; }
.store-hero-card {
  background: white;
  border: 2px solid var(--eggplant);
  border-radius: 24px;
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: 6px 6px 0 0 var(--eggplant);
}
.store-logo-big {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: var(--coral);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.5rem;
  border: 2px solid var(--eggplant);
}
.store-info .badges {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg, var(--cream-2));
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.badge-pill.green { background: var(--mint); color: var(--eggplant); }
.badge-pill.yellow { background: var(--yellow); color: var(--eggplant); }
.store-info h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}
.store-info .desc {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.55;
}
.store-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.stat-mini {
  border-left: 2px solid var(--coral);
  padding-left: 12px;
}
.stat-mini .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--eggplant);
  line-height: 1;
}
.stat-mini .label {
  font-size: 0.72rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.store-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: end;
}
.store-cta .small-link {
  font-size: 0.75rem;
  color: var(--ink-mute);
  font-style: italic;
}

/* Filter bar */
.main-section { padding-top: 30px; }
.filter-bar {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}
.filter-tab:hover { background: var(--cream-2); }
.filter-tab.active { background: var(--eggplant); color: var(--cream); }
.filter-tab .count {
  margin-left: 6px;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.18);
  padding: 1px 7px;
  border-radius: 999px;
}
.filter-tab:not(.active) .count { background: var(--cream-2); color: var(--ink-mute); }
.filter-bar .sort {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-mute);
}
.filter-bar .sort select {
  padding: 6px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: white;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--eggplant);
  cursor: pointer;
}

/* Coupons grid + sidebar */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.coupons-list { display: flex; flex-direction: column; gap: 14px; }
.coupon-card {
  background: white;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 22px;
  align-items: center;
  transition: all 0.18s;
  position: relative;
  overflow: hidden;
}
.coupon-card:hover {
  border-color: var(--eggplant);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 19, 64, 0.06);
}
.coupon-card.featured {
  border-color: var(--coral);
  border-width: 2px;
  background: linear-gradient(135deg, #fff 0%, var(--coral-soft) 200%);
}
.coupon-card.featured::before {
  content: "★ FEATURED";
  position: absolute;
  top: 0;
  right: 0;
  background: var(--coral);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 14px 4px 18px;
  border-radius: 0 0 0 10px;
  letter-spacing: 0.08em;
}
.coupon-card .discount-badge {
  background: var(--yellow);
  border: 2px dashed var(--eggplant);
  border-radius: 14px;
  padding: 16px 8px;
  text-align: center;
  position: relative;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.coupon-card .discount-badge .value {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--eggplant);
  line-height: 1;
  letter-spacing: -0.04em;
}
.coupon-card .discount-badge .unit {
  font-size: 0.7rem;
  color: var(--eggplant);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.coupon-card .deal-card-info { min-width: 0; }
.coupon-card .type-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--mint-soft);
  color: var(--eggplant);
  margin-bottom: 8px;
}
.coupon-card .type-tag.code { background: var(--coral-soft); color: var(--coral); }
.coupon-card .type-tag.deal { background: var(--mint-soft); color: #1F7A55; }
.coupon-card .type-tag.cashback { background: var(--yellow-soft); color: #8A6500; }
.coupon-card .type-tag.bonus { background: rgba(27, 19, 64, 0.10); color: var(--eggplant); }
.coupon-card h3 { font-size: 1.15rem; margin-bottom: 8px; line-height: 1.3; }
.coupon-card .meta {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--ink-mute);
  flex-wrap: wrap;
}
.coupon-card .meta .verified { color: #2D9F65; font-weight: 600; }
.coupon-card .terms-toggle {
  cursor: pointer;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 8px;
}
.coupon-card .terms-content {
  display: none;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  padding: 10px 12px;
  background: var(--cream);
  border-radius: 8px;
}
.coupon-card.expanded .terms-content { display: block; }

.coupon-card .get-code-btn {
  background: white;
  border: 2px dashed var(--eggplant);
  border-radius: 14px;
  padding: 16px 22px;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 1rem;
  color: var(--eggplant);
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.coupon-card .get-code-btn:hover {
  background: var(--eggplant);
  color: var(--cream);
  border-style: solid;
  transform: scale(1.03);
}
.coupon-card .get-code-btn.deal-btn {
  background: var(--coral);
  color: white;
  border-color: var(--coral);
  border-style: solid;
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}
.coupon-card .get-code-btn.deal-btn:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
}
.coupon-card .get-code-btn .arrow { font-size: 1.2rem; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 84px; }
.side-card {
  background: white;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 22px;
}
.side-card h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--body);
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.side-card.about h4 { color: var(--coral); }
.side-card.about p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.info-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.info-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.info-list li:last-child { border-bottom: none; }
.info-list .label { color: var(--ink-mute); }
.info-list .value { color: var(--eggplant); font-weight: 600; }

.editor-card { background: var(--cream-2); border-color: var(--coral); }
.editor-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.editor-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
}
.editor-card .editor-info .name { font-weight: 700; font-size: 0.95rem; }
.editor-card .editor-info .role { font-size: 0.8rem; color: var(--ink-mute); }
.editor-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============================================================
   HOW TO USE SECTION
   ============================================================ */
.howto-section { background: var(--cream-2); padding: 70px 0; }
.howto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.howto-grid .lead {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 16px;
}
.howto-grid h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 10px; }
.howto-steps { display: flex; flex-direction: column; gap: 20px; }
.howto-step {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  align-items: start;
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  transition: all 0.2s;
}
.howto-step:hover { border-color: var(--coral); }
.howto-step .step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--eggplant);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  border: 2px solid var(--eggplant);
}
.howto-step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.howto-step p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.5; }

/* ============================================================
   MODAL (Coupon code reveal)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 19, 64, 0.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal {
  background: white;
  border: 2px solid var(--eggplant);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 8px 8px 0 0 var(--eggplant);
  position: relative;
  animation: modalIn 0.25s ease-out;
}
@keyframes modalIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal .close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--eggplant);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  border: none;
}
.modal .close:hover { background: var(--coral); color: white; }
.modal-store-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--eggplant);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  border: 2px solid var(--eggplant);
}
.modal h3 { font-size: 1.4rem; margin-bottom: 8px; }
.modal-sub {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.modal-code-box {
  background: var(--yellow);
  border: 2px dashed var(--eggplant);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.modal-code-box .code {
  font-family: 'Courier New', monospace;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--eggplant);
  letter-spacing: 0.1em;
}
.modal-code-box .copy {
  background: var(--eggplant);
  color: var(--cream);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
}
.modal-code-box .copy.copied { background: #2D9F65; }
.modal-cta {
  display: block;
  background: var(--coral);
  color: white;
  padding: 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--eggplant);
  box-shadow: 0 4px 0 0 var(--eggplant);
  text-decoration: none;
  margin-bottom: 16px;
  transition: all 0.15s;
}
.modal-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 0 5px 0 0 var(--eggplant);
  background: var(--coral-dark);
}
.modal-disclaimer {
  font-size: 0.78rem;
  color: var(--ink-mute);
  font-style: italic;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--eggplant);
  color: var(--cream);
  padding: 72px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: var(--cream); margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.92rem;
  color: rgba(251, 246, 238, 0.7);
  line-height: 1.65;
  max-width: 280px;
}
.footer-col h4 {
  color: var(--cream);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: var(--body);
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.92rem;
  color: rgba(251, 246, 238, 0.75);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--coral); }
.footer-bottom {
  border-top: 1px solid rgba(251, 246, 238, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(251, 246, 238, 0.6);
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(251, 246, 238, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.socials a:hover { background: var(--coral); color: white; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  padding: 14px 18px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.pagination .nums { display: flex; gap: 4px; }
.pagination .num-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}
.pagination .num-btn:hover { background: var(--cream-2); }
.pagination .num-btn.active { background: var(--eggplant); color: var(--cream); }
.pagination .num-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .deal-grid { grid-template-columns: repeat(2, 1fr); }
  .stores-grid { grid-template-columns: repeat(4, 1fr); }
  .similar-grid { grid-template-columns: repeat(4, 1fr); }
  .main-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .howto-grid { grid-template-columns: 1fr; gap: 30px; }
  .newsletter-grid { grid-template-columns: 1fr; gap: 30px; }
  .store-hero-card { grid-template-columns: auto 1fr; }
  .store-cta { grid-column: 1 / -1; flex-direction: row; justify-content: center; align-items: center; margin-top: 16px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .nav-search { max-width: 240px; }
  .nav-links a { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .deal-grid { grid-template-columns: 1fr; }
  .stores-grid { grid-template-columns: repeat(3, 1fr); }
  .similar-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .coupon-card { grid-template-columns: 1fr; text-align: center; }
  .coupon-card .discount-badge { max-width: 200px; margin: 0 auto; }
  .newsletter-card { padding: 36px 24px; }
  .store-hero-card { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .store-logo-big { margin: 0 auto; width: 80px; height: 80px; font-size: 2.5rem; }
  .store-stats { justify-content: center; }
}
@media (max-width: 500px) {
  .nav-search { display: none; }
  .hero { padding: 30px 0 50px; }
  .hero-visual { display: none; }
  .stores-grid { grid-template-columns: repeat(2, 1fr); }
  .similar-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-search { flex-direction: column; gap: 8px; border-radius: 16px; padding: 12px; }
  .hero-search input { padding-left: 50px; }
  .hero-search button { width: 100%; }
  .section-head { flex-direction: column; align-items: start; }
}
