:root {
  --pink: rgb(255, 24, 107);
  --pink-deep: rgb(255, 24, 107);
  --pink-soft: rgba(255, 24, 107, 0.12);
  --ink: #141018;
  --ink-soft: #4a4450;
  --paper: #ffffff;
  --surface: #ffffff;
  --line: rgba(255, 24, 107, 0.18);
  --shadow: 0 18px 50px rgba(255, 24, 107, 0.12);
  --radius: 22px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --header-h: 72px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --ink: #f7eef2;
  --ink-soft: #c9b8c2;
  --paper: #120d12;
  --surface: rgba(28, 18, 24, 0.82);
  --line: rgba(255, 24, 107, 0.28);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --pink-soft: rgba(255, 24, 107, 0.2);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

html[data-theme="dark"] body {
  background: var(--paper);
}

.bg-glow,
.bg-grid {
  display: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.75rem clamp(0.6rem, 2vw, 1.25rem);
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.brand-logo {
  display: block;
  height: 2.25rem;
  width: auto;
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-body);
  font-weight: 800;
  font-style: italic;
  /* Pixel-matched to Oopbuy wordmark ink height */
  font-size: 1.91rem;
  letter-spacing: -0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: lowercase;
  color: var(--pink);
  line-height: 1;
  display: block;
}

html[data-theme="dark"] .brand-text {
  color: var(--pink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--pink);
  background: var(--pink-soft);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.locale-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.locale-group {
  position: relative;
}

.locale-btn,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  font-weight: 700;
  font-size: 0.88rem;
}

.locale-btn:hover,
.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--pink);
}

.locale-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.locale-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 7.5rem;
  padding: 0.35rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  z-index: 50;
  display: grid;
  gap: 0.15rem;
}

.locale-menu[hidden] {
  display: none;
}

.locale-menu button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.locale-menu button:hover,
.locale-menu button.active {
  background: var(--pink-soft);
  color: var(--pink);
}

html[data-theme="dark"] .locale-menu {
  background: #1c1218;
}

main {
  width: min(1360px, calc(100% - 1.25rem));
  margin: 0 auto;
  padding: 0.75rem 0 5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-height: 0;
  padding: 0.75rem 0 1.5rem;
  animation: rise 0.8s ease both;
}

.brand-hero {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--pink);
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-sub {
  margin: 1rem 0 0;
  max-width: 38ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 24, 107, 0.28);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--pink);
  color: var(--pink);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.categories-section {
  margin: 2rem 0 3rem;
}

.categories-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.categories-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.categories-head p {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
  max-width: 36rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem 0.75rem;
}

.category-card {
  display: grid;
  gap: 0.5rem;
  text-align: center;
  color: inherit;
  transition: transform 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
}

.category-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  background: var(--pink-soft);
  border: 1px solid var(--line);
}

.category-thumb img,
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.category-card span {
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-visual {
  min-height: 320px;
  display: grid;
  align-items: stretch;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  padding: 2rem;
  background: var(--pink);
  color: #fff;
  box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}

.hero-panel-shine {
  display: none;
}

.hero-panel-label {
  position: relative;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  opacity: 0.85;
}

.hero-panel-stat {
  position: relative;
  margin: 1.2rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.hero-panel-note {
  position: relative;
  margin: 0;
  max-width: 18ch;
  opacity: 0.9;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0 3rem;
  animation: rise 0.9s ease 0.1s both;
}

.metric {
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--pink);
  letter-spacing: -0.03em;
}

.metric span {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.countdown-section,
.giveaway,
.faq,
.page-hero,
.catalog,
.simple-panel {
  margin-bottom: 3rem;
}

.countdown-section {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: rise 1s ease 0.15s both;
}

.countdown-section h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  color: var(--pink);
  font-size: 1.4rem;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 640px;
  margin: 0 auto;
}

.countdown-unit span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--pink);
  letter-spacing: -0.04em;
}

.countdown-unit small {
  color: var(--ink-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--pink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.section-head h2,
.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p,
.page-hero p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

.prize-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.prize {
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.prize span {
  font-size: 1.6rem;
}

.prize h3 {
  margin: 0.5rem 0 0.2rem;
  font-size: 1rem;
}

.prize p {
  margin: 0;
  color: var(--pink);
  font-weight: 700;
}

.giveaway-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  max-width: 560px;
}

.giveaway-form input,
.search-bar input {
  flex: 1 1 220px;
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.giveaway-form input:focus,
.search-bar input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px var(--pink-soft);
}

.form-note {
  margin: 0.75rem 0 0;
  color: var(--pink);
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.35rem 1.1rem;
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 0;
  font-weight: 700;
  font-family: var(--font-display);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.howto {
  position: fixed;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
}

.howto-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #5865f2;
  color: #fff;
  border: none;
  box-shadow: 0 12px 28px rgba(88, 101, 242, 0.35);
  font-weight: 800;
  font-size: 0.88rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.howto-discord:hover {
  transform: translateX(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(88, 101, 242, 0.42);
}

.howto-discord svg {
  display: block;
  flex-shrink: 0;
}

.site-footer {
  width: min(1360px, calc(100% - 1.25rem));
  margin: 0 auto 2rem;
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.footer-brand p,
.footer-copy {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--pink);
  font-weight: 700;
}

/* Spreadsheet / inner pages */
.page-hero {
  padding: 2rem 0 1rem;
  animation: rise 0.7s ease both;
}

.page-hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.1rem;
}

.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--pink-soft);
  border: 1px solid var(--line);
  margin-bottom: 1.25rem;
}

.banner p {
  margin: 0;
  font-weight: 600;
}

.category-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.75rem;
  margin: 0 0 1.25rem;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 14px 30px rgba(255, 24, 107, 0.28);
  scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
  display: none;
}

.category-bar button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.category-bar button.active,
.category-bar button:hover {
  background: #fff;
  color: var(--pink);
}

.search-bar {
  position: relative;
  display: flex;
  margin-bottom: 1.5rem;
  z-index: 15;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  background: #fff;
  border: 1.5px solid var(--pink);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(255, 24, 107, 0.14);
  max-height: 280px;
  overflow-y: auto;
}

.search-suggestions[hidden] {
  display: none;
}

.search-suggestions li {
  margin: 0;
}

.search-suggestions button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.7rem 1.15rem;
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}

.search-suggestions button:hover,
.search-suggestions button.is-active {
  background: var(--pink-soft);
  color: var(--pink);
}

.search-suggestions .suggest-meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.catalog-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.catalog-head span {
  color: var(--ink-soft);
  font-weight: 600;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease;
  min-height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink);
}

.product-media {
  aspect-ratio: 1;
  background: var(--pink-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--pink);
  overflow: hidden;
}

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

/* Product detail page */
.product-page {
  padding-top: 0.5rem;
}

.product-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
}

.product-crumbs a {
  color: var(--pink);
}

.product-crumbs span.sep {
  opacity: 0.45;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  margin-bottom: 2.5rem;
}

.product-gallery {
  display: grid;
  gap: 0.75rem;
  max-width: 480px;
}

.product-stage {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--pink-soft);
  border: 1px solid var(--line);
}

.product-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-thumbs button {
  width: 4.2rem;
  height: 4.2rem;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.product-thumbs button.is-on,
.product-thumbs button:hover {
  border-color: var(--pink);
}

.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--pink-soft);
  color: var(--pink);
}

.product-tag.is-qc {
  background: #e8f8ef;
  color: #1b7a45;
}

.product-tag.is-hot {
  background: #fff1e8;
  color: #c24a00;
}

.product-info h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.product-sub {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.product-price {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--pink);
  letter-spacing: -0.03em;
}

.product-meta-list {
  display: grid;
  gap: 0.45rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.product-meta-list li {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-weight: 600;
}

.product-meta-list strong {
  color: var(--ink);
  min-width: 5.5rem;
}

.product-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.product-sizes span {
  min-width: 2.6rem;
  text-align: center;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.88rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.product-actions .btn {
  width: 100%;
  max-width: 28rem;
  padding: 1.15rem 1.6rem;
  font-size: 1.12rem;
  border-radius: 16px;
}

.product-related {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.product-related h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.product-body {
  padding: 0.95rem 1rem 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.product-body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.product-body .price {
  color: var(--pink);
  font-weight: 800;
  font-size: 1.05rem;
}

.product-body .meta {
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.pagination button {
  min-width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.pagination button.active,
.pagination button:hover:not(:disabled) {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.simple-panel {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.simple-panel ol,
.simple-panel ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.track-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  max-width: 480px;
}

.track-form input {
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: color-mix(in srgb, var(--surface) 80%, #fff);
  color: var(--ink);
}

.track-result {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: var(--pink-soft);
  border: 1px solid var(--line);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--ink-soft);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 960px) {
  .hero,
  .product-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .metrics,
  .prize-row,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .categories-head {
    flex-direction: column;
  }

  .howto {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.15rem;
  }

  .brand-text {
    font-size: 1.45rem;
    max-width: 48vw;
  }

  .brand-logo {
    height: 1.9rem;
  }

  .metrics,
  .prize-row,
  .product-grid,
  .category-grid,
  .countdown {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 420px) {
  .metrics,
  .prize-row {
    grid-template-columns: 1fr;
  }
}

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