@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --blue: #0078d4;
  --cyan: #00bcf2;
  --orange: #ff6b35;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f1f6fb;
  --radius: 16px;
  --max: 1080px;
  --grad: linear-gradient(120deg, #0078d4 0%, #00bcf2 55%, #ff6b35 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--body);
  line-height: 1.7;
  letter-spacing: -0.2px;
  word-break: keep-all;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* 상단 바 */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 17px; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--body); font-size: 15px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.nav a:hover { background: var(--soft); }
.nav a.on { background: var(--ink); color: #fff; }
.nav .sep { width: 1px; height: 18px; background: var(--line); margin: 0 6px; }
@media (max-width: 720px) { .nav .sec { display: none; } }

/* 히어로 */
.hero { background: var(--grad); color: #fff; padding: 88px 0 96px; text-align: center; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 70%; background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent); pointer-events: none; }
.hero .badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.hero .badge img { width: 22px; height: 22px; }
.hero h1 { font-size: clamp(32px, 5.4vw, 56px); line-height: 1.2; margin: 22px 0 14px; letter-spacing: -1.2px; font-weight: 800; color: #fff; }
.hero .lead { font-size: clamp(18px, 2.4vw, 24px); font-weight: 600; margin: 0 0 32px; opacity: .96; }
.facts { display: inline-grid; grid-template-columns: repeat(3, auto); gap: 10px 28px; background: rgba(255,255,255,.95); color: var(--ink); padding: 20px 32px; border-radius: var(--radius); text-align: left; box-shadow: 0 20px 50px rgba(15,23,42,.18); }
.facts div { font-size: 16px; font-weight: 600; }
.facts small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } }
.cta { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 14px 28px; border-radius: 999px; font-size: 16px; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--ink); color: #fff; }
.btn.ghost { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn.dark-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.hero .tags { margin-top: 26px; font-size: 13px; opacity: .85; }

/* 섹션 */
section { padding: 80px 0; }
section.alt { background: var(--soft); }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .5px; margin: 0 0 8px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.3; color: var(--ink); margin: 0 0 14px; letter-spacing: -.8px; }
.sub { color: var(--muted); font-size: 17px; margin: 0 0 40px; max-width: 720px; }
h3 { color: var(--ink); margin: 0 0 8px; font-size: 20px; letter-spacing: -.4px; }

.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .g3, .g2 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .ico { font-size: 30px; margin-bottom: 10px; }
.card p { margin: 0; }

/* 연사 */
.speakers { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.spk { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 16px; }
.spk .ph { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 40px; font-weight: 800; }
.spk b { display: block; color: var(--ink); font-size: 18px; }
.spk span { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 4px; }
.spk em { display: inline-block; font-style: normal; font-size: 12px; font-weight: 700; color: var(--blue); background: #e6f2fb; padding: 2px 10px; border-radius: 999px; margin-top: 10px; }

/* 트랙 */
.track { border-top: 5px solid var(--blue); }
.track.b { border-top-color: var(--cyan); }
.track.c { border-top-color: var(--orange); }
.track .meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 14px; }
.pill { font-size: 12px; font-weight: 700; background: var(--soft); color: var(--ink); padding: 3px 10px; border-radius: 999px; }
.track ul { margin: 14px 0 0; padding-left: 18px; }
.track li { margin: 2px 0; }

/* 시간표 */
details.tt { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
details.tt summary { cursor: pointer; padding: 18px 24px; font-weight: 700; color: var(--ink); font-size: 17px; list-style: none; display: flex; justify-content: space-between; }
details.tt summary::after { content: "펼치기 ▾"; color: var(--muted); font-size: 14px; font-weight: 600; }
details.tt[open] summary::after { content: "접기 ▴"; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
td { padding: 12px 24px; border-top: 1px solid var(--line); vertical-align: top; }
td:first-child { white-space: nowrap; color: var(--blue); font-weight: 700; width: 130px; }
td small { color: var(--muted); display: block; }
tr.break td { background: #fff8f3; }

/* 장소 */
.venue { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 860px) { .venue { grid-template-columns: 1fr; } }
.venue iframe { width: 100%; height: 100%; min-height: 300px; border: 0; border-radius: var(--radius); }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.info-list li:last-child { border-bottom: 0; }
.info-list b { color: var(--ink); min-width: 84px; }

/* 지난 행사 */
.past { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; text-decoration: none; color: inherit; }
.past img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.past .txt { padding: 28px; }
@media (max-width: 860px) { .past { grid-template-columns: 1fr; } }

/* 사진 */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.sponsors { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.sponsors div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 26px; height: 92px; display: flex; align-items: center; }
.sponsors img { max-height: 54px; width: auto; }

.notice { background: #fff; border: 1px dashed #b6c7d8; border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); }
.notice b { color: var(--ink); }

footer { background: var(--ink); color: #cbd5e1; padding: 48px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: #fff; }
footer .years a { margin-right: 12px; }
