@import url("https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Manrope:wght@600;700;800&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #292a31;
  --navy: #20314f;
  --coral: #ff6877;
  --coral-dark: #e95061;
  --coral-pale: #fff0ee;
  --mint: #57bda9;
  --cream: #fffaf6;
  --muted: #777983;
  --line: #ebe8e4;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(72, 59, 52, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Noto Sans KR", sans-serif; word-break: keep-all; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { height: 76px; position: sticky; z-index: 30; top: 0; border-bottom: 1px solid rgba(0, 0, 0, .05); background: rgba(255, 255, 255, .93); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -1px; }
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand small { margin-top: 5px; color: #a2a0a0; font-size: 8px; font-weight: 500; letter-spacing: 0; }
.brand-symbol { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 45% 55% 52% 48%; background: var(--coral); color: white; font-family: Manrope, sans-serif; font-size: 17px; transform: rotate(-6deg); }
.desktop-nav { display: flex; gap: 42px; margin-left: 85px; color: #666870; font-size: 13px; font-weight: 600; }
.desktop-nav a { position: relative; padding: 29px 0; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--ink); }
.desktop-nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 22px; height: 3px; border-radius: 3px 3px 0 0; background: var(--coral); transform: translateX(-50%); }
.saved-button { display: flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 99px; background: white; color: #55565e; font-size: 12px; font-weight: 600; cursor: pointer; }
.saved-button > span { color: var(--coral); font-size: 18px; line-height: 1; }
.saved-button b { min-width: 20px; padding: 3px 6px; border-radius: 20px; background: var(--coral-pale); color: var(--coral-dark); font-size: 10px; }
.saved-button.is-active { border-color: #ffc3c9; background: var(--coral-pale); color: var(--coral-dark); }

.hero { min-height: 580px; overflow: hidden; position: relative; background: linear-gradient(112deg, #fff9f5 0%, #fffefd 48%, #f4fbf9 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; }
.hero::before { width: 190px; height: 190px; right: -75px; top: 38px; background: rgba(197, 234, 226, .28); }
.hero::after { width: 100px; height: 100px; left: 48%; bottom: -50px; background: rgba(255, 193, 199, .18); }
.hero-grid { min-height: 580px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; }
.hero-copy { position: relative; z-index: 3; padding: 64px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--coral-dark); font-size: 12px; font-weight: 700; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(255, 104, 119, .12); }
.hero h1 { margin: 0; font-family: "Gowun Dodum", "Noto Sans KR", sans-serif; font-size: clamp(40px, 4.6vw, 59px); font-weight: 400; line-height: 1.27; letter-spacing: -3px; }
.hero h1 strong { position: relative; color: var(--coral); font-weight: 400; }
.hero h1 strong::after { content: ""; position: absolute; left: 4px; right: 3px; bottom: -6px; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8'%3E%3Cpath d='M2 6c60-6 125-5 196-3' fill='none' stroke='%23ff9ba6' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.hero-description { margin: 25px 0 29px; color: var(--muted); font-size: 15px; line-height: 1.85; letter-spacing: -.4px; }
.hero-actions { display: flex; align-items: center; gap: 20px; }
.primary-button { display: inline-flex; align-items: center; gap: 28px; padding: 15px 20px 15px 22px; border-radius: 12px; background: var(--ink); color: white; box-shadow: 0 10px 24px rgba(36, 37, 42, .16); font-size: 13px; font-weight: 700; transition: .2s; }
.primary-button:hover { background: #111217; transform: translateY(-2px); }
.primary-button span { color: #ffabb3; font-size: 18px; }
.update-note { color: #8b8c93; font-size: 11px; }
.update-note i { width: 6px; height: 6px; display: inline-block; margin-right: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(87, 189, 169, .12); }
.hero-stats { display: flex; margin: 43px 0 0; }
.hero-stats div { padding: 0 30px; border-left: 1px solid #e3e0da; }
.hero-stats div:first-child { padding-left: 0; border: 0; }
.hero-stats dt { font-family: Manrope, "Noto Sans KR", sans-serif; font-size: 20px; font-weight: 800; }
.hero-stats dd { margin: 2px 0 0; color: #97989e; font-size: 10px; }

.hero-visual { height: 485px; position: relative; }
.visual-blob { width: 420px; height: 405px; position: absolute; top: 37px; left: 60px; border-radius: 50% 45% 52% 48%; background: linear-gradient(145deg, #ffe3dc, #f8d6db 55%, #e6eee9); transform: rotate(-8deg); box-shadow: inset 0 0 90px rgba(255, 255, 255, .52); }
.visual-blob::before { content: ""; width: 122px; height: 122px; position: absolute; left: 30px; top: 55px; border-radius: 50%; background: rgba(255,255,255,.35); }
.family-illustration { width: 230px; height: 215px; position: absolute; z-index: 3; left: 192px; top: 146px; }
.family-illustration .parent { width: 92px; height: 130px; position: absolute; right: 10px; bottom: 10px; border-radius: 46px 46px 28px 28px; background: #e98573; transform: rotate(5deg); }
.parent::before { content: ""; width: 58px; height: 67px; position: absolute; top: -43px; left: 6px; border: 8px solid #6c4a45; border-radius: 48% 52% 44% 48%; background: #ffd5bd; }
.parent::after { content: ""; width: 43px; height: 19px; position: absolute; top: 23px; left: 25px; border-bottom: 11px solid #ffd5bd; border-radius: 50%; transform: rotate(12deg); }
.family-illustration .baby { width: 82px; height: 74px; position: absolute; left: 44px; bottom: 8px; border-radius: 42% 45% 25px 25px; background: #6daea5; transform: rotate(-8deg); }
.baby::before { content: "⌒ ᴗ ⌒"; width: 55px; height: 50px; display: grid; place-items: center; position: absolute; top: -35px; left: 8px; border: 5px solid #6c4a45; border-radius: 50%; background: #ffdbc5; color: #6c4a45; font-size: 9px; }
.baby::after { content: ""; width: 32px; height: 11px; position: absolute; left: 21px; top: -42px; border-top: 4px solid #6c4a45; border-radius: 50%; transform: rotate(12deg); }
.family-illustration .heart { position: absolute; z-index: 5; left: 28px; top: 13px; display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid #6c4a45; border-radius: 50%; background: #fff8f4; color: var(--coral); }
.family-illustration .heart::after { content: ""; width: 22px; height: 18px; position: absolute; right: -13px; bottom: -4px; border-right: 2px solid #6c4a45; transform: rotate(47deg); }
.calendar-card { width: 158px; height: 188px; overflow: hidden; position: absolute; z-index: 4; top: 74px; right: 15px; border-radius: 17px; background: #fffdfb; box-shadow: 0 23px 55px rgba(103, 76, 69, .18); transform: rotate(5deg); text-align: center; }
.calendar-card > div { height: 48px; display: flex; align-items: center; justify-content: center; position: relative; background: var(--coral); color: white; font-family: Manrope; letter-spacing: 2px; }
.calendar-card > div span { width: 7px; height: 22px; position: absolute; top: -7px; border: 2px solid white; border-radius: 6px; background: var(--navy); }
.calendar-card > div span:first-child { left: 38px; }
.calendar-card > div span:nth-child(2) { right: 38px; }
.calendar-card > strong { display: block; margin-top: 15px; color: var(--navy); font-family: Manrope; font-size: 68px; line-height: 1; letter-spacing: -4px; }
.calendar-card > small { color: #888990; font-size: 11px; }
.floating-card { min-width: 168px; display: flex; align-items: center; gap: 10px; position: absolute; z-index: 6; padding: 12px 15px; border: 1px solid rgba(255,255,255,.8); border-radius: 13px; background: rgba(255,255,255,.94); box-shadow: 0 12px 30px rgba(75,66,61,.13); }
.floating-card > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--coral-pale); color: var(--coral); font-weight: 800; }
.floating-card small { color: #a0a0a5; font-size: 9px; }
.floating-card b { display: block; margin-top: 2px; color: var(--ink); font-size: 11px; }
.place-card { left: 32px; top: 168px; }
.benefit-card { right: -5px; bottom: 65px; }
.benefit-card > span { background: #e8f8f4; color: var(--mint); }

.event-section { padding: 88px 0 105px; background: white; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; }
.section-kicker { display: block; margin-bottom: 9px; color: var(--coral); font-family: Manrope; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; }
.section-heading h2 { margin: 0; font-size: 30px; line-height: 1.4; letter-spacing: -1.6px; }
.section-heading p { margin: 7px 0 0; color: #8b8c93; font-size: 12px; }
.result-summary { padding-bottom: 3px; }
.result-summary strong { margin-right: 2px; color: var(--coral-dark); font-size: 17px; }
.filter-panel { display: grid; grid-template-columns: 1fr 190px auto; gap: 10px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); }
.search-box, .select-wrap { height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid #e7e3de; border-radius: 10px; background: white; }
.search-box:focus-within, .select-wrap:focus-within { border-color: #ff9ca7; box-shadow: 0 0 0 3px rgba(255, 104, 119, .08); }
.search-box > span:first-child, .select-wrap > span:first-child { color: #999aa0; font-size: 21px; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-box input::placeholder { color: #aaa; }
.select-wrap select { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #55565d; font-size: 12px; cursor: pointer; }
.date-tabs { display: flex; gap: 4px; }
.date-tabs button { height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: #77787f; font-size: 11px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.date-tabs button:hover { background: #f0ede9; }
.date-tabs button.is-active { background: var(--ink); color: white; box-shadow: 0 5px 12px rgba(36,37,42,.13); }

.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.event-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .22s, box-shadow .22s; }
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.event-cover { height: 172px; overflow: hidden; position: relative; padding: 18px; background: linear-gradient(135deg, #ffd9dc, #f4adb5); }
.theme-mint { background: linear-gradient(135deg, #d8f0eb, #a8d8cf); }
.theme-apricot { background: linear-gradient(135deg, #ffe7cc, #f5c69d); }
.theme-blue { background: linear-gradient(135deg, #dce8f8, #b8cce8); }
.theme-lavender { background: linear-gradient(135deg, #e8e0f4, #cdbce3); }
.theme-yellow { background: linear-gradient(135deg, #f9ecc9, #e9cf88); }
.theme-green { background: linear-gradient(135deg, #e0efd9, #b6d3aa); }
.theme-pink { background: linear-gradient(135deg, #f8dfec, #dfb9d0); }
.event-cover::before, .event-cover::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.27); }
.event-cover::before { width: 185px; height: 185px; right: -58px; top: -72px; }
.event-cover::after { width: 105px; height: 105px; right: 35px; bottom: -63px; border: 22px solid rgba(255,255,255,.2); background: transparent; }
.cover-badges { position: relative; z-index: 3; display: flex; gap: 6px; }
.cover-badges span { padding: 5px 8px; border-radius: 6px; background: rgba(255,255,255,.84); color: #5c5a5f; font-size: 9px; font-weight: 700; }
.cover-badges .status-live { background: var(--coral); color: white; }
.cover-badges .status-soon { background: var(--navy); color: white; }
.cover-badges .status-ended { background: #777; color: white; }
.favorite-button { width: 34px; height: 34px; display: grid; place-items: center; position: absolute; z-index: 5; top: 15px; right: 15px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: #aaa; box-shadow: 0 4px 13px rgba(0,0,0,.08); font-size: 15px; cursor: pointer; }
.favorite-button:hover, .favorite-button.is-saved { color: var(--coral); }
.cover-copy { max-width: 62%; position: absolute; z-index: 3; left: 18px; bottom: 17px; }
.cover-copy small, .cover-copy b, .cover-copy em { display: block; }
.cover-copy small { margin-bottom: 3px; color: rgba(55,55,60,.56); font-family: Manrope; font-size: 8px; letter-spacing: 1px; }
.cover-copy b { color: #46464c; font-size: 17px; letter-spacing: -.8px; }
.cover-copy em { margin-top: 4px; color: rgba(55,55,60,.58); font-size: 9px; font-style: normal; }
.cover-art { width: 126px; height: 96px; position: absolute; z-index: 2; right: 12px; bottom: 7px; color: rgba(255,255,255,.9); }
.cover-art svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.event-body { padding: 20px 19px 16px; }
.event-body h3 { margin: 0 0 16px; font-size: 16px; line-height: 1.45; letter-spacing: -.6px; }
.event-meta { display: grid; gap: 10px; margin: 0; }
.event-meta div { display: grid; grid-template-columns: 30px 1fr; gap: 8px; }
.event-meta dt { padding-top: 2px; color: #aaa; font-size: 9px; }
.event-meta dd { min-width: 0; margin: 0; }
.event-meta dd b, .event-meta dd span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-meta dd b { color: #606169; font-size: 11px; font-weight: 600; }
.event-meta dd span { margin-top: 2px; color: #96979d; font-size: 10px; }
.benefit-chips { min-height: 28px; display: flex; flex-wrap: wrap; gap: 6px; margin: 15px 0 14px; }
.benefit-chips span { align-self: flex-start; padding: 5px 8px; border-radius: 5px; background: var(--coral-pale); color: var(--coral-dark); font-size: 9px; font-weight: 700; }
.benefit-chips span:nth-child(2) { background: #edf8f5; color: #3f9d8d; }
.event-actions { display: grid; grid-template-columns: 1fr 43px; gap: 8px; }
.register-link { height: 43px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 9px; background: var(--ink); color: white; font-size: 11px; font-weight: 700; transition: background .2s; }
.register-link:hover { background: var(--coral-dark); }
.register-link span { color: #ffacb4; font-size: 16px; }
.official-link { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: #8a8b91; font-size: 17px; }
.official-link:hover { border-color: #ffb9c0; color: var(--coral); }
.sample-note { margin: 8px 0 0; color: #b0b0b3; font-size: 8px; text-align: center; }
.empty-state { margin-top: 28px; padding: 65px 20px; border: 1px dashed #ddd9d3; border-radius: 18px; background: var(--cream); text-align: center; }
.empty-state > span { color: #bbb; font-size: 38px; }
.empty-state h3 { margin: 8px 0 5px; font-size: 17px; }
.empty-state p { margin: 0 0 18px; color: #8c8d92; font-size: 12px; }
.empty-state button, .load-more { border: 1px solid var(--line); background: white; cursor: pointer; }
.empty-state button { padding: 9px 15px; border-radius: 8px; font-size: 11px; }
.load-more { min-width: 155px; height: 45px; display: block; margin: 38px auto 0; border-radius: 10px; color: #65666c; font-size: 11px; font-weight: 600; }
.load-more:hover { border-color: #ffc0c6; color: var(--coral-dark); }
.load-more[hidden] { display: none; }

.benefit-section { padding: 0 0 95px; }
.benefit-banner { min-height: 180px; display: grid; grid-template-columns: 86px 1fr auto; gap: 27px; align-items: center; overflow: hidden; position: relative; padding: 34px 52px; border-radius: 22px; background: linear-gradient(110deg, #fff0ed, #fff8f5 58%, #f0f8f6); }
.benefit-banner::after { content: ""; width: 230px; height: 230px; position: absolute; right: -75px; top: -90px; border: 42px solid rgba(255,255,255,.5); border-radius: 50%; }
.gift-icon { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50% 45% 52% 48%; background: rgba(255,255,255,.78); color: var(--coral); font-size: 40px; transform: rotate(-7deg); }
.benefit-banner > div:nth-child(2) { position: relative; z-index: 2; }
.benefit-banner div > span { color: var(--coral-dark); font-size: 10px; font-weight: 700; }
.benefit-banner h2 { margin: 5px 0 7px; font-size: 22px; letter-spacing: -1.2px; }
.benefit-banner p { margin: 0; color: #828389; font-size: 11px; }
.benefit-banner > a { display: inline-flex; align-items: center; gap: 16px; position: relative; z-index: 2; padding: 12px 17px; border-radius: 9px; background: white; box-shadow: 0 8px 24px rgba(90,70,65,.08); font-size: 11px; font-weight: 700; }
.benefit-banner > a span { color: var(--coral); }

.guide-section { padding: 84px 0 95px; background: var(--cream); }
.section-heading.compact { margin-bottom: 27px; }
.guide-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.guide-list li { min-height: 105px; display: flex; align-items: center; gap: 17px; padding: 22px; border: 1px solid #ece8e3; border-radius: 15px; background: white; }
.guide-list li > span { color: #efa1a9; font-family: Manrope; font-size: 11px; font-weight: 800; }
.guide-list b { font-size: 13px; }
.guide-list p { margin: 5px 0 0; color: #929399; font-size: 10px; line-height: 1.6; }

.site-footer { padding: 48px 0 24px; background: #30333a; color: white; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 34px; }
.footer-brand .brand-symbol { width: 30px; height: 30px; font-size: 14px; }
.footer-inner p { margin: 12px 0 0; color: #9fa1a7; font-size: 10px; }
.footer-links { display: flex; gap: 27px; color: #c0c1c5; font-size: 10px; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.09); color: #85878e; font-size: 8px; }
.footer-bottom p { margin: 0; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 27px; padding: 11px 18px; border-radius: 10px; background: rgba(36,37,42,.95); color: white; box-shadow: 0 10px 30px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .25s; font-size: 11px; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr .82fr; }
  .hero-visual { transform: scale(.82); transform-origin: left center; }
  .filter-panel { grid-template-columns: 1fr 190px; }
  .date-tabs { grid-column: 1 / -1; }
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-banner { padding-inline: 34px; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), 560px); }
  .site-header { height: 64px; }
  .brand { font-size: 17px; }
  .brand-symbol { width: 30px; height: 30px; font-size: 15px; }
  .saved-button { gap: 5px; padding: 8px 10px; font-size: 0; }
  .saved-button b { font-size: 10px; }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid { display: block; }
  .hero-copy { padding: 58px 0 18px; text-align: center; }
  .hero h1 { font-size: clamp(32px, 8vw, 36px); letter-spacing: -2.2px; }
  .hero-description { font-size: 13px; }
  .desktop-only { display: none; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-stats { justify-content: center; margin-top: 34px; }
  .hero-stats div { padding-inline: 19px; }
  .hero-visual { height: 330px; margin-bottom: -35px; transform: scale(.7); transform-origin: top center; }
  .visual-blob { left: 50%; transform: translateX(-50%) rotate(-8deg); }
  .family-illustration { left: calc(50% - 100px); }
  .calendar-card { right: calc(50% - 245px); }
  .place-card { left: calc(50% - 250px); }
  .benefit-card { right: calc(50% - 260px); }
  .event-section { padding: 68px 0 72px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 25px; }
  .section-heading p:not(.result-summary) { max-width: 245px; }
  .result-summary { padding-top: 33px; white-space: nowrap; }
  .filter-panel { display: flex; flex-wrap: wrap; }
  .search-box, .select-wrap { width: 100%; }
  .date-tabs { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .date-tabs button { flex: 1 0 auto; }
  .event-grid { grid-template-columns: 1fr; }
  .event-cover { height: 178px; }
  .benefit-section { padding-bottom: 67px; }
  .benefit-banner { grid-template-columns: 1fr; gap: 14px; padding: 30px 26px; text-align: center; }
  .gift-icon { margin-inline: auto; }
  .benefit-banner > a { justify-self: center; }
  .guide-section { padding: 65px 0; }
  .guide-list { grid-template-columns: 1fr; }
  .footer-inner, .footer-bottom { display: block; }
  .footer-links { margin-top: 26px; flex-wrap: wrap; gap: 18px; }
  .footer-bottom p + p { margin-top: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
