:root {
    --mountain-blue: #1565C0;
    --crane-red: #D32F2F;
    --fold-gold: #F9A825;
    --paper-white: #FAFAFA;
    --crease-gray: #E0E0E0;
    --font-en: 'Nunito', sans-serif;
    --font-kr: 'Noto Sans KR', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-kr); background: var(--paper-white); color: #333; line-height: 1.6; overflow-x: hidden; }

.nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease; }
.nav.scrolled { background: rgba(21, 101, 192, 0.95); box-shadow: 0 2px 20px rgba(21, 101, 192, 0.3); }
.nav-logo { font-family: var(--font-en); font-size: 1.4rem; font-weight: 800; color: white; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.nav-logo-crane { width: 30px; height: 30px; background: var(--crane-red); clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { color: white; text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--fold-gold); }

.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger span { width: 28px; height: 3px; background: white; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(21, 101, 192, 0.98); z-index: 999; flex-direction: column; justify-content: center; align-items: center; gap: 2rem; }
.mobile-menu.active { display: flex; }
.mobile-menu a { color: white; text-decoration: none; font-size: 1.5rem; font-weight: 600; }

.hero { min-height: 100vh; background: linear-gradient(135deg, var(--mountain-blue) 0%, #0D47A1 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.origami-bg { position: absolute; width: 100%; height: 100%; }
.fold { position: absolute; background: rgba(255, 255, 255, 0.05); }
.fold-1 { width: 400px; height: 400px; top: 10%; right: -100px; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: foldFloat 6s ease-in-out infinite; }
.fold-2 { width: 300px; height: 300px; bottom: 10%; left: -50px; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: foldFloat 8s ease-in-out infinite reverse; }
.fold-3 { width: 200px; height: 200px; top: 30%; left: 20%; clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); animation: foldFloat 5s ease-in-out infinite; }
.crane-silhouette { position: absolute; top: 20%; right: 15%; width: 150px; height: 150px; background: rgba(249, 168, 37, 0.2); clip-path: polygon(50% 0%, 30% 40%, 0% 50%, 30% 60%, 40% 100%, 50% 70%, 60% 100%, 70% 60%, 100% 50%, 70% 40%); }

@keyframes foldFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(3deg); } }

.hero-content { position: relative; z-index: 10; text-align: center; padding: 2rem; }
.hero-subtitle { font-family: var(--font-en); font-size: 0.9rem; color: var(--fold-gold); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 1rem; }
.hero-title { font-size: 3.5rem; font-weight: 700; color: white; margin-bottom: 1.5rem; line-height: 1.3; }
.hero-title span { color: var(--fold-gold); }
.hero-desc { font-size: 1.1rem; color: rgba(255, 255, 255, 0.75); max-width: 500px; margin: 0 auto; }

.section { padding: 6rem 2rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label { font-family: var(--font-en); font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; color: var(--crane-red); margin-bottom: 0.5rem; }
.section-title { font-size: 2.5rem; font-weight: 700; color: var(--mountain-blue); }

.boards-section { background: white; }
.boards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.board-card { background: var(--paper-white); border-radius: 16px; padding: 2rem; position: relative; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.board-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(21, 101, 192, 0.1); }
.card-fold { position: absolute; top: 0; right: 0; width: 40px; height: 40px; background: var(--fold-gold); clip-path: polygon(100% 0, 0 0, 100% 100%); }
.card-title { font-size: 1.2rem; font-weight: 700; color: var(--mountain-blue); margin-bottom: 1rem; }

.board-list { list-style: none; }
.board-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--crease-gray); display: flex; justify-content: space-between; align-items: center; }
.board-list li a { color: #333; text-decoration: none; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 70%; }
.board-list li a:hover { color: var(--crane-red); }
.post-date { font-family: var(--font-en); font-size: 0.75rem; color: #999; }
.card-more { display: inline-block; margin-top: 1rem; color: var(--crane-red); text-decoration: none; font-size: 0.85rem; font-weight: 700; }
.card-more:hover { text-decoration: underline; }

.footer { background: #0D47A1; color: white; padding: 4rem 2rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto 3rem; }
.footer-brand { font-family: var(--font-en); font-size: 1.3rem; font-weight: 800; color: var(--fold-gold); margin-bottom: 1rem; }
.footer-desc { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; line-height: 1.7; }
.footer-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255, 255, 255, 0.6); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--fold-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; color: rgba(255,255,255,0.4); font-size: 0.8rem; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero-title { font-size: 2rem; }
    .boards-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .hero-title { font-size: 1.6rem; } .section { padding: 4rem 1rem; } }
/* HM_THEME_OVERFLOW_GUARD */
html,
body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}
body,
body * {
    box-sizing: border-box;
}
img,
video,
canvas,
svg {
    max-width: 100%;
}
main,
#app,
#index-app,
.main-content,
.container,
.section,
.hero,
.hero-content,
.hero-title,
.hero-desc,
.hero-actions {
    max-width: 100% !important;
    min-width: 0 !important;
}
.hero-content,
.hero-title,
.hero-desc {
    overflow-wrap: anywhere;
}
/* END_HM_THEME_OVERFLOW_GUARD */
