:root {
  --bg: #fff9fb;
  --surface: #ffffff;
  --surface-soft: #fdf0f5;
  --ink: #2b1d24;
  --muted: #6e5561;
  --rose: #d96b94;
  --rose-dark: #b84d75;
  --rose-pale: #f8dce6;
  --border: #f0d7e1;
  --shadow: 0 12px 30px rgba(92, 36, 59, 0.07);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 249, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 74px;
  flex-wrap: wrap;
}

.brand-mark {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.brand-script {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--rose-dark);
}

.brand-handle {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.tabs-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-soft);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.tab-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--rose-dark);
}

.tab-btn.active {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 4px 12px rgba(184, 77, 117, 0.22);
}

.tab-panel {
  min-height: 55vh;
}

.pill-btn,
.btn-primary,
.btn-secondary,
.copy-btn,
.site-btn {
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pill-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  padding: 8px 16px;
  font-size: 0.85rem;
}

.pill-btn:hover {
  border-color: var(--rose);
  background: var(--surface-soft);
}

.hero {
  padding: 56px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose-dark);
  background: var(--rose-pale);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
}

.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 16px;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose-dark);
}

.hero-text {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.social-links-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  margin-right: 2px;
}

.social-link-pill {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--rose-dark);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link-pill:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

.btn-primary {
  background: var(--rose);
  color: #fff;
  border: none;
  padding: 12px 22px;
  font-size: 0.92rem;
}

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

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 12px 20px;
  font-size: 0.92rem;
}

.btn-secondary:hover {
  border-color: var(--rose);
  background: var(--surface-soft);
}

.creator-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.creator-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--rose-dark);
  margin-bottom: 8px;
}

.creator-card h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.9rem;
  margin-bottom: 4px;
}

.creator-role {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.creator-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}

.creator-highlights li {
  background: var(--surface-soft);
  padding: 10px 12px;
  border-radius: 12px;
}

.creator-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-chip {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.social-chip:hover {
  border-color: var(--rose);
  color: var(--rose-dark);
}

.section {
  padding: 44px 0 64px;
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.section-heading h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  margin-bottom: 8px;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
}

.controls-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

.search-box input {
  width: 100%;
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}

.search-box input:focus {
  outline: 2px solid rgba(217, 107, 148, 0.28);
  border-color: var(--rose);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.pill:hover,
.pill.active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

.results-meta {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.coupons-grid,
.finds-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.coupon-card,
.find-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 6px 18px rgba(92, 36, 59, 0.04);
}

.find-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.find-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coupon-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.category-badge {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.benefit-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rose-dark);
  background: var(--rose-pale);
  padding: 4px 10px;
  border-radius: 999px;
}

.coupon-card h3,
.find-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0;
}

.coupon-box {
  border-top: 1px dashed var(--border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.code-display {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.code-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
}

.code-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rose-dark);
  background: var(--surface-soft);
  padding: 8px 12px;
  border-radius: 10px;
  word-break: break-word;
}

.code-value-text {
  font-family: inherit;
  font-size: 0.9rem;
}

.coupon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.copy-btn {
  background: var(--rose);
  color: #fff;
  border: none;
  padding: 9px 14px;
  font-size: 0.84rem;
  flex: 1 1 auto;
}

.copy-btn:hover {
  background: var(--rose-dark);
}

.copy-btn.copied {
  background: #2e7d5b;
}

.site-btn {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 9px 14px;
  font-size: 0.84rem;
}

.site-btn:hover {
  border-color: var(--rose);
  background: var(--surface-soft);
}

.empty-state,
.finds-empty-box {
  text-align: center;
  padding: 40px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 640px;
  margin: 0 auto;
}

.finds-empty-box p {
  color: var(--muted);
  margin: 0 0 16px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tip-num {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--rose-dark);
}

.tip-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.tip-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 8px;
}

.text-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--rose-dark);
  cursor: pointer;
  align-self: flex-start;
}

.text-link:hover {
  text-decoration: underline;
}

.about-box {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.about-box h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 8px;
}

.about-box p {
  color: var(--muted);
  margin: 0;
  max-width: 680px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-inner p {
  margin: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(34, 18, 26, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 60;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: var(--surface-soft);
  color: var(--ink);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
}

.modal-body p {
  color: var(--muted);
  font-size: 0.94rem;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 80;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .hero-grid,
  .coupons-grid,
  .finds-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }

  .about-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .tabs-nav {
    width: 100%;
    border-radius: 16px;
    justify-content: flex-start;
  }

  .tab-btn {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
}