:root {
  --ink: #20201e;
  --paper: #f7f6f1;
  --white: #fff;
  --lime: #c9fa52;
  --orange: #ff6846;
  --purple: #8d73ee;
  --line: #d9d8d1;
  --muted: #6f6e69;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.announcement {
  min-height: 38px;
  padding: 8px 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  letter-spacing: .01em;
  position: relative;
}
.announcement p { margin: 0; }
.announcement a { color: var(--lime); font-weight: 700; }
.announcement a span { display: inline-block; margin-left: 4px; transition: transform .2s; }
.announcement a:hover span { transform: translateX(3px); }
.announcement-close {
  position: absolute;
  right: 22px;
  border: 0;
  padding: 2px 6px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  opacity: .7;
}

.site-header {
  height: 82px;
  padding: 0 clamp(22px, 4vw, 68px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247,246,241,.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand svg { width: 30px; fill: var(--ink); }
.brand-cut { fill: var(--lime); }
.brand span {
  font: 800 25px/1 "Manrope", sans-serif;
  letter-spacing: -.06em;
}
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a { font-size: 14px; font-weight: 600; position: relative; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -8px;
  height: 2px;
  background: var(--ink);
  transition: right .25s;
}
.desktop-nav a:hover::after, .desktop-nav a.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.login-button, .join-button {
  border-radius: 100px;
  padding: 11px 19px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.login-button { border: 1px solid var(--line); background: transparent; }
.join-button { border: 1px solid var(--ink); color: #fff; background: var(--ink); }
.login-button:hover { border-color: var(--ink); }
.join-button:hover { background: #393936; }
.icon-button {
  width: 40px; height: 40px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
}
.icon-button:hover { background: #ecebe5; }
.icon-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.favorite-count {
  position: absolute;
  top: 0; right: 0;
  width: 16px; height: 16px;
  display: none;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-size: 9px;
  font-weight: 800;
}
.menu-button { display: none; }

.hero {
  min-height: 600px;
  padding: 90px 20px 80px;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-content { width: min(790px, 100%); position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #585853;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .17em;
}
.eyebrow span { width: 21px; height: 2px; background: var(--orange); }
.hero .eyebrow { justify-content: center; }
h1, h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  letter-spacing: -.065em;
  line-height: .98;
}
h1 { font-size: clamp(48px, 6.4vw, 86px); font-weight: 700; }
h1 em, h2 em { color: var(--orange); font-family: Georgia, serif; font-weight: 400; }
.hero-copy {
  max-width: 590px;
  margin: 25px auto 31px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.search-shell {
  height: 68px;
  padding: 7px;
  display: flex;
  border: 1px solid #c8c7c0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 45px rgba(31,31,29,.09);
  text-align: left;
}
.search-type { position: relative; }
.type-trigger {
  height: 100%;
  min-width: 130px;
  padding: 0 17px;
  border: 0;
  border-right: 1px solid #e3e2dc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.type-trigger svg, .sort-button svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.type-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -7px;
  width: 155px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: none;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20,20,20,.13);
  z-index: 10;
}
.type-menu.open { display: grid; }
.type-menu button { padding: 9px 10px; border: 0; border-radius: 7px; background: transparent; text-align: left; cursor: pointer; font-size: 13px; }
.type-menu button:hover { background: var(--paper); }
.search-shell label { flex: 1; display: flex; align-items: center; gap: 11px; padding: 0 18px; }
.search-shell label svg { width: 21px; fill: none; stroke: #8a8983; stroke-width: 1.7; }
.search-shell input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 14px; }
.search-shell input::placeholder { color: #9b9a94; }
.search-button {
  width: 105px;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  background: var(--lime);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}
.search-button:hover { background: #baf03e; }
.trending { margin-top: 17px; display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; font-size: 11px; color: #85847f; }
.trending button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid #b8b7b1;
  background: transparent;
  color: #676661;
  cursor: pointer;
}
.hero-art { width: 285px; position: absolute; top: 48%; transform: translateY(-50%); opacity: .95; }
.hero-art-left { left: max(-95px, calc(50% - 715px)); }
.hero-art-right { right: max(-95px, calc(50% - 715px)); }
.hero-art svg { width: 100%; overflow: visible; fill: none; stroke: var(--ink); stroke-width: 2; }
.hero-art .scribble, .hero-art .loop, .hero-art .wave { stroke-linecap: round; }
.hero-art .star { fill: var(--lime); }
.hero-art-left circle { fill: var(--purple); }
.hero-art .flower { fill: var(--orange); }
.hero-art-right circle { fill: var(--paper); }
.hero-art .spark { fill: var(--lime); }

.category-strip {
  max-width: 1220px;
  margin: 0 auto 110px;
  padding: 0 26px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.ad-unit {
  border: 1px dashed #b9b8b1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #777670;
  background: #eeede7;
  text-align: center;
}
.ad-unit > span {
  align-self: start;
  margin-top: 8px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.ad-unit div { display: grid; gap: 4px; }
.ad-unit strong { color: #55544f; font-size: 12px; }
.ad-unit small { font-size: 9px; }
.ad-unit-wide {
  width: min(970px, calc(100% - 36px));
  min-height: 110px;
  margin: -62px auto 72px;
}
.category-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 14px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.category-card:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 12px 30px rgba(30,30,28,.07); }
.category-icon { grid-row: 1/3; width: 54px; height: 54px; border-radius: 10px; display: grid; place-items: center; }
.category-icon svg { width: 35px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.category-icon.mint { background: #c7f1dc; }
.category-icon.peach { background: #ffd5c8; }
.category-icon.lilac { background: #dcd2ff; }
.category-icon.lemon { background: #eef8a6; }
.category-icon.blue { background: #c8def8; }
.category-card > span:nth-child(2) { align-self: end; font-size: 13px; font-weight: 800; }
.category-card small { color: var(--muted); font-size: 10px; }

.asset-section { padding: 110px max(25px, 4.7vw) 120px; background: #fff; }
.section-heading { margin-bottom: 55px; display: flex; align-items: end; justify-content: space-between; }
.section-heading h2, .creator-copy h2 { font-size: clamp(45px, 5vw, 69px); }
.section-heading > p { max-width: 370px; margin: 0 0 5px; color: var(--muted); line-height: 1.7; font-size: 14px; }
.asset-toolbar { margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill, .sort-button {
  padding: 10px 16px;
  border: 1px solid #dddcd6;
  border-radius: 100px;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.filter-pill:hover, .filter-pill.active { border-color: var(--ink); color: #fff; background: var(--ink); }
.sort-button { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 15px;
}
.asset-card { min-width: 0; }
.asset-visual {
  aspect-ratio: 1 / .78;
  border-radius: 11px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.asset-visual .artwork { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.asset-card:hover .artwork { transform: scale(1.035); }
.asset-overlay {
  padding: 12px;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  opacity: 0;
  transition: opacity .2s;
  background: linear-gradient(to bottom, rgba(0,0,0,.12), transparent 45%);
}
.asset-card:hover .asset-overlay { opacity: 1; }
.asset-label {
  padding: 7px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.heart-button {
  width: 35px; height: 35px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.94);
  cursor: pointer;
  font-size: 19px;
  transition: transform .15s;
}
.heart-button:hover { transform: scale(1.08); }
.heart-button.active { color: #ed4f4f; }
.asset-meta { padding: 12px 3px 0; display: flex; justify-content: space-between; gap: 12px; }
.asset-meta h3 { margin: 0 0 4px; font-size: 13px; }
.asset-meta p { margin: 0; color: var(--muted); font-size: 10px; }
.asset-formats { color: #8a8983; font-size: 9px; font-weight: 700; text-align: right; white-space: nowrap; }
.load-more {
  margin: 55px auto 0;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.load-more:hover { color: #fff; background: var(--ink); }
.empty-state { padding: 70px 20px; display: none; text-align: center; }
.empty-state h3 { margin: 0 0 8px; font: 700 26px "Manrope", sans-serif; }
.empty-state p { color: var(--muted); }
.empty-state button { padding: 10px 18px; border: 0; border-radius: 100px; background: var(--lime); font-weight: 700; cursor: pointer; }

.creator-banner {
  min-height: 520px;
  padding: 80px max(30px, 7vw);
  display: grid;
  grid-template-columns: .8fr 1.3fr .8fr;
  align-items: center;
  gap: 7vw;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.creator-mark { position: relative; }
.creator-mark::before { content: ""; width: 210px; height: 210px; border-radius: 50%; background: var(--orange); position: absolute; left: 10%; top: 5%; filter: blur(1px); }
.creator-mark svg { width: min(260px, 100%); position: relative; fill: none; stroke: #111; stroke-width: 1.5; animation: slowspin 22s linear infinite; }
@keyframes slowspin { to { transform: rotate(360deg); } }
.eyebrow.light { color: #b9b8b2; }
.creator-copy h2 em { color: var(--lime); }
.creator-copy > p:not(.eyebrow) { max-width: 460px; margin: 27px 0; color: #aaa9a4; font-size: 14px; line-height: 1.75; }
.creator-copy > a { display: inline-flex; gap: 30px; padding-bottom: 7px; border-bottom: 1px solid #777; font-size: 12px; font-weight: 800; }
.creator-copy > a:hover span { transform: translateX(4px); }
.creator-stats { display: grid; }
.creator-stats div { padding: 21px 0; border-bottom: 1px solid #494946; display: grid; gap: 3px; }
.creator-stats strong { font: 700 28px "Manrope", sans-serif; }
.creator-stats span { color: #8e8d89; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }

footer {
  padding: 65px max(25px, 5vw) 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
footer > p { margin: 0; text-align: right; font: 500 26px Georgia, serif; font-style: italic; }
.footer-links { padding-top: 25px; border-top: 1px solid var(--line); display: flex; gap: 28px; grid-column: 1/3; font-size: 12px; font-weight: 700; }
footer small { grid-column: 1/3; color: #999790; font-size: 10px; }

.asset-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.asset-modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(22,22,20,.72); backdrop-filter: blur(5px); }
.modal-panel {
  width: min(920px, calc(100% - 30px));
  max-height: min(650px, calc(100vh - 30px));
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  background: #fff;
  overflow: hidden;
  position: relative;
  transform: translateY(18px);
  transition: transform .25s;
}
.asset-modal.open .modal-panel { transform: none; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 37px; height: 37px;
  border: 0; border-radius: 50%;
  background: #fff;
  cursor: pointer;
  z-index: 2;
  font-size: 23px;
}
.modal-preview { min-height: 530px; display: grid; }
.modal-preview svg, .modal-preview img { width: 100%; height: 100%; object-fit: cover; }
.modal-details { padding: 60px 38px 35px; display: flex; flex-direction: column; }
.modal-kind { margin: 0 0 11px; color: var(--orange); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.modal-details h2 { font-size: 35px; line-height: 1.05; letter-spacing: -.04em; }
.modal-author { margin: 11px 0 25px; color: var(--muted); font-size: 12px; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.modal-tags span { padding: 6px 9px; border-radius: 50px; background: var(--paper); font-size: 9px; }
.license-note { margin-top: auto; padding: 15px; border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 3px; font-size: 11px; }
.license-note span { color: var(--muted); font-size: 9px; }
.download-button, .modal-favorite { width: 100%; margin-top: 10px; padding: 13px; border-radius: 9px; cursor: pointer; font-size: 12px; font-weight: 800; }
.download-button { border: 0; display: flex; justify-content: space-between; background: var(--lime); }
.modal-favorite { border: 1px solid var(--line); background: #fff; }
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  padding: 12px 20px;
  border-radius: 100px;
  color: #fff;
  background: var(--ink);
  z-index: 200;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  font-size: 12px;
  font-weight: 700;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.download-gate {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.download-gate.open { opacity: 1; visibility: visible; }
.download-gate-backdrop { position: absolute; inset: 0; background: rgba(22,22,20,.78); backdrop-filter: blur(6px); }
.download-gate-panel {
  width: min(520px, calc(100% - 28px));
  padding: 36px;
  border-radius: 18px;
  background: #fff;
  position: relative;
  transform: translateY(16px);
  transition: transform .25s;
}
.download-gate.open .download-gate-panel { transform: none; }
.download-gate-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  font-size: 22px;
}
.download-gate-panel .eyebrow { margin-bottom: 13px; }
.download-gate-panel h2 { font-size: 38px; letter-spacing: -.05em; }
.gate-copy { margin: 14px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.ad-unit-gate { min-height: 170px; margin-bottom: 20px; }
.countdown-row { display: flex; align-items: center; gap: 17px; }
.countdown-ring {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  border: 5px solid var(--lime);
  border-radius: 50%;
  display: grid;
  align-content: center;
  text-align: center;
}
.countdown-ring strong { font: 800 25px/1 "Manrope", sans-serif; }
.countdown-ring span { margin-top: 3px; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.countdown-row > div:last-child { display: grid; gap: 4px; }
.countdown-row > div:last-child strong { font-size: 14px; }
.countdown-row > div:last-child span { color: var(--muted); font-size: 10px; }
.gate-download-button {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border: 0;
  border-radius: 9px;
  background: #e3e2dc;
  color: #888780;
  font-size: 12px;
  font-weight: 800;
}
.gate-download-button.ready { color: var(--ink); background: var(--lime); cursor: pointer; }

@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .menu-button { width: 40px; height: 40px; border: 0; background: transparent; display: grid; align-content: center; gap: 6px; cursor: pointer; }
  .menu-button span { width: 21px; height: 1.5px; background: var(--ink); }
  .hero-art { width: 220px; opacity: .5; }
  .category-strip { grid-template-columns: repeat(3, 1fr); }
  .asset-grid { grid-template-columns: repeat(3, 1fr); }
  .creator-banner { grid-template-columns: .65fr 1.35fr; }
  .creator-stats { grid-column: 1/3; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .announcement { padding-left: 14px; justify-content: flex-start; }
  .announcement p { display: none; }
  .site-header { height: 68px; padding: 0 18px; }
  .login-button, .icon-button { display: none; }
  .join-button { padding: 9px 14px; }
  .hero { min-height: 590px; padding: 70px 18px 60px; }
  .hero-art { display: none; }
  h1 { font-size: clamp(46px, 14vw, 64px); }
  .hero-copy { font-size: 14px; }
  .search-shell { height: auto; padding: 6px; }
  .search-type { display: none; }
  .search-shell label { min-width: 0; padding: 0 11px; }
  .search-shell input { font-size: 12px; }
  .search-button { width: 79px; height: 49px; }
  .trending button:nth-last-child(-n+2) { display: none; }
  .category-strip { margin-bottom: 75px; padding: 0 18px; grid-template-columns: 1fr 1fr; }
  .ad-unit-wide { min-height: 90px; margin: -35px auto 55px; }
  .category-card:last-child { display: none; }
  .asset-section { padding: 75px 18px 85px; }
  .section-heading { align-items: start; flex-direction: column; gap: 25px; }
  .section-heading h2, .creator-copy h2 { font-size: 44px; }
  .section-heading > p { max-width: 95%; }
  .asset-toolbar { align-items: flex-start; }
  .filter-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
  .sort-button { display: none; }
  .asset-grid { grid-template-columns: 1fr 1fr; gap: 25px 10px; }
  .asset-meta { display: block; }
  .asset-formats { display: none; }
  .asset-overlay { opacity: 1; background: none; }
  .asset-label { display: none; }
  .heart-button { margin-left: auto; width: 31px; height: 31px; }
  .creator-banner { padding: 70px 25px; display: block; }
  .creator-mark { width: 170px; margin-bottom: 60px; }
  .creator-mark::before { width: 140px; height: 140px; }
  .creator-copy > p:not(.eyebrow) { font-size: 13px; }
  .creator-stats { margin-top: 55px; display: grid; grid-template-columns: 1fr; }
  footer { display: flex; align-items: flex-start; flex-direction: column; }
  footer > p { text-align: left; }
  .footer-links { width: 100%; flex-wrap: wrap; }
  .modal-panel { max-height: calc(100vh - 20px); grid-template-columns: 1fr; overflow-y: auto; }
  .modal-preview { min-height: 300px; }
  .modal-details { padding: 30px 24px 24px; }
  .license-note { margin-top: 30px; }
  .download-gate-panel { padding: 30px 20px 22px; }
  .download-gate-panel h2 { font-size: 32px; }
  .ad-unit-gate { min-height: 150px; }
}

@media (max-width: 390px) {
  .join-button { display: none; }
  .category-strip { grid-template-columns: 1fr; }
  .category-card:last-child { display: grid; }
}

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