:root {
  --bg: #120b24;
  --bg-2: #1c1236;
  --card: #241845;
  --line: #3a2a66;
  --text: #f4efff;
  --muted: #b9addb;
  --accent: #ff4fa3;
  --accent-2: #8b6bff;
  --fb: #1877f2;
  --radius: 16px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, #3b1f7a55, transparent 60%),
    radial-gradient(900px 500px at -10% 20%, #ff4fa322, transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* Announcement */
.announcement {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  text-align: center;
  padding: .6rem 1rem;
  font-weight: 600;
}
.announcement a { color: #fff; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem clamp(1rem, 4vw, 2rem);
  background: #120b24e6;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { font-weight: 800; font-size: 1.3rem; color: var(--text); text-decoration: none; letter-spacing: .05em; }
.nav__links { display: flex; gap: clamp(.6rem, 2.5vw, 1.5rem); overflow-x: auto; }
.nav__links a { color: var(--muted); text-decoration: none; font-weight: 600; white-space: nowrap; }
.nav__links a:hover { color: var(--text); }

/* Layout */
main { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.section { padding: clamp(2.5rem, 7vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.section__intro { color: var(--muted); max-width: 60ch; margin-top: -.25rem; }

/* Hero */
.hero { padding: clamp(3rem, 12vw, 7rem) 0 clamp(2.5rem, 8vw, 5rem); text-align: center; }
.hero__hangul {
  font-family: "Noto Sans KR", sans-serif; font-size: clamp(2rem, 8vw, 3.5rem); margin: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__roman { margin: 0 0 1rem; color: var(--muted); font-style: italic; }
.hero h1 { font-size: clamp(2.4rem, 9vw, 4.5rem); font-weight: 800; }
.hero__lede { max-width: 56ch; margin: 0 auto 2rem; color: var(--muted); font-size: 1.1rem; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* Buttons */
.btn {
  display: inline-block; padding: .75rem 1.3rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  font-weight: 600; text-decoration: none; cursor: pointer; font: inherit; font-weight: 600;
}
.btn:hover { border-color: var(--accent-2); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { filter: brightness(1.1); border-color: var(--accent); }
.btn--fb { background: var(--fb); border-color: var(--fb); color: #fff; }
.btn--fb:hover { filter: brightness(1.1); border-color: var(--fb); }
.btn--small { padding: .45rem .9rem; font-size: .9rem; }

/* Cards */
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; display: flex; flex-direction: column; gap: .4rem;
}
.card img { width: 100%; border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.card h3 { margin: 0; font-size: 1.25rem; }
.card p { margin: 0; }
.card__meta { color: var(--muted); font-size: .95rem; }
.card__actions { margin-top: auto; padding-top: .5rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.tag {
  align-self: flex-start; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  padding: .2rem .6rem; border-radius: 999px; background: #8b6bff33; color: #cfc2ff;
}
.tag--rdp { background: #ff4fa333; color: #ffc0de; }
.date-badge { font-weight: 800; color: var(--accent); }

.note { color: var(--muted); margin: 1rem 0 0; }
.note::before { content: "★ "; color: var(--accent); }

/* Choreo */
.choreo { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.choreo li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.choreo__class { display: block; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.choreo__song { font-weight: 600; font-size: 1.1rem; }

/* About */
.about { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.instructor { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
details p { color: var(--muted); margin: .6rem 0 0; }

/* Visit */
.visit { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
address { font-style: normal; font-size: 1.1rem; margin-bottom: 1rem; }
.map { width: 100%; min-height: 280px; border: 0; border-radius: var(--radius); filter: invert(.9) hue-rotate(180deg); }

/* Pay */
.pay { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pay__option {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem;
  color: var(--text); text-decoration: none; display: flex; flex-direction: column; gap: .25rem;
}
a.pay__option:hover { border-color: var(--accent); }
.pay__option span { color: var(--muted); }

/* Facebook CTA */
.fb-cta { text-align: center; }
.fb-cta p { color: var(--muted); }

/* Footer */
.footer { text-align: center; padding: 2rem 1rem 3rem; color: var(--muted); border-top: 1px solid var(--line); }
.footer nav { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: .5rem; }
.footer a { color: var(--text); font-weight: 600; text-decoration: none; }

@media (max-width: 560px) {
  .nav__brand { display: none; }
  .nav { justify-content: center; }
}
