/* ===== SeoulWalls — design tokens ===== */
:root {
  --bg: #0b0713;
  --bg-alt: #130c1e;
  --card: #1a1226;
  --card-hover: #221a30;
  --border: rgba(255, 255, 255, 0.08);
  --txt: #f5f2f8;
  --txt-dim: #a89bb5;
  --txt-faint: #6f6480;
  --pink: #ff3d81;
  --purple: #9b5cf6;
  --grad: linear-gradient(90deg, var(--pink), var(--purple));
  --grad-soft: linear-gradient(135deg, rgba(255,61,129,0.18), rgba(155,92,246,0.18));
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'Baloo 2', 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.04em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(255, 61, 129, 0.55);
}
.btn-primary:hover { box-shadow: 0 10px 30px -6px rgba(255, 61, 129, 0.7); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--txt);
}
.btn-outline:hover { border-color: var(--pink); background: rgba(255, 61, 129, 0.08); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 7, 19, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--txt-dim);
}
.nav-links a:hover, .nav-links a.active { color: var(--txt); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--txt-faint);
  font-size: 0.88rem;
  min-width: 220px;
}
.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--txt);
  width: 100%;
  font-size: 0.88rem;
}
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-links, .search-box { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  margin-top: 90px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
  gap: 32px;
}
.footer-grid h4 { font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid li a { color: var(--txt-dim); font-size: 0.88rem; }
.footer-grid li a:hover { color: var(--pink); }
.footer-brand p { color: var(--txt-dim); font-size: 0.88rem; margin: 12px 0; }
.social-row { display: flex; gap: 12px; margin-top: 14px; }
.social-row a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--txt-dim);
}
.social-row a:hover { border-color: var(--pink); color: var(--pink); }
.newsletter-row { display: flex; margin-top: 12px; gap: 8px; }
.newsletter-row input {
  flex: 1; background: var(--card); border: 1px solid var(--border);
  border-radius: 999px; padding: 10px 16px; color: var(--txt); font-size: 0.85rem; outline: none;
}
.footer-bottom {
  text-align: center; color: var(--txt-faint); font-size: 0.8rem;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Utility ---------- */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 22px;
}
.section-head h2 { font-family: var(--font-display); font-size: 1.5rem; }
.view-all { color: var(--pink); font-size: 0.9rem; font-weight: 600; }

.empty-state {
  text-align: center;
  padding: 70px 20px;
  color: var(--txt-faint);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.empty-state span { font-size: 2.4rem; display: block; margin-bottom: 12px; }

.skeleton {
  background: linear-gradient(90deg, var(--card) 25%, var(--card-hover) 37%, var(--card) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  background: var(--card); border: 1px solid var(--border);
  padding: 12px 22px; border-radius: 999px; font-size: 0.88rem;
  z-index: 200; opacity: 0; transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-6px); }
