@font-face {
  font-family: Nunito;
  src: url(fonts/nunito-sans.woff2) format('woff2');
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #faf8fa;
  --surface: #fff;
  --text: #301c26;
  --muted: #796873;
  --line: #e8dfe4;
  --accent: #801e40;
  --button: #801e40;
  --button-hover: #641530;
  --soft: #f8eef3;
  --ticket-border: #d1a9ba;
  --header: rgb(255 255 255 / 96%);
  --shadow: 0 4px 18px rgb(69 25 44 / 4%);
  --header-offset: 100px;
}

body.dark {
  color-scheme: dark;
  --bg: #121014;
  --surface: #1c181f;
  --text: #fff;
  --muted: #fff;
  --line: #342a35;
  --accent: #fff;
  --button: #8e2e51;
  --button-hover: #a53961;
  --soft: #29202b;
  --ticket-border: #89566e;
  --header: rgb(18 16 20 / 94%);
  --shadow: 0 4px 18px rgb(0 0 0 / 8%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-offset); }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; border: 0; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #bd6e90; outline-offset: 4px; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -100px; padding: 12px 18px; background: var(--button); color: #fff; z-index: 100; border-radius: 8px; }
.skip-link:focus { top: 10px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header); border-bottom: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.header-inner { max-width: 1224px; display: flex; align-items: center; gap: 28px; padding: 18px 36px; margin: auto; }
.wordmark { display: inline-flex; align-items: center; font-size: 24px; line-height: 1; font-weight: 800; letter-spacing: -1px; white-space: nowrap; }
.wordmark-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-right: 9px; background: var(--button); color: #fff; border-radius: 11px; }
.wordmark-icon svg { width: 24px; height: 24px; }
.wordmark-dot { color: var(--accent); }
.search-box { display: flex; align-items: center; gap: 10px; width: min(460px, 46%); min-height: 46px; margin: 0 auto; padding: 9px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.search-box:focus-within { border-color: #af6c89; box-shadow: 0 0 0 3px rgb(175 108 137 / 10%); }
.search-box > svg { width: 18px; height: 18px; color: var(--accent); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: none; color: var(--text); background: transparent; font-size: 14px; line-height: 24px; }
.search-box input::placeholder { color: var(--muted); opacity: 1; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box button { display: grid; place-items: center; width: 28px; height: 28px; min-width: 28px; background: transparent; border-radius: 50%; color: var(--muted); font-size: 24px; line-height: 1; }
.browse-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; font-size: 13px; white-space: nowrap; }
.browse-link svg { width: 16px; height: 16px; }
.theme-toggle { display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; background: var(--surface); color: var(--accent); border: 1px solid var(--line); border-radius: 50%; }
.theme-toggle:hover { background: var(--soft); }

/* Sections and scroll shelves */
main { max-width: 1224px; margin: auto; padding: 0 36px; }
.intro-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 25px 0 22px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: 1.1px; }
.intro-count { display: inline-flex; align-items: center; gap: 7px; letter-spacing: 0; font-size: 12px; white-space: nowrap; }
.intro-count::before, .mint-dot { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--button); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-heading h1, .section-heading h2 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 750; letter-spacing: -.65px; }
.mint-dot { margin-left: 10px; vertical-align: middle; }
.shelf-controls { display: flex; gap: 8px; }
.shelf-controls button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--accent); }
.shelf-controls button:hover:not(:disabled) { background: var(--button); color: #fff; border-color: var(--button); }
.shelf-controls button:disabled { opacity: .35; cursor: default; }
.shelf-controls svg { width: 16px; height: 16px; }
.featured-track, .quick-track, .brand-track, .category-filters { scrollbar-width: none; overscroll-behavior-x: contain; }
.featured-track, .quick-track { scroll-padding-inline: 8px; }
.featured-track::-webkit-scrollbar, .quick-track::-webkit-scrollbar, .brand-track::-webkit-scrollbar, .category-filters::-webkit-scrollbar { display: none; }
.featured-track { display: flex; align-items: stretch; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: -8px; padding: 10px 8px 16px; }
.swipe-hint { display: none; }
.quick-section, .brands-section { margin-top: 38px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--accent); font-size: 12px; font-weight: 850; }
.text-link svg { width: 15px; height: 15px; }
.quiet-label { font-size: 12px; color: var(--muted); }

/* Offer cards */
.offer-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); transition: border-color .18s, box-shadow .18s; }
.offer-card:hover { border-color: var(--ticket-border); box-shadow: 0 8px 25px rgb(69 25 44 / 10%); }
.featured-card { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; }
.card-picture { position: relative; display: block; aspect-ratio: 1.8; overflow: hidden; flex-shrink: 0; background: var(--soft); }
.offer-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.picture-tag { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 5px 10px; border-radius: 30px; background: #fff6fa; border: 1px solid #edcfdb; color: #731b3a; font-size: 10px; font-weight: 850; line-height: 1.3; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.brand-line { display: flex; align-items: center; gap: 10px; min-height: 46px; }
.brand-line > span:not(.brand-logo) { min-width: 0; flex: 1; }
.brand-line small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.brand-line h3 { margin: 0; font-size: 15px; line-height: 1.3; font-weight: 700; letter-spacing: -.2px; overflow-wrap: anywhere; }
.brand-logo { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; padding: 7px; overflow: hidden; border-radius: 11px; background: #fff; border: 1px solid #e8e0e4; flex-shrink: 0; }
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.logo-walmart { background: #0751d9; border-color: transparent; }
.logo-mcdonalds { background: #d32c24; border-color: transparent; }
.logo-uber-eats { background: #060606; border-color: #222; }
.logo-tiktok-shop img, .logo-meshki img { object-fit: cover; }
.logo-shein { padding: 5px; }
.discount-ticket { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 7px; min-height: 40px; margin-top: 16px; padding: 0; color: var(--accent); }



.discount-ticket strong { font-size: 29px; line-height: 1; font-weight: 750; letter-spacing: -.8px; white-space: nowrap; }
.discount-ticket .amount-range { font-size: 23px; }
.discount-ticket > span { font-size: 11px; font-weight: 750; }
.card-terms { min-height: 33px; margin: 7px 0 16px; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: left; }
.offer-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; width: 100%; margin-top: auto; padding: 10px 12px; border-radius: 10px; background: var(--button); color: #fff; font-size: 13px; font-weight: 650; }
.offer-button:hover { background-color: var(--button-hover); }
.offer-button svg { width: 16px; height: 16px; }
.offer-button svg:first-child { display: none; }
.offer-button span { flex: 1; text-align: center; }
.offer-button svg:last-child { margin-left: auto; }
.featured-card .card-picture { aspect-ratio: 1.9; }
.featured-card .brand-line h3 { font-size: 18px; }
.featured-card .card-body { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px 12px; padding: 20px; }
.featured-card .brand-line { grid-column: 1 / -1; }
.featured-card .discount-ticket { grid-column: 1; grid-row: 2; margin: 0; min-height: 44px; align-items: center; }
.featured-card .offer-button { grid-column: 2; grid-row: 2; min-width: 108px; width: auto; margin: 0; }
.featured-card .discount-ticket strong { font-size: 32px; }
.featured-card .card-terms { grid-column: 1 / -1; grid-row: 3; min-height: 0; margin: 0; font-size: 11px; }

/* Compact offers and brand selection */
.quick-track { display: flex; align-items: stretch; gap: 16px; overflow-x: auto; margin-left: -8px; padding: 10px 8px 12px; scroll-snap-type: x proximity; }
.quick-offer { display: flex; align-items: center; gap: 10px; flex: 0 0 calc((100% - 48px) / 4); min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); scroll-snap-align: start; }
.quick-offer > span:not(.brand-logo):not(.quick-arrow) { display: grid; gap: 3px; min-width: 0; flex: 1; }
.quick-offer .brand-logo { width: 40px; height: 40px; min-width: 40px; padding: 6px; border-radius: 10px; }
.quick-offer strong { font-size: 14px; line-height: 1.3; }
.quick-offer small { color: var(--accent); font-size: 11px; line-height: 1.4; }
.quick-arrow { display: grid; place-items: center; width: 28px; height: 28px; min-width: 28px; margin-left: auto; border-radius: 50%; background: var(--soft); color: var(--accent); }
.quick-arrow svg { width: 14px; height: 14px; }
.brand-track { display: flex; gap: 18px; overflow-x: auto; margin-left: -8px; padding: 10px 8px 14px; }
.brand-shortcut { display: flex; align-items: center; flex-direction: column; gap: 10px; width: 76px; min-width: 76px; padding: 0; background: transparent; color: var(--text); }
.brand-shortcut .brand-logo { width: 58px; height: 58px; min-width: 58px; padding: 9px; border-radius: 16px; }
.brand-shortcut > span:last-child { max-width: 76px; min-height: 28px; font-size: 10px; font-weight: 750; line-height: 1.3; text-align: center; }
.brand-shortcut:hover .brand-logo { border-color: #bb7390; box-shadow: inset 0 0 0 1px #bb7390; }
.brand-shortcut:focus-visible { outline: none; }
.brand-shortcut:focus-visible .brand-logo { outline: 3px solid #bd6e90; outline-offset: 4px; }

/* Search results and filters */
#all-offers { padding-top: 38px; scroll-margin-top: 20px; }
.all-heading p { margin: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }
.category-filters { display: flex; gap: 8px; overflow-x: auto; margin-left: -8px; padding: 8px 8px 22px; }
.category-filters button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); color: var(--text); font-size: 12px; font-weight: 800; white-space: nowrap; }
.category-filters svg { width: 15px; height: 15px; }
.category-filters button[aria-pressed=true] { border-color: var(--button); background: var(--button); color: #fff; }
.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 22px; }
.empty-state { padding: 65px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; text-align: center; }
.empty-state > svg { width: 32px; height: 32px; color: var(--accent); }
.empty-state h3 { margin: 14px 0 0; font-size: 23px; }
.empty-state p { margin: 8px 0 20px; font-size: 14px; color: var(--muted); }
.empty-state button { min-height: 44px; padding: 10px 22px; border-radius: 9px; background: var(--button); color: #fff; font-size: 13px; font-weight: 850; }

/* Footer */
.how-it-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-it-works > div { display: flex; align-items: center; justify-content: center; gap: 12px; }
.how-it-works > div > span { display: grid; place-items: center; width: 38px; height: 38px; min-width: 38px; border-radius: 50%; background: var(--soft); color: var(--accent); font-size: 12px; font-weight: 850; }
.how-it-works p { display: grid; gap: 4px; margin: 0; }
.how-it-works strong { font-size: 13px; }
.how-it-works small { color: var(--muted); font-size: 11px; }
footer { padding: 38px 10px; text-align: center; }
.footer-name { font-size: 24px; font-weight: 950; letter-spacing: -.8px; color: var(--accent); }
footer p { max-width: 650px; margin: 14px auto 8px; color: var(--muted); font-size: 11px; line-height: 1.7; }
footer small { display: block; max-width: 650px; margin: auto; font-size: 11px; line-height: 1.7; color: var(--muted); }
.noscript { padding: 20px; text-align: center; }

/* Preserve white copy on every dark card. */
.dark .picture-tag { background: #4d293b; border-color: #80536b; color: #fff; }
.dark .intro-count::before, .dark .mint-dot { background: #efb6cb; }

@media (min-width: 1500px) {
  main, .header-inner { max-width: 1360px; }
}

@media (max-width: 1100px) {
  .header-inner { gap: 20px; }
  .browse-link { display: none; }
  .search-box { width: min(460px, 55%); }
  .offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured-card { flex-basis: calc((100% - 22px) / 2); }
  .quick-offer { flex-basis: calc((100% - 32px) / 3); }
}

@media (max-width: 700px) {
  :root { --header-offset: 148px; }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 13px; padding: 14px 20px 15px; }
  .wordmark { font-size: 23px; }
  .wordmark-icon { width: 34px; height: 34px; border-radius: 11px; }
  .wordmark-icon svg { width: 22px; height: 22px; }
  .browse-link { display: none; }
  .theme-toggle { grid-row: 1; grid-column: 2; }
  .search-box { grid-row: 2; grid-column: 1 / -1; width: 100%; min-height: 46px; padding: 8px 13px; }
  .search-box input { font-size: 16px; }
  .search-box input::placeholder { font-size: 13px; }
  .search-box button { width: 30px; min-width: 30px; height: 30px; }
  main { padding: 0 20px; }
  .intro-line { padding: 20px 0 12px; font-size: 9px; letter-spacing: .6px; gap: 8px; }
  .intro-count { font-size: 10px; gap: 5px; }
  .section-heading { min-height: 40px; margin-bottom: 16px; gap: 10px; }
  .section-heading h1, .section-heading h2 { font-size: 24px; letter-spacing: -.6px; }
  .shelf-controls { gap: 6px; }
  .shelf-controls button { width: 36px; height: 40px; border-radius: 9px; }
  .featured-track, .quick-track, .brand-track, .category-filters { margin-right: -20px; padding-right: 20px; }
  .featured-track { gap: 14px; }
  .featured-card { flex-basis: 92%; border-radius: 18px; }
  .featured-card .card-picture { aspect-ratio: 1.9; }
  .featured-card .card-body { padding: 18px; gap: 15px 10px; }
  .featured-card .brand-line h3 { font-size: 18px; }
  .featured-card .brand-line small { font-size: 11px; }
  .featured-card .card-terms { font-size: 10px; margin: 0; }
  .swipe-hint { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0; color: var(--muted); font-size: 10px; }
  .swipe-hint svg { width: 13px; height: 13px; }
  .quick-section, .brands-section { margin-top: 30px; }
  .quick-track { gap: 12px; }
  .quick-offer { flex-basis: 82%; min-height: 82px; padding: 14px; }
  .quick-offer strong { font-size: 13px; }
  .quick-offer small { font-size: 12px; }
  .text-link, .quiet-label { font-size: 11px; }
  .brand-track { gap: 14px; }
  .brand-shortcut { width: 68px; min-width: 68px; }
  .brand-shortcut .brand-logo { width: 54px; height: 54px; min-width: 54px; border-radius: 14px; padding: 8px; }
  .brand-shortcut > span:last-child { font-size: 10px; }
  #all-offers { padding-top: 30px; }
  .all-heading p { font-size: 11px; }
  .category-filters { gap: 7px; padding-bottom: 20px; }
  .category-filters button { padding: 9px 14px; font-size: 11px; }
  .category-filters svg { width: 14px; height: 14px; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .offer-grid .offer-card { border-radius: 14px; }
  .offer-grid .card-picture { aspect-ratio: 1.6; }
  .offer-grid .picture-tag { top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 4px 7px; font-size: 9px; }
  .offer-grid .card-body { padding: 12px; }
  .offer-grid .brand-line { gap: 7px; min-height: 42px; }
  .offer-grid .brand-logo { width: 34px; height: 34px; min-width: 34px; border-radius: 9px; padding: 5px; }
  .offer-grid .brand-line small { display: none; }
  .offer-grid .brand-line h3 { font-size: 13px; line-height: 1.35; }
  .offer-grid .discount-ticket { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 3px 5px; min-height: 35px; margin-top: 14px; padding: 0; }
  .offer-grid .discount-ticket strong { font-size: 27px; letter-spacing: -.6px; }
  .offer-grid .discount-ticket .amount-range { font-size: 20px; }
  .offer-grid .discount-ticket > span { font-size: 10px; }
  .offer-grid .card-terms { min-height: 42px; margin: 6px 0 14px; font-size: 10px; line-height: 1.4; }
  .offer-grid .offer-button { min-height: 44px; gap: 5px; padding: 9px 10px; font-size: 12px; border-radius: 8px; }
  .offer-grid .offer-button svg { width: 13px; height: 13px; }
  .how-it-works { grid-template-columns: 1fr; gap: 22px; margin-top: 36px; padding: 28px 6px; }
  .how-it-works > div { justify-content: flex-start; gap: 14px; }
  .how-it-works strong { font-size: 14px; }
  .how-it-works small { font-size: 12px; }
  footer { padding: 30px 0; }
}

@media (max-width: 360px) {
  .header-inner { padding-left: 14px; padding-right: 14px; }
  main { padding: 0 14px; }
  .intro-line { font-size: 8px; letter-spacing: .3px; }
  .intro-count { font-size: 9px; }
  .section-heading h1, .section-heading h2 { font-size: 21px; }
  .featured-track, .quick-track, .brand-track, .category-filters { margin-right: -14px; padding-right: 14px; }
  .featured-card { flex-basis: 92%; }
  .featured-card .discount-ticket { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
  .featured-card .offer-button { align-self: center; }
  .offer-grid { gap: 10px; }
  .offer-grid .card-body { padding: 10px; }
  .offer-grid .brand-line { gap: 6px; }
  .offer-grid .brand-logo { width: 28px; height: 28px; min-width: 28px; border-radius: 7px; padding: 4px; }
  .offer-grid .brand-line h3 { font-size: 12px; }
  .offer-grid .discount-ticket strong { font-size: 23px; }
  .offer-grid .discount-ticket .amount-range { font-size: 18px; }
  .offer-grid .offer-button { font-size: 10px; gap: 4px; padding: 9px 5px; }
  .offer-grid .offer-button svg { width: 12px; height: 12px; }
}

/* Motion stays local to the element, without moving the page layout. */
.offer-card { transition: transform .25s, border-color .25s, box-shadow .25s; }
.offer-image { transition: transform .6s cubic-bezier(.22,1,.36,1); }
.brand-logo img { transition: transform .35s cubic-bezier(.22,1,.36,1); }
.offer-button, .quick-offer, .brand-logo, .category-filters button, .shelf-controls button { transition: transform .2s, background-color .2s, border-color .2s, box-shadow .2s; }
.offer-button { background-image: linear-gradient(110deg, transparent 25%, rgb(255 255 255 / 14%) 45%, transparent 65%); background-size: 250% 100%; background-position: 130% 50%; transition: transform .2s, background-color .2s, background-position .65s; }
.offer-button svg:last-child, .quick-arrow svg, .text-link svg, .browse-link svg { transition: transform .2s; }
@media (hover: hover) and (pointer: fine) {
  .offer-card:hover { border-color: #bb7390; box-shadow: inset 0 0 0 1px #bb7390; }
  .offer-card:hover .offer-image { transform: scale(1.025); }
  .offer-button:hover { background-position: -30% 50%; }
  .offer-button:hover svg:last-child, .quick-offer:hover .quick-arrow svg, .text-link:hover svg, .browse-link:hover svg { transform: translateX(3px); }
  .quick-offer:hover { background: var(--soft); border-color: #bb7390; }
  .brand-shortcut:hover .brand-logo img { transform: scale(1.06); }
}
.offer-button:active, .category-filters button:active, .shelf-controls button:active { transform: scale(.97); }

/* Illustrative metadata is limited to the marked preview URL. */
.sample-preview .featured-card .card-body { display: flex; }
.sample-preview .featured-card .offer-button { width: 100%; }
.sample-notice { display: grid; gap: 5px; margin: 22px 0; padding: 15px 18px; border: 1px solid var(--ticket-border); border-radius: 12px; background: var(--soft); font-size: 12px; }
.sample-notice strong { font-size: 10px; letter-spacing: 1px; }
.sample-notice a { justify-self: start; text-decoration: underline; font-weight: 800; }
.sample-preview .intro-line { display: none; }
.sample-card-details { display: grid; gap: 9px; margin-top: 13px; }
.sample-label { justify-self: start; padding: 2px 7px; border: 1px solid var(--ticket-border); border-radius: 5px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; }
.sample-stats { display: flex; justify-content: space-between; gap: 6px; color: var(--text); font-size: 11px; }
.sample-availability { display: block; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); color: var(--text); font-size: 11px; font-weight: 800; text-align: center; }
@media (max-width: 700px) {
  .offer-grid .sample-stats { flex-wrap: wrap; font-size: 10px; }
  .offer-grid .sample-availability { font-size: 10px; padding: 6px 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
