/* 유광 Y2K 아트 디렉션: brand.css 위에 덮어씁니다. */
:root { --pink:#ff2f9e; --bubble:#ffc6e6; --blue:#bfe6ff; --lilac:#c9b2ff; --lime:#d7ff3f; --ink:#3a0a2b; --cream:#fff2fa;
  --chrome: linear-gradient(175deg,#fff 0%,#dfe3ee 30%,#9aa0b4 50%,#f7f8fc 62%,#c3c8d8 100%);
  --candy: linear-gradient(180deg,#ffb3de 0%,#ff4fae 45%,#e8147f 75%,#ff6fbf 100%); }
body { background: var(--cream); }
.notice { background: var(--ink); color: #ffd3ec; }

header { background: linear-gradient(180deg,#ffffffee,#ffd9efdd); backdrop-filter: blur(10px); border-bottom: 2px solid #fff; box-shadow: 0 6px 24px #ff2f9e30; }
.logo img { width: 156px; }
nav a, nav a.on { border: 1px solid transparent; }
nav a:hover, nav a.on { background: var(--chrome); border-color: #fff; box-shadow: 0 3px 8px #7a2a5c40; }
nav a.hot, nav a.hot:hover { background: var(--candy); color: #fff; border-color: #fff; box-shadow: inset 0 2px 3px #ffffffb0, 0 4px 12px #ff2f9e70; }

.btn, .btn.alt { position: relative; border: 2px solid #fff; background: var(--candy); color: #fff; text-shadow: 0 1px 2px #8a0a4d; box-shadow: inset 0 3px 5px #ffffffa0, inset 0 -4px 8px #a8005980, 0 8px 18px #ff2f9e55; }
.btn.alt { background: var(--chrome); color: var(--ink); text-shadow: 0 1px 0 #fff; }
.btn:hover { translate: 0 -2px; box-shadow: inset 0 3px 5px #ffffffa0, 0 12px 22px #ff2f9e66; }

/* 말랑한 알약 라벨 */
.puff { display: inline-block; padding: 7px 18px; border-radius: 99px; font: 900 clamp(.8rem,1.6vw,1.15rem)/1 Impact, "Arial Black", "Malgun Gothic", sans-serif; letter-spacing: .04em; color: #ffe3f3; background: linear-gradient(180deg,#ff8fd0,#c4158a 60%,#e43ca8); border: 3px solid #ffc4e8; box-shadow: inset 0 3px 4px #ffffff90, 0 6px 12px #7a0a5055; text-shadow: 0 2px 0 #80095a; white-space: nowrap; }
.puff.lilac { background: linear-gradient(180deg,#d9c6ff,#8e5cf0 60%,#a67bff); border-color: #e8dcff; text-shadow: 0 2px 0 #4b2398; }
.puff.blue { background: linear-gradient(180deg,#c9ecff,#3d9be8 60%,#6fbcff); border-color: #def3ff; text-shadow: 0 2px 0 #0d548f; }

/* 반짝임 */
.spark { position: absolute; width: var(--s,34px); aspect-ratio: 1; background: #fff; clip-path: polygon(50% 0,57% 43%,100% 50%,57% 57%,50% 100%,43% 57%,0 50%,43% 43%); filter: drop-shadow(0 0 6px #fff); animation: twinkle 2.2s ease-in-out infinite; pointer-events: none; z-index: 3; }
@keyframes twinkle { 50% { scale: .35; opacity: .4; rotate: 45deg; } }
.float { position: absolute; pointer-events: none; animation: bob 5s ease-in-out infinite alternate; filter: drop-shadow(0 14px 16px #7a0a5045); }
@keyframes bob { to { translate: 0 -18px; rotate: 8deg; } }

/* 첫 화면: 팝업 포스터 */
.poster { position: relative; min-height: max(88vh, 640px); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 24px 16px 34px; text-align: center; background: radial-gradient(circle at 50% 30%,#fff 0,#ffb7e4 28%,#f060d0 62%,#ffd0ec 100%); }
.poster::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E"); }
.poster .spill { position: absolute; top: -2%; left: 50%; translate: -50% 0; height: 72%; max-width: 100%; object-fit: contain; object-position: top; transform-origin: 50% 0; animation: swing 5s ease-in-out infinite alternate; filter: drop-shadow(0 24px 24px #7a0a5050); }
.poster h1 { position: relative; z-index: 2; line-height: 0; margin-bottom: 10px; text-shadow: none; }
.poster h1 img { width: min(720px,94vw); filter: drop-shadow(0 12px 16px #7a0a5070); }
.poster .fallback { width: min(620px,90vw); }
.poster .sub { position: relative; z-index: 2; font-weight: 900; font-size: clamp(1rem,2.4vw,1.5rem); color: #fff; text-shadow: 0 2px 8px #8a0a4d; margin-bottom: 18px; }
.poster .actions { position: relative; z-index: 2; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.poster .puff { position: absolute; z-index: 2; animation: bob 4s ease-in-out infinite alternate; }
.strip { background: var(--ink); color: #ffd3ec; text-align: center; padding: 12px; font-weight: 800; letter-spacing: .3em; font-size: .82rem; }

.ticker { background: var(--chrome); border-block: 2px solid #fff; color: var(--pink); font-style: italic; box-shadow: 0 6px 18px #7a0a5030; }

/* 데님 + 게임기 */
.denim { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; padding: 72px clamp(20px,6vw,100px); background: #202a40 center/cover; color: #fff; }
.pet { position: relative; max-width: 480px; width: 100%; margin: auto; display: block; transition: rotate .3s; }
.pet:hover { rotate: -4deg; }
.pet img { width: 100%; display: block; filter: drop-shadow(0 22px 26px #0009); }
.pet .screen { position: absolute; left: 50%; top: 52%; translate: -50% -50%; width: 34%; text-align: center; color: #1f2a1c; font: 700 clamp(.8rem,1.8vw,1.35rem)/1.5 "Courier New", monospace; }
.pet .screen b { display: block; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.patch { position: absolute; width: min(340px,38vw); right: -40px; bottom: -50px; rotate: -10deg; opacity: .95; pointer-events: none; }
.denim h2 { text-shadow: 0 4px 0 var(--pink); }

/* 문자 메시지 */
.chat { background: linear-gradient(180deg,var(--blue),#eef8ff); padding: 72px 20px; }
.chat ol { list-style: none; padding: 0; max-width: 560px; margin: 24px auto 0; display: flex; flex-direction: column; gap: 14px; }
.chat li { max-width: 82%; padding: 12px 22px; border-radius: 26px; font-weight: 800; font-size: clamp(1.05rem,3vw,1.5rem); background: linear-gradient(180deg,#fff,#dcdfe8); border: 1px solid #fff; box-shadow: inset 0 3px 4px #fff, 0 8px 16px #24507540; align-self: flex-start; border-bottom-left-radius: 6px; }
.chat li.me { align-self: flex-end; background: linear-gradient(180deg,#ffd0ec,#ff6fc0); border-bottom-left-radius: 26px; border-bottom-right-radius: 6px; }
.chat h2 { text-align: center; }

/* 패키지 */
.pack { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 80px clamp(20px,7vw,110px); background: repeating-linear-gradient(105deg,#ff8fce 0 6px,#ff9bd4 6px 12px); }
.pouch { position: relative; max-width: 440px; width: 100%; margin: auto; aspect-ratio: 4/5; }
.pouch > img.base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 24px #7a0a5060); }
.label { position: absolute; z-index: 2; box-shadow: 0 4px 10px #0004; font-weight: 900; text-align: center; line-height: 1.15; }
.label.oval { top: 30%; right: 8%; rotate: -9deg; border-radius: 50%; padding: 14px 24px; background: #2fb4ff; color: #fff; font-size: .72rem; }
.label.oval i { display: block; width: 110px; height: 26px; margin: 4px auto 0; background: repeating-linear-gradient(90deg,#111 0 2px,transparent 2px 4px,#111 4px 8px,transparent 8px 10px); }
.label.heart { bottom: 16%; right: 12%; rotate: 8deg; background: #e4163f; color: #fff; padding: 18px 20px; border-radius: 40px 40px 60px 60px; border: 4px solid #fff; font: 900 1.25rem/1.05 Georgia, serif; }
.label.card2 { bottom: 14%; left: 8%; rotate: -6deg; background: #5b4fe0; color: #ffd3ec; padding: 14px; width: 42%; font-size: .78rem; border-radius: 6px; }
.label.card2 img { width: 100%; background: #fff; border-radius: 99px; padding: 4px 10px; margin: 6px 0; }
.pack ul { margin: 18px 0 26px; padding-left: 20px; font-weight: 700; }

/* CD + 스티커 */
.mix { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 80px clamp(20px,7vw,110px); background: #fff; position: relative; overflow: hidden; }
.disc { max-width: 420px; width: 100%; margin: auto; aspect-ratio: 1; animation: spin 14s linear infinite; filter: drop-shadow(0 18px 22px #7a0a5040); }
.stickers { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 20px; }
.stickers span { font: 900 1.6rem/1 Impact, "Arial Narrow", "Malgun Gothic", sans-serif; padding: 10px 14px; rotate: -4deg; background: #6ffcf2; color: #fff; }
.stickers span:nth-child(2n) { background: var(--pink); rotate: 5deg; }
.stickers span:nth-child(3n) { background: #111; rotate: -2deg; }
.stickers span:nth-child(4n) { background: transparent; color: #a8e800; font-size: 2.2rem; }

/* 상품 카드와 다른 화면 */
.thumb { border: 3px solid #fff; box-shadow: inset 0 0 28px #ffffffb0, 0 14px 28px #b0307a35; }
.card h3 { margin-top: 2px; }
.card span { color: var(--pink); letter-spacing: .08em; }
.banner { position: relative; background: radial-gradient(circle at 50% 0,#fff,#c9b2ff 55%,#ff9ad5); border: 3px solid #fff; box-shadow: 0 18px 40px #7a0a5035; }
.chip, .swatch { border: 2px solid #fff; box-shadow: 0 3px 8px #7a0a5040; }
.chip { background: var(--chrome); }
.chip.on { background: var(--candy); color: #fff; }
.photo, .id-grid > div, .quote { border: 5px solid #fff; box-shadow: 0 18px 34px #7a0a5035; }
.quote { background: var(--candy); }
.eyebrow { background: var(--candy); color: #fff; border: 2px solid #fff; box-shadow: 0 4px 10px #ff2f9e55; }
.c1 { background: linear-gradient(160deg,#fff4a8,#ffd3ec); } .c2 { background: linear-gradient(160deg,#bfe6ff,#e9dcff); }
.c3 { background: linear-gradient(160deg,#e7ffa0,#bfe6ff); } .c4 { background: linear-gradient(160deg,#ffc6e6,#ff7fc8); }
.chapter { border-bottom: 0; }
footer { background: linear-gradient(180deg,#5a1043,var(--ink)); }

@media (max-width: 760px) {
  .denim, .pack, .mix { grid-template-columns: 1fr; padding: 56px 20px; }
  .poster { min-height: 640px; }
  .poster .spill { height: 62%; }
  .poster .puff { font-size: .72rem; padding: 5px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .spark, .float, .poster .spill, .poster .puff, .disc, .pet .screen b { animation: none; }
}

/* 앨범 포스터 */
.album { position: relative; overflow: hidden; padding: 56px 20px 48px; text-align: center; color: #ff2f87; background: radial-gradient(#ffffff22 1.5px, transparent 2px) 0 0/12px 12px, #07050a; }
.album .over { color: #bbb; font-weight: 900; letter-spacing: .2em; font-size: .75rem; }
.album h2 { font: 900 clamp(2.6rem,10vw,8rem)/.98 Impact, "Arial Black", sans-serif; letter-spacing: 0; margin: 12px 0 0; text-shadow: 0 0 18px #ff2f8755; }
.album h2 span { display: inline-block; background: #ff2f87; color: #07050a; padding: 0 .2em; margin-top: 10px; }
.album .charms { display: flex; justify-content: center; align-items: flex-start; margin-top: -2vw; position: relative; }
.album .charms img { width: min(440px,50%); transform-origin: 50% 0; animation: swing 4.5s ease-in-out infinite alternate; filter: drop-shadow(0 20px 24px #ff2f8744); }
.album .charms img + img { animation-delay: -2s; margin-left: -4%; }
.tracks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; list-style: none; padding: 0; margin-top: 24px; font-weight: 900; text-transform: uppercase; font-size: .85rem; }
.tracks li::before { content: "★ "; }

/* 다이어리 꾸미기 */
.diary { position: relative; overflow: hidden; padding: 80px 20px; text-align: center; background: #ff68b4; color: #fff; font-weight: 800; }
.cut { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 24px; }
.cut span { display: flex; gap: .06em; }
.cut b { display: inline-block; font: 900 clamp(3rem,10vw,7.5rem)/1 "Arial Black", Impact, sans-serif; color: #ffd0e8; filter: drop-shadow(3px 4px 0 #c8307a); }
.paperstar { position: absolute; width: clamp(44px,8vw,96px); aspect-ratio: 1; background: #fff27a; clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.gems { position: absolute; width: min(300px,30vw); pointer-events: none; }
.gems.g1 { left: -20px; top: 30%; rotate: -14deg; } .gems.g2 { right: -20px; top: 18%; rotate: 160deg; }
.materials { display: block; width: min(900px,100%); margin: 36px auto 0; border-radius: 12px; rotate: -1.5deg; box-shadow: 0 18px 30px #8a0a4d55; }
@media (max-width: 760px) { .gems { opacity: .55; } .album .charms img { width: 52%; } }
@media (prefers-reduced-motion: reduce) { .album .charms img { animation: none; } }
/* 한 화면에 버튼까지 보이도록 */
.poster { min-height: max(calc(100vh - 100px), 480px); padding-bottom: 22px; }
.poster h1 img { width: min(720px, 94vw, 96vh); }
.poster .sub { margin-bottom: 10px; }
@media (max-width: 760px) { .poster { min-height: 640px; } .poster h1 img { width: 96vw; } }

/* 생성 소재에 맞춘 위치 보정 */
.pet .screen { top: 61%; }
.label.oval { top: 41%; }
.materials { aspect-ratio: 16/7; object-fit: cover; object-position: 50% 62%; }
footer { background: #17151f; }

.design { width: 78px; height: 78px; padding: 6px; border: 3px solid #fff; border-radius: 18px; background: #fff; box-shadow: 0 4px 10px #7a0a5035; }
.design img { width: 100%; height: 100%; object-fit: contain; }
.design[aria-pressed="true"] { border-color: var(--pink); }

/* 인트로 전체가 한 화면에 들어오도록 */
.poster { min-height: max(calc(100vh - 112px), 470px); padding-bottom: 14px; }
.poster h1 img { width: min(640px, 90vw, 78vh); }
@media (max-width: 760px) { .poster { min-height: 620px; } .poster h1 img { width: 96vw; } }

/* 와펜: 스마일·별은 원래 자리, 곰돌이·하트만 글이 없는 곳으로 */
.denim .patch { clip-path: inset(50% 0 0 0); }
.patch-piece { position: absolute; width: clamp(84px, 12vw, 150px); aspect-ratio: 1; background-size: 200% 200%; pointer-events: none; }
.patch-piece.bear { left: 14px; bottom: 6px; background-position: 0 0; rotate: -10deg; }
.patch-piece.rainbow { right: 14px; top: 10px; background-position: 100% 0; rotate: 10deg; }
@media (max-width: 760px) { .patch-piece { width: 78px; } }
/* 모바일: 위아래 여백에 곰돌이·하트 자리를 둡니다 */
@media (max-width: 760px) { .denim { padding-top: 104px; padding-bottom: 112px; } .patch-piece.rainbow { top: 10px; } .patch-piece.bear { bottom: 10px; } }

/* PC 메인 글자 크게 (투명 여백만큼 위아래를 당김) */
@media (min-width: 761px) {
  .poster h1 { margin: 0 0 4px; }
  .poster.intro h1 img { width: min(980px, 72vw, 122vh); margin-block: -3vh; }
}
