/* 옛 Y2K × 지금: 오로라, 모눈, 필름 노이즈, 유리 창, 픽셀 커서 */
:root { --mono: "DOS Gothic", "Cascadia Mono", Consolas, "Courier New", monospace; --line: #3a0a2b24; }

html { background: #f6f1ff; }
body { background: transparent !important; isolation: isolate;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='28' shape-rendering='crispEdges'%3E%3Cpath d='M2 2h4v2h2v2h2v2h2v2h2v2h2v2h2v4h-6v2h2v4h2v2h-6v-4h-2v-2H8v2H6v2H2z' fill='%23ff2f9e' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 2 2, auto; }

/* 천천히 흐르는 오로라 */
body::before { content: ""; position: fixed; inset: -25vmax; z-index: -2; pointer-events: none;
  background:
    radial-gradient(36vmax 36vmax at 28% 30%, #ff9ad8 0, transparent 68%),
    radial-gradient(34vmax 34vmax at 74% 28%, #a9dcff 0, transparent 68%),
    radial-gradient(32vmax 32vmax at 66% 74%, #e4ff8a 0, transparent 66%),
    radial-gradient(38vmax 38vmax at 24% 76%, #c9b2ff 0, transparent 68%),
    #fbf6ff;
  animation: aura 22s ease-in-out infinite alternate; }
@keyframes aura { to { transform: translate(6vmax, -4vmax) rotate(12deg); } }

/* 옛 웹의 모눈 + 필름 노이즈 */
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .05 0 0 0 0 .2 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  background-size: 44px 44px, 44px 44px, 180px 180px; }

a, button, .btn, .chip, .part, .design { cursor: pointer; }

/* 타이포: 픽셀·모노 라벨 + 크고 촘촘한 제목 */
nav, .eyebrow, .chip, .card span, .price, .strip, .tracks, .filters, .total, .notice { font-family: var(--mono); }
.wrap h1, .wrap > h2, .chapter h1, .chapter h2 { letter-spacing: -.055em; }

/* 반투명 유리 창: 상품 목록, 상세, 장바구니, 아이덴티티 */
main > .wrap { position: relative; margin: 40px auto; padding-top: 86px; background: #ffffff80; backdrop-filter: blur(18px) saturate(1.3); border: 1px solid #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px #7a2a7a1f; width: calc(100% - 28px); }
main > .wrap::before { content: "C:\\dallang\\drawer_2004\\"; position: absolute; left: 0; right: 0; top: 0; padding: 12px 20px; font: 700 .8rem var(--mono); color: #7a2a6a; border-bottom: 1px solid var(--line); background: linear-gradient(90deg,#ffffffcc,#ffd9f066); border-radius: 22px 22px 0 0; }
main > .wrap::after { content: "─  □  ×"; position: absolute; right: 18px; top: 11px; font: 700 .85rem var(--mono); color: #c4158a; }

/* 상품 카드: 파일 아이콘처럼 정돈 */
.thumb { border-radius: 14px; border: 1px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 16px 28px #7a2a7a1c; }
.card h3 { font-size: 1rem; }
.card:hover .thumb { translate: 0 -4px; }
.thumb { transition: translate .2s; }

header { background: #ffffff99; backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid #fff; box-shadow: 0 1px 0 var(--line); }
nav a { letter-spacing: .02em; }

/* 홈의 섹션 사이는 오로라가 비치게 */
.chat { background: linear-gradient(180deg,#cfeaff99,#ffffff55); backdrop-filter: blur(8px); }
.mix { background: #ffffff8c; backdrop-filter: blur(14px); }
.ticker { font-family: var(--mono); font-style: normal; }

/* 구식 화면의 가는 주사선 */
.poster::before, .album::before, .denim::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: repeating-linear-gradient(0deg, #0000 0 3px, #0000000b 3px 4px); }

@media (max-width: 760px) { main > .wrap { margin: 20px auto; padding: 70px 14px 40px; width: calc(100% - 16px); } }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }
