:root {
  --bg: #fff8fb;
  --card: #ffffff;
  --ink: #3a2e39;
  --soft-ink: #6b5b6e;
  --brand: #ff86b3;
  --brand-strong: #ff5d99;
  --accent: #ffd1e3;
  --ring: #ffd6e9;
  --shadow: 0 10px 30px rgba(255, 133, 179, 0.18);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Gowun Dodum", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 800px at 10% 0%, #ffe6f1 0%, var(--bg) 50%),
              radial-gradient(1200px 800px at 90% 100%, #e8fff7 0%, var(--bg) 50%);
}

.bg-decor::before,
.bg-decor::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: .5;
}
.bg-decor::before { background: #ffd1e3; top: -40px; left: -40px; }
.bg-decor::after { background: #c5f7e7; bottom: -40px; right: -40px; }

.container {
  max-width: 840px;
  margin: 0 auto;
  padding: 28px 18px 60px;
}

.hero {
  text-align: center;
  margin: 12px 0 28px;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.hero-title {
  font-family: "Jua", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: clamp(26px, 5vw, 44px);
  margin: 14px 0 8px;
}
.wave { display: inline-block; animation: wave 2.5s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0deg); } 10% { transform: rotate(12deg); } 20% { transform: rotate(-10deg); } 30% { transform: rotate(10deg); } 40% { transform: rotate(-6deg); } 50% { transform: rotate(4deg); } }
.hero-sub { color: var(--soft-ink); margin: 0; }

.card {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 10px; }
.label { font-weight: 700; }
.input, .textarea {
  width: 100%;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #fff;
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
  box-shadow: inset 0 0 0 1px var(--ring);
}
.input:focus, .textarea:focus, .dropzone:focus {
  box-shadow: inset 0 0 0 2px var(--brand);
}
.textarea { min-height: 120px; resize: vertical; }
.helper { color: var(--soft-ink); font-size: 13px; display: flex; justify-content: flex-end; }

.dropzone {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(0deg, #fff, #fff) padding-box,
              linear-gradient(135deg, #ffd1e3, #c6f7e8) border-box;
  border: 2px dashed transparent;
  padding: 22px;
  text-align: center;
  cursor: pointer;
  outline: none;
}
.dropzone:hover { filter: brightness(0.99); }
.dropzone.dragging { box-shadow: inset 0 0 0 2px var(--brand); }
.file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-emoji { font-size: 42px; }
.drop-title { margin: 8px 0 4px; font-weight: 700; }
.drop-sub { margin: 0; color: var(--soft-ink); font-size: 14px; }
.file-info { color: var(--soft-ink); font-size: 14px; }
.hidden { display: none; }

/* 미리보기 제거 (스타일 보관 X) */

.actions { display: flex; justify-content: center; margin-top: 10px; }

.btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-strong)); color: #fff; box-shadow: 0 6px 18px rgba(255,93,153,.35); }
.btn.primary:disabled { opacity: .6; cursor: not-allowed; }
.btn.secondary { background: #fff; box-shadow: var(--shadow); }
.btn.ghost { background: transparent; box-shadow: none; color: var(--soft-ink); }

.status { margin-top: 12px; text-align: center; min-height: 20px; color: var(--soft-ink); }
.status[data-kind="success"] { color: #198754; }
.status[data-kind="error"] { color: #c1121f; }

.footer { text-align: center; color: var(--soft-ink); margin-top: 26px; font-size: 14px; }

@media (min-width: 720px) {
  .form { grid-template-columns: 1fr; }
}


/* Recent uploads Marquee */
.section-title { font-family: "Jua", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; margin: 0 0 12px; }
.marquee { position: relative; overflow: hidden; border-radius: 12px; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 50px; z-index: 2;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--card), rgba(255,255,255,0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--card), rgba(255,255,255,0)); }
.marquee-track { display: flex; gap: 14px; padding: 8px 6px; will-change: transform; }
.marquee-hint { margin: 8px 0 0; color: var(--soft-ink); font-size: 12px; text-align: center; }

.chip {
  min-width: 180px;
  max-width: 260px;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateZ(0);
}
.chip-media { position: relative; width: 100%; padding-top: 62%; overflow: hidden; }
.chip-media img, .chip-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.chip-badge {
  position: absolute; left: 8px; top: 8px; z-index: 1;
  background: var(--accent); color: var(--ink); border-radius: 999px; padding: 4px 8px; font-weight: 800; font-size: 12px;
}
.chip-meta { padding: 8px 10px; font-size: 13px; color: var(--soft-ink); display: flex; justify-content: space-between; align-items: center; }
.chip-name { font-weight: 700; color: var(--ink); }
.chip-date { font-size: 12px; }

.marquee.paused .marquee-track { animation-play-state: paused !important; }

