:root {
  --ink: #14202f;
  --ink-2: #405168;
  --muted: #6c7b90;
  --paper: #ffffff;
  --cloud: #f5f8fb;
  --line: #dfe7ef;
  --line-strong: #c8d6e3;
  --brand: #0f766e;
  --brand-2: #145da0;
  --mint: #a8f4de;
  --gold: #ffcf5a;
  --hot: #ff6b4a;
  --pink: #ec4899;
  --blue: #3b82f6;
  --green: #22c55e;
  --shadow: 0 22px 60px rgba(27, 43, 65, .12);
  --shadow-soft: 0 14px 34px rgba(27, 43, 65, .1);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: #f8fbfd;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    url("../backgrounds/dealnest-rings.svg") right -220px top -180px / min(74vw, 900px) auto no-repeat,
    radial-gradient(circle at 12% 0%, rgba(168, 244, 222, .62), transparent 28rem),
    radial-gradient(circle at 90% 8%, rgba(59, 130, 246, .15), transparent 30rem),
    linear-gradient(180deg, #fbfefd 0%, #f3f7fb 44%, #ffffff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(15, 118, 110, .05), transparent 28%),
    linear-gradient(240deg, rgba(255, 207, 90, .08), transparent 32%);
}

body.no-scroll {
  overflow: hidden;
}

body.menu-active {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hidden {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-glow {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 32, 47, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 47, .03) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent 68%);
}

.market-header,
.hero,
.trust-strip,
.category-strip,
.section-block,
.feed-layout,
.store-section,
.community-section,
.games-archive,
.site-footer {
  width: calc(100% - 32px);
  max-width: 1220px;
  margin-inline: auto;
}

.market-header,
.hero,
.section-block,
.feed-layout,
.split-section,
.store-section,
.community-section,
.games-archive,
.site-footer,
.detail-page,
.alert-section {
  min-width: 0;
}

.market-header {
  position: sticky;
  top: 14px;
  z-index: 80;
  width: calc(100% - 32px);
  max-width: 1220px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  margin-top: 14px;
  margin-inline: auto;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-orb {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 17px;
  color: #061513;
  font-weight: 950;
  letter-spacing: -.04em;
  background:
    radial-gradient(circle at 25% 20%, #fff, transparent 32%),
    linear-gradient(135deg, var(--mint), #93c5fd 52%, var(--gold));
  box-shadow: inset 0 -10px 18px rgba(15, 118, 110, .16), 0 14px 24px rgba(15, 118, 110, .18);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: -.02em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.primary-nav a,
.ghost-button,
.post-button,
.menu-toggle,
.search-panel button,
.hero-pills button,
.category-strip button,
.segmented button,
.chip-list button,
.deal-action,
.save-btn,
.copy-btn,
.archive-links a {
  border: 0;
  text-decoration: none;
  font-weight: 850;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.primary-nav a {
  border-radius: 999px;
  color: var(--muted);
  padding: 12px 13px;
  font-size: .9rem;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--ink);
  background: rgba(15, 118, 110, .08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ghost-button,
.post-button,
.menu-toggle {
  min-height: 46px;
  border-radius: 999px;
  padding: 0 16px;
}

.ghost-button,
.menu-toggle {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.post-button {
  color: #061513;
  background: linear-gradient(135deg, var(--mint), #effff9 46%, var(--gold));
  box-shadow: 0 15px 30px rgba(15, 118, 110, .16);
}

.post-button:hover,
.ghost-button:hover,
.menu-toggle:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(20, 32, 47, .48);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s var(--ease);
}

.auth-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.auth-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(168, 244, 222, .5), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(245, 248, 251, .94));
  box-shadow: 0 34px 90px rgba(20, 32, 47, .3);
  padding: 28px;
  transform: translateY(18px) scale(.98);
  transition: transform .24s var(--ease);
  pointer-events: auto;
}

.auth-modal.open .auth-dialog {
  transform: translateY(0) scale(1);
}

.auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  padding: 8px 12px;
  font-weight: 900;
}

.auth-dialog h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  letter-spacing: -.04em;
}

.auth-dialog p {
  color: var(--ink-2);
  line-height: 1.55;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 5px;
}

.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 950;
}

.auth-tabs button.active {
  color: var(--ink);
  background: linear-gradient(135deg, var(--mint), #effff9 58%, var(--gold));
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.auth-form input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  padding: 0 14px;
}

.auth-form output,
.access-panel output {
  min-height: 26px;
  color: var(--brand);
  font-weight: 850;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .55fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(70px, 10vw, 132px) 0 44px;
}

.cinematic-hero {
  position: relative;
  min-height: min(860px, calc(100vh - 120px));
  padding-top: clamp(78px, 9vw, 118px);
}

.cinematic-hero::before {
  content: "";
  position: absolute;
  inset: 42px -8vw 0 auto;
  width: min(64vw, 820px);
  height: min(64vw, 820px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .94), transparent 19%),
    conic-gradient(from 130deg, rgba(168, 244, 222, .76), rgba(59, 130, 246, .28), rgba(255, 207, 90, .58), rgba(236, 72, 153, .22), rgba(168, 244, 222, .76));
  filter: blur(.2px);
  opacity: .86;
  pointer-events: none;
  animation: slowSpin 22s linear infinite;
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

.hero-stage {
  position: relative;
  min-height: 560px;
  isolation: isolate;
}

.orbital-board {
  position: absolute;
  inset: 50px 0 0 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 44px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .56), rgba(255, 255, 255, .16)),
    radial-gradient(circle at 40% 26%, rgba(168, 244, 222, .48), transparent 25rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.orbital-board span {
  position: absolute;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .62);
  box-shadow: inset 0 0 38px rgba(15, 118, 110, .1);
}

.orbital-board span:nth-child(1) {
  width: 62%;
  height: 62%;
  transform: rotate(12deg);
}

.orbital-board span:nth-child(2) {
  width: 42%;
  height: 42%;
  transform: rotate(-16deg);
}

.orbital-board span:nth-child(3) {
  width: 24%;
  height: 24%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mint), var(--gold));
}

.floating-deal-card {
  position: absolute;
  z-index: 2;
  min-width: 190px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  padding: 18px;
  animation: floatCard 6s var(--ease) infinite alternate;
}

.floating-deal-card span,
.floating-deal-card b {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
}

.floating-deal-card strong {
  display: block;
  margin: 8px 0;
  font-size: 1.18rem;
  letter-spacing: -.03em;
}

.floating-deal-card b {
  color: var(--brand);
  font-size: 1.7rem;
  letter-spacing: -.05em;
}

.card-a { top: 18px; left: 7%; }
.card-b { right: 3%; top: 178px; animation-delay: -1.8s; }
.card-c { left: 18%; bottom: 36px; animation-delay: -3.2s; }

@keyframes floatCard {
  from { transform: translate3d(0, 0, 0) rotate(-1deg); }
  to { transform: translate3d(0, -18px, 0) rotate(1.2deg); }
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 950;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 8vw, 7.7rem);
  line-height: .88;
  letter-spacing: -.065em;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--ink-2);
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
  line-height: 1.7;
}

.search-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  max-width: 780px;
  min-width: 0;
  overflow: hidden;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow);
}

.search-panel span {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--brand);
  background: rgba(15, 118, 110, .08);
}

.search-mark::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 13px;
  width: 13px;
  height: 13px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.search-mark::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 26px;
  width: 9px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
}

.search-panel input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-size: 1rem;
}

.search-panel button {
  min-height: 48px;
  border-radius: 999px;
  padding: 0 21px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.hero-pills,
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills {
  margin-top: 18px;
}

.hero-pills button,
.category-strip button,
.chip-list button {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, .72);
  padding: 10px 14px;
}

.hero-pills button:hover,
.category-strip button:hover,
.chip-list button:hover,
.hero-pills button.active,
.category-strip button.active,
.chip-list button.active {
  color: var(--ink);
  border-color: rgba(15, 118, 110, .35);
  background: rgba(168, 244, 222, .45);
  transform: translateY(-2px);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.pulse-section {
  margin-top: 18px;
}

.pulse-grid article {
  position: relative;
  overflow: hidden;
}

.pulse-grid article::after {
  content: "";
  position: absolute;
  inset: auto 14px 14px auto;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 207, 90, .32), transparent 70%);
}

.trend-list {
  display: grid;
  gap: 8px;
  width: min(100%, 420px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.trend-list li {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  padding: 8px 12px 8px 8px;
}

.trend-list b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #061513;
  background: linear-gradient(135deg, var(--mint), var(--gold));
}

.trend-list span,
.trend-list strong {
  font-size: .86rem;
}

.trend-list span {
  font-weight: 850;
}

.trend-list strong {
  color: var(--brand);
}

.spotlight-card {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 52px);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(17, 28, 44, .94), rgba(22, 55, 78, .9)),
    radial-gradient(circle at 85% 0%, rgba(255, 207, 90, .34), transparent 28rem);
  color: #fff;
  box-shadow: var(--shadow);
  padding: clamp(18px, 4vw, 36px);
  overflow: hidden;
}

.spotlight-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, .92), transparent 18%),
    linear-gradient(145deg, rgba(168, 244, 222, .24), rgba(147, 197, 253, .2));
}

.spotlight-art img {
  width: min(86%, 520px);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 32px 34px rgba(0, 0, 0, .28));
}

.spotlight-art span {
  position: absolute;
  left: 18px;
  top: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hot), var(--pink));
  padding: 10px 14px;
  font-weight: 950;
}

.spotlight-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2.25rem, 5vw, 5.2rem);
  line-height: .92;
  letter-spacing: -.055em;
}

.spotlight-copy p {
  color: #c8d6e3;
  line-height: 1.65;
}

.spotlight-copy .summary-price del {
  color: #9fb0c6;
}

.spotlight-store {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 22px;
}

.spotlight-store b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #061513;
  background: linear-gradient(135deg, var(--mint), var(--gold));
}

.spotlight-store span {
  color: #dce7f6;
  font-weight: 800;
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.deal-description {
  margin: -3px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

.deal-title a {
  text-decoration: none;
}

.category-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  min-height: 248px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 28px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .58)),
    radial-gradient(circle at 20% 0%, rgba(168, 244, 222, .35), transparent 15rem);
  box-shadow: 0 14px 34px rgba(27, 43, 65, .08);
  padding: 20px;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}

.page-hero {
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .64)),
    radial-gradient(circle at 0% 0%, rgba(168, 244, 222, .42), transparent 24rem),
    radial-gradient(circle at 100% 10%, rgba(255, 207, 90, .26), transparent 22rem);
  box-shadow: var(--shadow);
  padding: clamp(28px, 6vw, 58px);
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: clamp(3rem, 7.2vw, 6.35rem);
  line-height: .9;
  letter-spacing: -.058em;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.7;
}

.sub-page .section-block,
.sub-page .store-section,
.sub-page .community-section,
.sub-page .games-archive {
  margin-top: 24px;
}

.coupon-page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coupon-workspace .feed-toolbar {
  margin-bottom: 16px;
}

.coupon-workspace select {
  min-width: min(100%, 260px);
}

.coupon-tabs {
  margin-bottom: 18px;
}

.coupon-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  padding: 10px 13px;
  font-weight: 900;
}

.category-card:hover,
.category-card.active {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-card span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  color: #061513;
  background: linear-gradient(135deg, var(--mint), var(--gold));
  font-weight: 950;
}

.category-card strong {
  font-size: 1.28rem;
  letter-spacing: -.035em;
}

.category-card p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.5;
}

.category-card small {
  color: var(--brand);
  font-weight: 900;
}

.category-card em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.4;
}

.tone-blue span { background: linear-gradient(135deg, #bfdbfe, #93c5fd); }
.tone-gold span { background: linear-gradient(135deg, #fde68a, #fbbf24); }
.tone-sky span { background: linear-gradient(135deg, #cffafe, #67e8f9); }
.tone-rose span { background: linear-gradient(135deg, #fbcfe8, #f9a8d4); }
.tone-green span { background: linear-gradient(135deg, #bbf7d0, #86efac); }
.tone-violet span { background: linear-gradient(135deg, #ddd6fe, #c4b5fd); }
.tone-leaf span { background: linear-gradient(135deg, #d9f99d, #bef264); }

.alert-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .68)),
    radial-gradient(circle at 100% 0%, rgba(59, 130, 246, .18), transparent 24rem);
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 4vw, 36px);
}

.alert-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: .92;
  letter-spacing: -.05em;
}

.alert-copy p {
  color: var(--ink-2);
  line-height: 1.65;
}

.alert-builder {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(27, 43, 65, .08);
  padding: 18px;
}

.alert-builder label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.alert-builder input,
.alert-builder select,
.alert-builder textarea,
.deal-form input,
.deal-form select,
.deal-form textarea,
.coupon-workspace select {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
}

.deal-form textarea,
.alert-builder textarea {
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}

.deal-form input[readonly] {
  color: var(--brand);
  background: linear-gradient(135deg, rgba(168, 244, 222, .18), rgba(255, 207, 90, .14));
  font-weight: 950;
}

.alert-builder output {
  display: block;
  border-radius: 16px;
  color: var(--ink-2);
  background: var(--cloud);
  padding: 13px;
  font-weight: 800;
}

.alert-builder div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.alert-builder div button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cloud);
  color: var(--brand);
  padding: 9px 11px;
  font-weight: 900;
}

.alert-builder div button.active,
.coupon-tabs button.active {
  color: #fff;
  border-color: transparent;
  background: var(--ink);
}

.mini-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin-top: 18px;
}

.motion-item {
  opacity: .14;
  transform: translateY(24px) scale(.985);
  transition: opacity .62s var(--ease), transform .62s var(--ease);
}

.motion-item.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cinematic-hero .motion-item {
  opacity: 1;
  transform: none;
}

.trust-strip article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 24px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 12px 30px rgba(27, 43, 65, .07);
}

.trust-strip span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 15px;
  color: #061513;
  background: linear-gradient(135deg, var(--mint), #dbeafe);
  font-weight: 950;
}

.trust-strip strong {
  display: block;
  margin-bottom: 6px;
}

.trust-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 0, rgba(168, 244, 222, .58), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .62));
  box-shadow: var(--shadow);
  padding: 24px;
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -74px;
  bottom: -92px;
  width: 230px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 90deg, var(--mint), #93c5fd, var(--gold), var(--mint));
  opacity: .5;
  filter: blur(2px);
}

.hero-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.hero-card-top span {
  color: var(--muted);
  font-weight: 800;
}

.hero-card-top strong {
  max-width: 8ch;
  text-align: right;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: .9;
  letter-spacing: -.06em;
  color: var(--hot);
}

.pulse-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.pulse-stack div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.pulse-stack span {
  color: var(--ink-2);
  font-weight: 750;
}

.pulse-stack b {
  color: var(--brand);
}

.mini-chart {
  position: relative;
  z-index: 1;
  height: 118px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  background: #132033;
}

.mini-chart span {
  flex: 1;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--gold), var(--mint));
}

.category-strip {
  position: sticky;
  top: 104px;
  z-index: 50;
  justify-content: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.section-block,
.store-section,
.community-section,
.games-archive {
  margin-top: 64px;
}

.section-heading,
.feed-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.section-heading h2,
.feed-toolbar h2,
.community-section h2,
.games-archive h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .95;
  letter-spacing: -.045em;
}

.section-heading p,
.community-section p,
.games-archive p,
.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.deal-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(27, 43, 65, .07);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease), opacity .24s var(--ease);
}

.deal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .34), transparent 38%);
  opacity: 0;
  transition: opacity .24s var(--ease);
}

.deal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, .28);
  box-shadow: var(--shadow);
}

.deal-card:hover::before {
  opacity: 1;
}

.deal-card.is-updated {
  animation: cardIn .28s var(--ease);
}

@keyframes cardIn {
  from {
    opacity: .35;
    transform: translateY(8px);
  }
}

.deal-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .9), transparent 22%),
    linear-gradient(145deg, #f6fbff, #edf4f7);
}

.deal-image img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(27, 43, 65, .13));
  transition: transform .28s var(--ease), filter .28s var(--ease);
}

.deal-card:hover .deal-image img {
  transform: translateY(-3px) scale(1.04);
  filter: drop-shadow(0 24px 26px rgba(27, 43, 65, .16));
}

.deal-card.tone-blue .deal-image { background: radial-gradient(circle at 26% 18%, rgba(255, 255, 255, .92), transparent 22%), linear-gradient(145deg, #eff6ff, #dbeafe); }
.deal-card.tone-gold .deal-image { background: radial-gradient(circle at 26% 18%, rgba(255, 255, 255, .92), transparent 22%), linear-gradient(145deg, #fff7ed, #fef3c7); }
.deal-card.tone-sky .deal-image { background: radial-gradient(circle at 26% 18%, rgba(255, 255, 255, .92), transparent 22%), linear-gradient(145deg, #ecfeff, #e0f2fe); }
.deal-card.tone-rose .deal-image { background: radial-gradient(circle at 26% 18%, rgba(255, 255, 255, .92), transparent 22%), linear-gradient(145deg, #fff1f2, #fce7f3); }
.deal-card.tone-green .deal-image { background: radial-gradient(circle at 26% 18%, rgba(255, 255, 255, .92), transparent 22%), linear-gradient(145deg, #f0fdf4, #dcfce7); }
.deal-card.tone-violet .deal-image { background: radial-gradient(circle at 26% 18%, rgba(255, 255, 255, .92), transparent 22%), linear-gradient(145deg, #f5f3ff, #ede9fe); }
.deal-card.tone-leaf .deal-image { background: radial-gradient(circle at 26% 18%, rgba(255, 255, 255, .92), transparent 22%), linear-gradient(145deg, #f7fee7, #ecfccb); }

.discount-badge,
.status-badge {
  position: absolute;
  top: 12px;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: .76rem;
  font-weight: 950;
}

.discount-badge {
  left: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--hot), var(--pink));
  box-shadow: 0 10px 20px rgba(255, 107, 74, .24);
}

.status-badge {
  right: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .9);
}

.deal-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.deal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
}

.deal-meta span,
.category-badge {
  border-radius: 999px;
  background: var(--cloud);
  padding: 6px 9px;
}

.deal-meta a,
.store-card h3 a {
  color: inherit;
  text-decoration: none;
}

.deal-meta a:hover,
.store-card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.category-badge {
  color: var(--brand);
}

.deal-title {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 9px;
}

.price {
  color: var(--brand);
  font-size: 1.55rem;
  font-weight: 950;
  letter-spacing: -.045em;
}

.was-price {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 750;
}

.deal-signals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}

.posted-by {
  margin: -3px 0 0;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.45;
}

.heat-button {
  border: 1px solid rgba(255, 107, 74, .2);
  border-radius: 999px;
  color: var(--hot);
  background: rgba(255, 107, 74, .08);
  padding: 8px 10px;
  font-weight: 950;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}

.heat-button:hover,
.heat-button.voted {
  transform: translateY(-1px) scale(1.02);
  background: rgba(255, 107, 74, .16);
  box-shadow: 0 10px 20px rgba(255, 107, 74, .12);
}

.deal-actions {
  display: grid;
  grid-template-columns: minmax(64px, .34fr) 1fr;
  gap: 9px;
}

.save-btn {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: var(--cloud);
  font-size: .78rem;
  font-weight: 950;
}

.save-btn.saved {
  color: #fff;
  border-color: var(--brand);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.deal-action {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #24415f);
}

.deal-action:hover,
.save-btn:hover,
.copy-btn:hover {
  transform: translateY(-1px);
}

.coupon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  border: 1px dashed rgba(15, 118, 110, .35);
  border-radius: 14px;
  background: rgba(168, 244, 222, .18);
}

.coupon-row code {
  color: var(--brand);
  font-weight: 950;
}

.copy-btn {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #24415f);
  box-shadow: 0 8px 18px rgba(20, 32, 47, .12);
  padding: 8px 12px;
  font-weight: 950;
}

.detail-page {
  width: calc(100% - 32px);
  max-width: 1220px;
  margin: 0 auto;
}

.detail-header {
  margin-bottom: 26px;
}

.link-button {
  display: inline-grid;
  place-items: center;
  min-height: 46px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 34px 0 16px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 850;
}

.breadcrumb a {
  color: var(--brand);
  text-decoration: none;
}

.breadcrumb span:last-child {
  max-width: min(74vw, 680px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 34px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .72)),
    radial-gradient(circle at 0% 20%, rgba(168, 244, 222, .36), transparent 28rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 207, 90, .32), transparent 68%);
  pointer-events: none;
}

.product-gallery,
.deal-summary,
.detail-panel {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 34px rgba(27, 43, 65, .08);
}

.product-gallery {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.gallery-main {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, .95), transparent 24%),
    linear-gradient(135deg, #eef8ff, #eefdf8 52%, #fff6d9);
}

.gallery-main img {
  width: min(86%, 560px);
  height: min(78%, 440px);
  object-fit: contain;
  filter: drop-shadow(0 26px 32px rgba(27, 43, 65, .18));
  transition: transform .35s var(--ease), filter .35s var(--ease);
}

.product-gallery:hover .gallery-main img {
  transform: translateY(-4px) scale(1.025);
  filter: drop-shadow(0 34px 38px rgba(27, 43, 65, .2));
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.gallery-thumbs button {
  display: grid;
  place-items: center;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cloud);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.gallery-thumbs button:hover,
.gallery-thumbs button.active {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, .42);
  box-shadow: 0 12px 24px rgba(15, 118, 110, .12);
}

.gallery-thumbs img {
  width: 72%;
  height: 70px;
  object-fit: contain;
}

.deal-summary {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
}

.deal-summary h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.7rem);
  line-height: .94;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}

.deal-summary .deal-description {
  max-width: 66ch;
  overflow-wrap: anywhere;
}

.summary-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 6px;
}

.summary-price span {
  color: var(--brand);
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  font-weight: 950;
  letter-spacing: -.06em;
}

.summary-price del {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  font-weight: 800;
}

.summary-price strong {
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--hot), var(--pink));
  padding: 9px 12px;
  font-size: .82rem;
  font-weight: 950;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-facts div {
  min-height: 82px;
  display: grid;
  gap: 5px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cloud);
  padding: 14px;
}

.detail-facts span,
.coupon-detail span,
.comment-card span,
.panel-kicker {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
}

.detail-facts strong {
  color: var(--ink);
  line-height: 1.25;
}

.coupon-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px dashed rgba(15, 118, 110, .42);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(168, 244, 222, .3), rgba(255, 207, 90, .16)),
    #fff;
  padding: 15px;
}

.coupon-detail strong {
  display: block;
  margin-top: 4px;
  color: var(--brand);
  font-size: 1.18rem;
  letter-spacing: .04em;
}

.coupon-detail button,
.deal-merchant-button,
.comment-composer button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #24415f);
  padding: 13px 16px;
  font-weight: 950;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.coupon-detail button:hover,
.deal-merchant-button:hover,
.comment-composer button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(27, 43, 65, .14);
}

.muted-coupon {
  border-style: solid;
  background: var(--cloud);
}

.muted-coupon strong {
  color: var(--ink-2);
  letter-spacing: 0;
}

.detail-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.detail-actions .heat-button,
.detail-actions .save-btn,
.detail-actions .ghost-button {
  min-height: 52px;
  border-radius: 16px;
  padding: 0 12px;
  white-space: normal;
  text-align: center;
}

.deal-merchant-button {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, .55fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.detail-panel {
  padding: clamp(20px, 3vw, 28px);
}

.detail-panel h2 {
  margin: 5px 0 18px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: .98;
  letter-spacing: -.04em;
}

.panel-kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
}

.instructions-panel ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 22px;
  color: var(--ink-2);
  line-height: 1.65;
  font-weight: 650;
}

.instructions-panel li::marker {
  color: var(--brand);
  font-weight: 950;
}

.comment-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 16px;
}

.comment-composer textarea {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: var(--cloud);
  padding: 14px;
  font: inherit;
}

.comments-list {
  display: grid;
  gap: 12px;
}

.comment-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 15px;
}

.comment-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.comment-card strong {
  color: var(--ink);
}

.comment-card p {
  margin: 10px 0 0;
  color: var(--ink-2);
  line-height: 1.6;
}

.related-section {
  margin-top: 64px;
}

.single-action {
  grid-template-columns: 1fr;
}

.feed-layout {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 64px;
}

.filter-panel,
.feed-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-soft);
}

.filter-panel {
  position: sticky;
  top: 176px;
  display: grid;
  gap: 20px;
  padding: 18px;
}

.feed-panel {
  padding: 18px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-title span,
.filter-group strong,
.field {
  color: var(--ink);
  font-weight: 950;
}

.panel-title button {
  border: 0;
  color: var(--brand);
  background: transparent;
  font-weight: 900;
}

.filter-group,
.field {
  display: grid;
  gap: 10px;
}

.segmented,
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented button {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  padding: 9px 11px;
}

.segmented button.active {
  color: #fff;
  border-color: var(--brand);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.field select,
.field input[type="range"] {
  width: 100%;
}

.field select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
}

.field span {
  color: var(--muted);
  font-size: .86rem;
}

#resultCount {
  flex: 0 0 auto;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(168, 244, 222, .32);
  padding: 10px 13px;
  font-weight: 950;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 230px;
  margin-top: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 22px;
  text-align: center;
  color: var(--muted);
  background: var(--cloud);
}

.empty-state strong {
  color: var(--ink);
  font-size: 1.3rem;
}

.split-section {
  width: calc(100% - 32px);
  max-width: 1220px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 22px;
  margin: 64px auto 0;
}

.post-workspace {
  align-items: start;
}

.deal-form {
  display: grid;
  gap: 18px;
}

.deal-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wide-field {
  grid-column: 1 / -1;
}

.form-errors {
  min-height: 46px;
  border-radius: 16px;
  color: var(--ink-2);
  background: var(--cloud);
  padding: 13px 14px;
  font-weight: 850;
  line-height: 1.45;
}

.image-input-panel,
.review-note,
.detail-state-note {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(240, 253, 250, .7));
  padding: 14px;
}

.image-input-panel {
  display: grid;
  gap: 8px;
}

.image-input-panel span,
.review-note p,
.detail-state-note span {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 750;
}

.post-preview-panel {
  position: sticky;
  top: 110px;
}

.access-panel,
.dashboard-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.access-panel {
  display: grid;
  gap: 14px;
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.access-panel h2,
.dashboard-card h3 {
  margin-bottom: 8px;
}

.dashboard-grid {
  width: calc(100% - 32px);
  max-width: 1220px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 42px auto 0;
}

.dashboard-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.wide-dashboard-card {
  grid-column: 1 / -1;
}

.dashboard-list {
  display: grid;
  gap: 10px;
}

.dashboard-list article,
.profile-line,
.report-form {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cloud);
  padding: 13px;
}

.dashboard-list article {
  display: grid;
  gap: 6px;
}

.submitted-list article {
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
}

.submitted-list img,
.admin-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.dashboard-list strong {
  color: var(--ink);
}

.dashboard-list span,
.dashboard-list p,
.profile-line span {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(168, 244, 222, .34);
  padding: 6px 10px;
  font-size: .78rem;
  font-weight: 950;
}

.report-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.report-form textarea,
.report-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  font: inherit;
}

.admin-loading,
.admin-note {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.admin-loading p,
.admin-note p {
  margin: 6px 0 0;
  color: var(--ink-2);
  line-height: 1.55;
}

.admin-panel {
  display: grid;
  gap: 18px;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.admin-toolbar h2 {
  margin-bottom: 0;
  text-transform: capitalize;
}

.admin-filters {
  justify-content: end;
}

.admin-filters button span {
  display: inline-grid;
  min-width: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(20, 32, 47, .08);
  padding: 2px 7px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(27, 43, 65, .07);
  padding: 16px;
}

.admin-review-row {
  grid-template-columns: 92px minmax(0, 1fr) auto auto;
}

.admin-thumb {
  display: block;
  min-width: 0;
}

.admin-row strong,
.admin-row span,
.admin-row small {
  display: block;
}

.admin-row strong {
  margin-bottom: 6px;
}

.admin-row span {
  color: var(--ink-2);
  font-weight: 760;
}

.admin-row small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.admin-row del {
  color: var(--muted);
}

.admin-badges,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.admin-badges b {
  border-radius: 999px;
  color: var(--brand);
  background: rgba(168, 244, 222, .3);
  padding: 7px 10px;
  font-size: .78rem;
  text-transform: capitalize;
}

.admin-actions button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--cloud);
  padding: 0 12px;
  font-weight: 900;
}

.admin-actions button:first-child {
  color: #061513;
  background: linear-gradient(135deg, var(--mint), #effff9 56%, var(--gold));
  border-color: transparent;
}

.admin-actions button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

#postPreview .deal-card {
  max-width: 100%;
}

.editor-list,
.coupon-list,
.topic-list {
  display: grid;
  gap: 12px;
}

.editor-item,
.coupon-card,
.topic-card,
.store-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(27, 43, 65, .06);
}

.editor-item {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.editor-item img {
  width: 86px;
  aspect-ratio: 1;
  border-radius: 16px;
  object-fit: cover;
  background: var(--cloud);
}

.editor-item h3 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.editor-item p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.editor-item strong {
  color: var(--brand);
  font-size: 1.15rem;
}

.coupon-card {
  padding: 16px;
}

.coupon-card > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.coupon-card code {
  border-radius: 10px;
  color: var(--brand);
  background: rgba(168, 244, 222, .3);
  padding: 7px 9px;
  font-weight: 950;
}

.coupon-card p {
  color: var(--ink-2);
  line-height: 1.5;
}

.coupon-card small {
  color: var(--muted);
  font-weight: 800;
}

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

.store-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.store-card {
  padding: 18px;
}

.store-card span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 18px;
  color: #061513;
  background: linear-gradient(135deg, var(--mint), #dbeafe);
  font-weight: 950;
}

.store-card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.store-card p {
  margin: 0;
  color: var(--muted);
}

.store-card button,
.community-actions button {
  min-height: 38px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(168, 244, 222, .22);
  padding: 0 13px;
  font-weight: 900;
}

.store-card button.saved,
.save-btn.saved {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.store-badges b,
.queue-icon {
  border-radius: 999px;
  color: var(--brand);
  background: rgba(168, 244, 222, .28);
  padding: 7px 10px;
  font-size: .78rem;
  font-weight: 950;
}

.queue-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  font-size: 1.15rem;
}

.store-card button:hover,
.community-actions button:hover {
  border-color: rgba(15, 118, 110, .35);
  background: rgba(168, 244, 222, .42);
}

.community-section,
.games-archive,
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
  gap: 26px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 0 0, rgba(168, 244, 222, .34), transparent 34%),
    #fff;
  box-shadow: var(--shadow-soft);
}

.topic-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 15px;
}

.topic-card strong {
  display: block;
  margin-bottom: 6px;
}

.topic-card span {
  color: var(--brand);
  font-size: .8rem;
  font-weight: 900;
}

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

.topic-card b {
  color: var(--hot);
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.community-actions button {
  margin-top: 0;
  background: #fff;
}

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

.archive-links a {
  display: grid;
  place-items: center;
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cloud);
}

.archive-links a:hover {
  transform: translateY(-2px);
  background: rgba(168, 244, 222, .3);
}

.site-footer {
  margin-top: 64px;
  margin-bottom: 24px;
  background: #111c2c;
  color: #fff;
}

.site-footer p {
  color: #b8c4d5;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
}

.site-footer a {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #dce7f6;
  text-decoration: none;
  padding: 10px 12px;
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  padding: 12px 16px;
  font-weight: 850;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .24s var(--ease), opacity .24s var(--ease);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.text-link {
  color: var(--brand);
  font-weight: 950;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .market-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    min-width: 68px;
    width: 68px;
    padding: 0;
    color: #fff;
    background: var(--ink);
    font-size: .86rem;
  }

  .primary-nav,
  .header-actions {
    display: none;
  }

  .market-header.menu-open {
    border-radius: 28px;
  }

  .market-header.menu-open .primary-nav,
  .market-header.menu-open .header-actions {
    display: grid;
    grid-column: 1 / -1;
    justify-content: start;
    grid-template-columns: 1fr;
    width: 100%;
    padding-top: 12px;
  }

  .market-header.menu-open .auth-actions {
    display: grid;
    width: 100%;
    gap: 8px;
  }

  .market-header.menu-open .primary-nav a,
  .market-header.menu-open .header-actions a,
  .market-header.menu-open .header-actions button {
    justify-content: center;
    width: 100%;
  }

  .hero,
  .feed-layout,
  .split-section,
  .community-section,
  .games-archive,
  .site-footer,
  .detail-hero,
  .detail-grid,
  .spotlight-card,
  .alert-section {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 440px;
  }

  .cinematic-hero::before {
    width: 78vw;
    height: 78vw;
    opacity: .5;
  }

  .filter-panel {
    position: static;
  }

  .deal-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-main {
    min-height: 380px;
  }

  .detail-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer nav {
    justify-content: start;
  }
}

@media (max-width: 720px) {
  body {
    background:
      radial-gradient(circle at 18% 0%, rgba(168, 244, 222, .45), transparent 22rem),
      linear-gradient(180deg, #fbfefd 0%, #f3f7fb 52%, #ffffff 100%);
  }

  .market-header,
  .hero,
  .trust-strip,
  .category-strip,
  .section-block,
  .feed-layout,
  .store-section,
  .community-section,
  .games-archive,
  .site-footer,
  .split-section,
  .detail-page,
  .alert-section {
    width: calc(100% - 22px);
  }

  .market-header {
    position: sticky;
    top: 8px;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 72px;
  }

  .brand-orb {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .menu-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    flex: 0 0 62px;
    width: 62px;
    min-width: 62px;
    min-height: 42px;
    padding: 0;
    font-size: .78rem;
    z-index: 5;
    box-shadow: 0 10px 20px rgba(20, 32, 47, .18);
  }

  .market-header.menu-open {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .brand small {
    display: none;
  }

  .hero {
    gap: 22px;
    padding-top: 42px;
    padding-bottom: 18px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 11vw, 3.15rem);
    line-height: .96;
    letter-spacing: -.04em;
  }

  .hero h1 span {
    display: block;
  }

  .hero-text {
    font-size: 1rem;
    max-width: 36ch;
  }

  .search-panel {
    grid-template-columns: 42px minmax(0, 1fr);
    border-radius: 24px;
    gap: 8px;
    padding: 8px;
  }

  .search-panel span {
    width: 38px;
    height: 38px;
  }

  .search-panel input {
    font-size: .94rem;
  }

  .search-panel button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
  }

  .category-strip {
    position: static;
    justify-content: start;
    border-radius: 24px;
  }

  .deal-grid,
  .compact-grid,
  .store-grid,
  .trust-strip,
  .archive-links,
  .detail-facts,
  .detail-actions,
  .comment-composer,
  .category-card-grid,
  .form-grid,
  .mini-stats {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 310px;
    overflow: hidden;
    border-radius: 28px;
  }

  .floating-deal-card {
    min-width: 132px;
    max-width: 154px;
    padding: 12px;
    border-radius: 20px;
    animation-duration: 9s;
  }

  .floating-deal-card strong {
    font-size: 1rem;
  }

  .floating-deal-card b {
    font-size: 1.28rem;
  }

  .card-a { left: 0; top: 0; }
  .card-b {
    left: min(58%, 218px);
    right: auto;
    top: 118px;
    max-width: 126px;
  }
  .card-c { left: 4%; bottom: 10px; }

  .orbital-board {
    inset: 44px 0 10px 0;
    border-radius: 28px;
    box-shadow: 0 14px 34px rgba(27, 43, 65, .09);
  }

  .pulse-grid,
  .trend-list {
    width: 100%;
  }

  .trend-list li {
    grid-template-columns: 38px 1fr;
    border-radius: 20px;
  }

  .trend-list strong {
    grid-column: 2;
  }

  .spotlight-card,
  .alert-section {
    border-radius: 26px;
    padding: 16px;
  }

  .spotlight-art {
    min-height: 280px;
  }

  .spotlight-actions {
    display: grid;
  }

  .category-card {
    min-height: 210px;
  }

  .deal-card:hover,
  .category-card:hover,
  .store-card:hover {
    transform: none;
  }

  .deal-image {
    aspect-ratio: 1.5 / 1;
  }

  .deal-body {
    padding: 14px;
  }

  .deal-signals {
    justify-content: start;
  }

  .detail-hero,
  .product-gallery,
  .deal-summary,
  .detail-panel {
    border-radius: 24px;
    min-width: 0;
  }

  .detail-hero {
    padding: 10px;
    overflow: hidden;
  }

  .breadcrumb {
    margin-top: 22px;
    overflow: hidden;
  }

  .breadcrumb span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .gallery-main {
    min-height: 260px;
    border-radius: 20px;
  }

  .gallery-main img {
    width: min(82%, 300px);
    height: min(72%, 230px);
  }

  .page-hero {
    border-radius: 26px;
    padding: 26px 20px;
  }

  .page-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .gallery-thumbs button {
    min-height: 68px;
    border-radius: 16px;
    padding: 0;
  }

  .gallery-thumbs img {
    width: 76%;
    height: 44px;
  }

  .deal-summary {
    padding: 20px;
  }

  .deal-summary h1 {
    font-size: clamp(1.82rem, 8vw, 2.72rem);
    line-height: 1.03;
    letter-spacing: -.03em;
    word-break: normal;
  }

  .deal-summary .deal-description {
    font-size: .95rem;
    line-height: 1.55;
  }

  .summary-price {
    gap: 8px;
  }

  .summary-price span {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }

  .detail-facts div {
    min-height: auto;
  }

  .coupon-detail {
    align-items: stretch;
    flex-direction: column;
    overflow: hidden;
  }

  .coupon-detail button,
  .comment-composer button,
  .detail-actions .heat-button,
  .detail-actions .save-btn,
    .detail-actions .ghost-button {
      width: 100%;
    }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    align-items: stretch;
  }

  .admin-filters,
  .admin-badges,
  .admin-actions {
    justify-content: start;
  }

  .coupon-page-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .feed-toolbar,
  .editor-item {
    align-items: start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .editor-item {
    display: grid;
  }

  .community-section,
  .games-archive,
  .site-footer {
    padding: 22px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

/* Premium UI pass: stronger DealNest identity, depth, and motion without backend changes. */
:root {
  --ink: #101827;
  --ink-2: #2e3c51;
  --muted: #687489;
  --paper: #fffefa;
  --cloud: #f4f7fb;
  --line: rgba(32, 47, 70, .13);
  --line-strong: rgba(32, 47, 70, .22);
  --brand: #0b6f67;
  --brand-2: #214f91;
  --mint: #9af3dc;
  --gold: #ffd66b;
  --hot: #ff6b4a;
  --pink: #d9468f;
  --blue: #427df3;
  --shadow: 0 32px 90px rgba(19, 30, 48, .16);
  --shadow-soft: 0 18px 44px rgba(19, 30, 48, .1);
  --shadow-tight: 0 10px 28px rgba(19, 30, 48, .09);
  --radius: 26px;
  --radius-sm: 16px;
  --display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  accent-color: var(--brand);
}

body {
  color: var(--ink);
  font-family: var(--display);
  background:
    url("../backgrounds/dealnest-premium-mesh.svg") center top / min(1360px, 120vw) auto no-repeat,
    url("../backgrounds/dealnest-rings.svg") right -260px top -180px / min(72vw, 840px) auto no-repeat,
    linear-gradient(180deg, #fcfffd 0%, #f4f7fb 43%, #fff 100%);
  text-rendering: optimizeLegibility;
}

body::before {
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 255, 255, .92), transparent 28rem),
    linear-gradient(120deg, rgba(11, 111, 103, .06), transparent 34%),
    linear-gradient(245deg, rgba(255, 214, 107, .1), transparent 36%);
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(11, 111, 103, .36);
  outline-offset: 4px;
  border-radius: 14px;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--brand), var(--blue), var(--gold));
  box-shadow: 0 0 18px rgba(66, 125, 243, .28);
  pointer-events: none;
}

.market-header {
  min-height: 78px;
  padding: 10px 12px;
  border-color: rgba(255, 255, 255, .72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .58)),
    rgba(255, 255, 255, .72);
  box-shadow: 0 20px 54px rgba(21, 33, 52, .12);
  backdrop-filter: blur(24px) saturate(1.18);
}

.brand-orb {
  border-radius: 18px;
  background:
    radial-gradient(circle at 24% 18%, #fff, transparent 30%),
    conic-gradient(from 160deg, var(--mint), #dcecff, var(--gold), var(--mint));
  box-shadow: inset 0 -12px 24px rgba(10, 91, 85, .16), 0 18px 28px rgba(11, 111, 103, .2);
}

.brand strong,
.section-heading h2,
.page-hero h1,
.deal-summary h1,
.hero h1 {
  letter-spacing: -.055em;
}

.primary-nav {
  padding: 5px;
  border: 1px solid rgba(32, 47, 70, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .52);
}

.primary-nav a {
  border-radius: 999px;
}

.primary-nav a:hover {
  color: #071512;
  background: rgba(154, 243, 220, .34);
}

.post-button,
.deal-merchant-button,
.search-panel button {
  color: #071512;
  border: 1px solid rgba(255, 255, 255, .7);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .85), transparent 34%),
    linear-gradient(135deg, var(--mint), #d7f7ff 48%, var(--gold));
  box-shadow: 0 16px 34px rgba(11, 111, 103, .18), inset 0 -12px 24px rgba(11, 111, 103, .08);
}

.ghost-button,
.deal-action,
.save-btn,
.copy-btn,
.heat-button {
  transform: translate(var(--magnet-x, 0), var(--magnet-y, 0));
}

.ghost-button:hover,
.deal-action:hover,
.save-btn:hover,
.copy-btn:hover,
.heat-button:hover,
.post-button:hover {
  filter: saturate(1.08);
}

.hero {
  margin-top: clamp(34px, 7vw, 74px);
}

.cinematic-hero {
  min-height: min(760px, calc(100vh - 120px));
  border: 1px solid rgba(255, 255, 255, .78);
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 214, 107, .28), transparent 24rem),
    radial-gradient(circle at 12% 14%, rgba(154, 243, 220, .4), transparent 28rem),
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(246, 250, 255, .66));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cinematic-hero::before {
  opacity: .72;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .74), transparent 40%),
    url("../backgrounds/dealnest-premium-mesh.svg") center / cover no-repeat;
}

.hero-copy {
  padding-block: clamp(18px, 4vw, 52px);
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(4rem, 9.5vw, 8.8rem);
  line-height: .82;
}

.hero h1 span:nth-child(2) {
  color: transparent;
  background: linear-gradient(90deg, var(--brand), var(--blue) 48%, var(--hot));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-text {
  max-width: 68ch;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  line-height: 1.62;
}

.search-panel {
  max-width: 780px;
  border: 1px solid rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 20px 54px rgba(21, 33, 52, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.search-panel:focus-within {
  border-color: rgba(11, 111, 103, .3);
  box-shadow: 0 24px 68px rgba(11, 111, 103, .16), 0 0 0 6px rgba(154, 243, 220, .18);
}

.hero-stage {
  perspective: 1000px;
}

.orbital-board {
  border: 1px solid rgba(255, 255, 255, .72);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .9), transparent 24%),
    linear-gradient(145deg, rgba(15, 118, 110, .12), rgba(66, 125, 243, .14) 48%, rgba(255, 214, 107, .2));
  box-shadow: 0 36px 90px rgba(19, 30, 48, .18), inset 0 1px 0 rgba(255, 255, 255, .75);
  transform: rotateX(7deg) rotateY(-9deg);
}

.floating-deal-card {
  border: 1px solid rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 22px 54px rgba(19, 30, 48, .16);
  backdrop-filter: blur(20px) saturate(1.18);
  animation: float-card 7s var(--ease) infinite alternate;
}

.card-b {
  animation-delay: -2s;
}

.card-c {
  animation-delay: -4s;
}

@keyframes float-card {
  from { transform: translateY(0) rotate(-1deg); }
  to { transform: translateY(-14px) rotate(1.5deg); }
}

.section-block,
.filter-panel,
.feed-panel,
.page-hero,
.detail-hero,
.product-gallery,
.deal-summary,
.detail-panel,
.access-panel,
.dashboard-card,
.alert-builder {
  border-color: rgba(255, 255, 255, .72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(248, 251, 255, .72)),
    rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(1.08);
}

.section-heading h2,
.feed-toolbar h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: .92;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(11, 111, 103, .18);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(154, 243, 220, .18);
  padding: 7px 10px;
  letter-spacing: .08em;
}

.trust-strip article,
.pulse-grid article {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, .72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(245, 250, 255, .72)),
    rgba(255, 255, 255, .76);
}

.trust-strip article::after,
.pulse-grid article::after {
  content: "";
  position: absolute;
  inset: auto -20% -42% 28%;
  height: 80px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(154, 243, 220, .34), transparent 72%);
}

.deal-grid {
  align-items: stretch;
}

.feed-skeleton article {
  min-height: 430px;
  border-radius: 30px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .72) 20%, rgba(232, 241, 250, .9) 40%, rgba(255, 255, 255, .72) 62%) 0 0 / 220% 100%,
    rgba(255, 255, 255, .72);
  animation: skeleton-sheen 1.35s ease-in-out infinite;
  box-shadow: var(--shadow-soft);
}

@keyframes skeleton-sheen {
  to { background-position: -220% 0; }
}

.deal-card {
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(250, 252, 255, .84)),
    rgba(255, 255, 255, .82);
  box-shadow: 0 18px 48px rgba(19, 30, 48, .1);
}

.deal-card::before {
  background: linear-gradient(135deg, rgba(154, 243, 220, .34), rgba(66, 125, 243, .16), rgba(255, 214, 107, .28));
  opacity: 0;
}

.deal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 90px rgba(19, 30, 48, .18);
}

.deal-card:hover::before {
  opacity: 1;
}

.deal-image {
  margin: 10px;
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.deal-image img,
.gallery-main img,
.spotlight-art img {
  filter: drop-shadow(0 24px 30px rgba(19, 30, 48, .18));
}

.deal-title {
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  letter-spacing: -.025em;
  line-height: 1.18;
}

.price {
  color: var(--brand);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -.055em;
}

.deal-signals {
  gap: 8px;
}

.deal-signals span,
.posted-by,
.status-badge,
.discount-badge,
.category-badge,
.status-pill {
  letter-spacing: 0;
}

.discount-badge {
  background: linear-gradient(135deg, var(--hot), var(--pink));
  box-shadow: 0 14px 28px rgba(255, 107, 74, .22);
}

.status-badge,
.category-badge {
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 20px rgba(19, 30, 48, .08);
}

.heat-button {
  color: var(--brand);
  border-color: rgba(11, 111, 103, .18);
  background: rgba(154, 243, 220, .22);
}

.heat-button.voted,
.save-btn.saved,
.store-card button.saved {
  color: #071512;
  background: linear-gradient(135deg, var(--mint), #e7fff7);
}

.category-card,
.store-card,
.coupon-card,
.topic-card,
.editor-item,
.admin-row {
  border-color: rgba(255, 255, 255, .74);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(248, 251, 255, .74)),
    rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-tight);
}

.category-card {
  position: relative;
  overflow: hidden;
}

.category-card::after,
.store-card::after,
.coupon-card::after {
  content: "";
  position: absolute;
  inset: auto -22% -28% 28%;
  height: 100px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(154, 243, 220, .22), transparent 70%);
  pointer-events: none;
}

.store-card,
.coupon-card {
  position: relative;
  overflow: hidden;
}

.store-card span {
  box-shadow: inset 0 -10px 16px rgba(11, 111, 103, .12), 0 16px 30px rgba(11, 111, 103, .12);
}

.coupon-card code {
  border: 1px dashed rgba(11, 111, 103, .34);
  background: rgba(154, 243, 220, .18);
}

.auth-modal {
  background: rgba(8, 13, 22, .5);
  backdrop-filter: blur(16px);
}

.auth-dialog {
  border: 1px solid rgba(255, 255, 255, .72);
  background:
    radial-gradient(circle at 12% 0%, rgba(154, 243, 220, .32), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(245, 250, 255, .88));
  box-shadow: 0 40px 110px rgba(8, 13, 22, .26);
}

.deal-form input,
.deal-form select,
.deal-form textarea,
.alert-builder input,
.alert-builder select,
.alert-builder textarea,
.comment-composer textarea,
.coupon-workspace select {
  border-color: rgba(32, 47, 70, .14);
  background: rgba(255, 255, 255, .86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.deal-form input:focus,
.deal-form select:focus,
.deal-form textarea:focus,
.alert-builder input:focus,
.alert-builder select:focus,
.alert-builder textarea:focus,
.comment-composer textarea:focus {
  border-color: rgba(11, 111, 103, .34);
  outline: none;
  box-shadow: 0 0 0 5px rgba(154, 243, 220, .18);
}

.detail-hero {
  background:
    radial-gradient(circle at 68% 20%, rgba(255, 214, 107, .24), transparent 24rem),
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(247, 251, 255, .74));
}

.gallery-main {
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, .96), transparent 26%),
    linear-gradient(135deg, #eef9ff, #effdf8 52%, #fff6dc);
}

.dashboard-card,
.admin-row {
  box-shadow: var(--shadow-tight);
}

.admin-review-row {
  border-left: 4px solid rgba(11, 111, 103, .42);
}

.admin-actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(19, 30, 48, .12);
}

.empty-state {
  border-color: rgba(255, 255, 255, .72);
  background:
    radial-gradient(circle at 18% 0%, rgba(154, 243, 220, .24), transparent 16rem),
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(248, 251, 255, .76));
  box-shadow: var(--shadow-tight);
}

.site-footer {
  border-color: rgba(255, 255, 255, .72);
  background:
    linear-gradient(135deg, rgba(16, 24, 39, .96), rgba(19, 45, 66, .94)),
    #101827;
  box-shadow: 0 30px 90px rgba(8, 13, 22, .22);
}

.site-footer,
.site-footer a,
.site-footer p {
  color: rgba(255, 255, 255, .78);
}

.site-footer strong {
  color: #fff;
}

.motion-item {
  transform: translateY(26px) scale(.985);
  transition: opacity .72s var(--ease), transform .72s var(--ease), filter .72s var(--ease);
  filter: blur(3px);
}

.motion-item.in-view {
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.depth-card {
  transform-style: preserve-3d;
}

@media (max-width: 1080px) {
  .hero h1 {
    max-width: 14ch;
    font-size: clamp(3.4rem, 12vw, 6.7rem);
  }

  .post-preview-panel,
  .filter-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .market-header {
    top: 8px;
    width: calc(100% - 18px);
    border-radius: 26px;
  }

  .primary-nav {
    border-radius: 24px;
  }

  .hero,
  .section-block,
  .feed-layout,
  .split-section,
  .store-section,
  .community-section,
  .games-archive,
  .site-footer {
    width: calc(100% - 18px);
  }

  .cinematic-hero {
    min-height: auto;
    padding: 20px;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3.25rem, 18vw, 5.35rem);
  }

  .search-panel {
    padding: 8px;
  }

  .feed-skeleton article {
    min-height: 340px;
  }

  .deal-card,
  .category-card,
  .store-card,
  .coupon-card,
  .topic-card {
    border-radius: 24px;
  }

  .deal-card:hover {
    transform: none;
  }

  .admin-review-row,
  .submitted-list article {
    grid-template-columns: 1fr;
  }

  .admin-thumb img,
  .submitted-list img {
    max-height: 180px;
    aspect-ratio: 1.6 / 1;
  }

  .auth-dialog {
    width: calc(100% - 22px);
    border-radius: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress,
  .floating-deal-card,
  .feed-skeleton article {
    animation: none !important;
  }

  .motion-item {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
