@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,800;1,900&family=Golos+Text:wght@400;500;600;700;800;900&display=swap');

:root {
  color-scheme: dark;
  --bg: #0c0f15;
  --panel: #151a23;
  --text: #fafbff;
  --muted: #adb9c9;
  --accent: #d7ff55;
  --line: #303949;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem "Golos Text", system-ui, sans-serif; }
.shell { width: min(1260px, 92%); margin-inline: auto; }
header { position: sticky; top: 0; z-index: 3; background: #0c0f15ed; border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.bar, .section { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bar { min-height: 70px; }
.brand { display: flex; align-items: center; gap: .42rem; color: inherit; text-decoration: none; font-weight: 900; letter-spacing: .045em; }
.logo { display: grid; place-items: center; width: 36px; height: 36px; margin-right: .3rem; border: 1px solid #4e5c31; border-radius: 10px; color: var(--accent); background: #242d18; font-size: 1.45rem; }
em { color: var(--accent); font-style: inherit; }
button, input, select { font: inherit; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: .65rem .9rem; background: #171d28; color: var(--text); }
button { cursor: pointer; font-weight: 700; transition: background .18s, border-color .18s; }
button:hover { background: #232b3a; border-color: #69798c; }
button:disabled { opacity: .6; cursor: default; }
.primary { color: #17200c; background: var(--accent); border-color: var(--accent); }
.primary:hover { background: #e8ff9d; border-color: #e8ff9d; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  margin: 1.6rem 0 2.8rem;
  padding: clamp(1.65rem, 5.2vw, 4.5rem);
  border: 1px solid #3d5367;
  border-radius: 24px;
  background: radial-gradient(ellipse at 80% 38%, #214943 0%, transparent 59%), linear-gradient(115deg, #151d2b 12%, #182a3c 66%, #153429);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(0deg, #a9c9e112 0 1px, transparent 1px 30px), repeating-linear-gradient(90deg, #a9c9e112 0 1px, transparent 1px 30px);
  mask-image: linear-gradient(90deg, transparent 15%, #000);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 7%;
  width: clamp(220px, 32vw, 410px);
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(-20deg);
  border: 1px solid #d7ff5570;
  border-radius: 50%;
  box-shadow: 0 0 55px #9bff6030, inset 0 0 45px #71ff511c;
  background: repeating-radial-gradient(circle, transparent 0 16%, #d7ff5555 16.3% 16.6%, transparent 17% 23%), conic-gradient(from 30deg, #d7ff5580, transparent 25%, transparent 99.5%, #d7ff55);
  opacity: .85;
}
.signal { color: var(--accent); font-size: .875rem; font-weight: 800; letter-spacing: .12em; }
h1 { font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -.075em; line-height: .86; margin: .22em 0 .22em; font-weight: 900; }
h1 em { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-style: italic; letter-spacing: -.035em; }
h2, h3, p { margin: 0 0 .5rem; }
h2 { font-size: clamp(1.55rem, 4vw, 2.6rem); letter-spacing: -.045em; }
p, footer { color: var(--muted); line-height: 1.5; }
.hero p { margin: 0; max-width: min(100%, 29rem); color: #e0ebf3; }
#date { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.2rem 0 2rem; padding: .95rem; border: 1px solid var(--line); border-radius: 15px; background: #121720; }
label { display: grid; gap: .38rem; font-size: .875rem; color: var(--muted); }
input, select { width: 100%; min-width: 0; }
input::placeholder { color: #9ca8bb; }
.filters label:first-child { flex: 1; min-width: min(100%, 250px); }
.filters label:last-child { min-width: min(100%, 190px); }
.collection { margin-bottom: 2.6rem; }
.collection h3 { display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem; font-size: 1.4rem; letter-spacing: -.025em; overflow-wrap: anywhere; }
.collection h3::before { content: ""; flex: 0 0 .23rem; height: 1.15em; border-radius: 2px; background: var(--accent); }
.collection h3::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: .9rem; }
.card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); transition: border-color .18s, transform .18s; }
@media (hover: hover) { .card:hover { border-color: #779b53; transform: translateY(-3px); } }
.art { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid #ffffff21; background: radial-gradient(ellipse at 50% 70%, var(--shade, #365a70), #192334); }
.art img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.info { flex: 1; display: grid; align-content: start; gap: .42rem; padding: .85rem; overflow-wrap: anywhere; }
.info small { color: var(--muted); font-size: .82rem; }
.info strong { line-height: 1.25; }
.price { display: flex; flex-wrap: wrap; align-items: center; width: fit-content; gap: .22rem; padding: .28rem .43rem; border-radius: 6px; background: #282f22; color: var(--accent); font-size: .875rem; font-weight: 800; }
.price img { width: 1.05rem; }
#empty { text-align: center; }
footer { margin: 2.7rem 0 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .875rem; }
footer a { color: var(--accent); }
dialog { width: min(600px, 94%); max-height: 90dvh; overflow: auto; padding: clamp(1rem, 3vw, 1.65rem); border: 1px solid #4a5b6d; border-radius: 22px; background: #141b26; color: var(--text); box-shadow: 0 24px 90px #0009; }
dialog::backdrop { background: #080b12c9; backdrop-filter: blur(5px); }
.search-modes { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.search-modes label { display: flex; align-items: center; gap: .4rem; min-height: 44px; padding: .4rem .65rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.search-modes label:has(input:checked) { border-color: #839f39; color: var(--accent); background: #252f1c; }
.search-modes input { width: auto; min-height: auto; accent-color: var(--accent); }
.search, .row { display: flex; align-items: center; gap: .65rem; }
.search { margin: .8rem 0; }
.list { display: grid; gap: .5rem; margin: .5rem 0 1rem; }
.row { padding: .55rem; border: 1px solid var(--line); border-radius: 11px; background: #1a2331; }
.row img { width: 49px; height: 49px; object-fit: contain; border-radius: 7px; background: #101722; }
.row div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.row small { display: block; margin-top: .18rem; color: var(--muted); font-size: .84rem; }
.row small.live, .row small.goal-price { color: var(--accent); }
.note { margin-top: .55rem; font-size: .875rem; }
hr { margin: 1rem 0; border: 0; border-top: 1px solid var(--line); }
.alert { margin-bottom: .7rem; padding: .75rem .95rem; border: 1px solid #627839; border-radius: 10px; background: #242f1d; color: var(--accent); }
@media (max-width: 600px) {
  .bar { min-height: 63px; }
  .hero { margin-top: 1rem; margin-bottom: 2rem; }
  .hero::after { right: -29%; opacity: .32; }
  .hero p { max-width: 20rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .info { padding: .65rem; }
  .section { gap: .5rem; }
  .brand { letter-spacing: 0; }
  .row button { padding-inline: .5rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
