:root {
    --deep-indigo: #1A237E;
    --spiral-gold: #FFB300;
    --math-white: #FAFAFA;
    --line-gray: #BDBDBD;
    --highlight: #FF5722;
    --golden-ratio: 1.618;
    --font-en: 'Montserrat', 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-color: var(--math-white);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.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: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background-color: rgba(26, 35, 126, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--spiral-gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-spiral {
    width: 32px;
    height: 32px;
    border: 3px solid var(--spiral-gold);
    border-radius: 0 50% 50% 50%;
    animation: spiralSpin 8s linear infinite;
}

@keyframes spiralSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-family: var(--font-kr);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--spiral-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--spiral-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--spiral-gold);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.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(26, 35, 126, 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: 500;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--deep-indigo) 0%, #283593 50%, #1A237E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-spiral-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
}

.spiral-arc {
    position: absolute;
    border: 2px solid rgba(255, 179, 0, 0.3);
    border-radius: 50%;
    animation: spiralPulse 4s ease-in-out infinite;
}

.spiral-arc:nth-child(1) {
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    border-width: 2px 2px 0 0;
    border-radius: 0 50% 0 0;
    animation-delay: 0s;
}

.spiral-arc:nth-child(2) {
    width: 80px;
    height: 80px;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border-width: 2px 0 0 2px;
    border-radius: 50% 0 0 0;
    animation-delay: 0.3s;
}

.spiral-arc:nth-child(3) {
    width: 130px;
    height: 130px;
    top: calc(50% - 80px);
    left: calc(50% - 50px);
    border-width: 0 0 2px 2px;
    border-radius: 0 0 0 50%;
    animation-delay: 0.6s;
}

.spiral-arc:nth-child(4) {
    width: 210px;
    height: 210px;
    top: calc(50% - 80px);
    left: calc(50% - 20px);
    border-width: 0 2px 2px 0;
    border-radius: 0 0 50% 0;
    animation-delay: 0.9s;
}

.spiral-arc:nth-child(5) {
    width: 340px;
    height: 340px;
    top: calc(50% - 210px);
    left: calc(50% - 150px);
    border-width: 2px 2px 0 0;
    border-radius: 0 50% 0 0;
    animation-delay: 1.2s;
}

.spiral-arc:nth-child(6) {
    width: 550px;
    height: 550px;
    top: calc(50% - 340px);
    left: calc(50% - 360px);
    border-width: 2px 0 0 2px;
    border-radius: 50% 0 0 0;
    animation-delay: 1.5s;
}

@keyframes spiralPulse {
    0%, 100% { opacity: 0.3; border-color: rgba(255, 179, 0, 0.3); }
    50% { opacity: 1; border-color: rgba(255, 179, 0, 0.8); }
}

.fibonacci-numbers {
    position: absolute;
    width: 100%;
    height: 100%;
}

.fib-number {
    position: absolute;
    font-family: var(--font-en);
    font-weight: 300;
    color: rgba(255, 179, 0, 0.15);
    font-size: 3rem;
    animation: floatNumber 6s ease-in-out infinite;
}

.fib-number:nth-child(1) { top: 10%; left: 5%; font-size: 2rem; animation-delay: 0s; }
.fib-number:nth-child(2) { top: 20%; right: 10%; font-size: 4rem; animation-delay: 1s; }
.fib-number:nth-child(3) { bottom: 30%; left: 15%; font-size: 3rem; animation-delay: 2s; }
.fib-number:nth-child(4) { bottom: 15%; right: 20%; font-size: 5rem; animation-delay: 3s; }
.fib-number:nth-child(5) { top: 40%; left: 80%; font-size: 2.5rem; animation-delay: 0.5s; }
.fib-number:nth-child(6) { top: 60%; left: 3%; font-size: 3.5rem; animation-delay: 1.5s; }

@keyframes floatNumber {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.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(--spiral-gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-kr);
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-title span {
    color: var(--spiral-gold);
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-ratio {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 179, 0, 0.1);
    border: 1px solid rgba(255, 179, 0, 0.3);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    color: var(--spiral-gold);
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-ratio .phi {
    font-size: 2rem;
    font-weight: 800;
}

/* Section Styles */
.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(--spiral-gold);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-indigo);
    margin-bottom: 1rem;
}

.section-desc {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Fibonacci Sequence */
.fibonacci-section {
    background: white;
}

.fib-sequence {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.fib-item {
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--line-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.fib-item.visible {
    opacity: 1;
    transform: scale(1);
}

.fib-item:hover {
    border-color: var(--spiral-gold);
    background: rgba(255, 179, 0, 0.05);
    transform: scale(1.1);
}

.fib-item .index {
    font-family: var(--font-en);
    font-size: 0.65rem;
    color: var(--line-gray);
    margin-bottom: 0.2rem;
}

.fib-item .value {
    font-family: var(--font-en);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--deep-indigo);
}

/* Golden Section */
.golden-section {
    background: var(--deep-indigo);
    color: white;
}

.golden-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.golden-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 179, 0, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.golden-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.golden-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--spiral-gold);
    transform: translateY(-5px);
}

.golden-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 179, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.golden-card-icon .spiral-mini {
    width: 30px;
    height: 30px;
    border: 2px solid var(--spiral-gold);
    border-radius: 0 50% 50% 50%;
}

.golden-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--spiral-gold);
}

.golden-card-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Board List in Index */
.board-list {
    list-style: none;
    margin-top: 1rem;
}

.board-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.board-list li a {
    color: rgba(255, 255, 255, 0.8);
    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(--spiral-gold);
}

.post-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-en);
}

.board-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--spiral-gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.board-more:hover {
    text-decoration: underline;
}

/* Stats Section */
.stats-section {
    background: var(--math-white);
    padding: 4rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-family: var(--font-en);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--deep-indigo);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.stat-bar {
    width: 60px;
    height: 3px;
    background: var(--spiral-gold);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* Footer */
.footer {
    background: #0D1253;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-brand {
    font-family: var(--font-en);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--spiral-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;
    color: white;
    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 ease;
}

.footer-links a:hover {
    color: var(--spiral-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;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-spiral-container {
        width: 300px;
        height: 300px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .golden-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .fib-item {
        width: 60px;
        height: 60px;
    }
    .fib-item .value {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-ratio {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    .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 */

/* HM_STANDARD_LAYOUT_FIX_V2 */
html,
body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}
body.hm-gnuboard-site,
body.hm-gnuboard-site * {
    box-sizing: border-box;
}
body.hm-gnuboard-site {
    min-width: 0 !important;
    text-rendering: optimizeLegibility;
}
body.hm-menu-open {
    overflow: hidden !important;
}
body.hm-gnuboard-site img,
body.hm-gnuboard-site video,
body.hm-gnuboard-site canvas,
body.hm-gnuboard-site svg {
    max-width: 100%;
}
.hm-site-header,
.site-header {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    z-index: 2147483000 !important;
    width: 100% !important;
    min-height: 72px !important;
    display: block !important;
    background: rgba(255, 255, 255, .96) !important;
    color: #0f172a !important;
    border: 0 !important;
    border-bottom: 1px solid #dbe3ef !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .08) !important;
    backdrop-filter: blur(14px);
    transform: none !important;
}
.hm-header-inner,
.site-header .header-inner {
    width: min(1180px, calc(100% - 32px)) !important;
    min-height: 72px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px !important;
}
.hm-site-brand,
.site-header .logo,
.site-header .site-brand {
    min-width: 0 !important;
    max-width: 38ch !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #0f172a !important;
    font-family: 'Noto Sans KR', Arial, sans-serif !important;
    font-size: clamp(16px, 1.4vw, 22px) !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.hm-brand-mark {
    flex: 0 0 auto !important;
    width: 14px !important;
    height: 14px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #2563eb, #22c55e) !important;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .12) !important;
}
.hm-primary-nav,
.site-header nav,
.site-header .nav-links {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
}
.site-header .nav-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.hm-primary-nav a,
.site-header nav a,
.site-header .nav-links a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 38px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    color: #334155 !important;
    background: transparent !important;
    font-family: 'Noto Sans KR', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-transform: none !important;
}
.hm-primary-nav a:hover,
.site-header nav a:hover,
.site-header .nav-links a:hover {
    color: #1d4ed8 !important;
    background: #eff6ff !important;
}
.hm-auth-nav,
.site-header .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.hm-auth-link,
.hm-auth-button,
.site-header .btn-login,
.site-header .btn-register,
.site-header .btn-logout,
.site-header .btn-member {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 13px !important;
    border-radius: 8px !important;
    border: 1px solid #dbe3ef !important;
    background: #fff !important;
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-transform: none !important;
}
.hm-auth-button,
.site-header .btn-login {
    border-color: #2563eb !important;
    background: #2563eb !important;
    color: #fff !important;
}
.hm-mobile-toggle,
.site-header .mobile-toggle {
    display: none !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 8px !important;
    background: #fff !important;
    cursor: pointer !important;
}
.hm-mobile-toggle span,
.site-header .mobile-toggle span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #0f172a !important;
}
.hm-mobile-menu,
.mobile-nav {
    display: none !important;
}
.hm-mobile-menu:not([hidden]),
.mobile-nav.open {
    display: grid !important;
    gap: 8px !important;
    width: min(1180px, calc(100% - 32px)) !important;
    margin: 0 auto 12px !important;
    padding: 10px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 18px 34px rgba(15, 23, 42, .10) !important;
}
.hm-mobile-menu a,
.mobile-nav.open a {
    display: flex !important;
    min-height: 42px !important;
    align-items: center !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}
.hm-site-main {
    width: 100% !important;
    min-height: 62vh !important;
    min-width: 0 !important;
    overflow: visible !important;
}
.hm-site-footer,
.site-footer {
    width: 100% !important;
    margin-top: 48px !important;
    border-top: 1px solid #e2e8f0 !important;
    background: #fff !important;
    color: #475569 !important;
}
.hm-footer-inner,
.site-footer .footer-inner,
.site-footer-inner {
    width: min(1180px, calc(100% - 32px)) !important;
    min-height: 72px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}
.hm-site-footer a,
.site-footer a {
    color: #475569 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}
body:has(.hm-board-page),
body:has(.hm-board-view) {
    background: #f8fafc !important;
    color: #111827 !important;
    background-image: none !important;
}
body:has(.hm-board-page) .hm-site-main,
body:has(.hm-board-view) .hm-site-main,
body:has(.hm-board-page) main,
body:has(.hm-board-view) main {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background: transparent !important;
    min-width: 0 !important;
}
body:has(.hm-board-page)::before,
body:has(.hm-board-page)::after,
body:has(.hm-board-view)::before,
body:has(.hm-board-view)::after,
body:has(.hm-board-page) .hm-site-main::before,
body:has(.hm-board-page) .hm-site-main::after,
body:has(.hm-board-view) .hm-site-main::before,
body:has(.hm-board-view) .hm-site-main::after {
    display: none !important;
    content: none !important;
}
@media (max-width: 860px) {
    .hm-site-header,
    .site-header {
        min-height: 64px !important;
    }
    .hm-header-inner,
    .site-header .header-inner {
        min-height: 64px !important;
        width: min(100% - 24px, 1180px) !important;
    }
    .hm-site-brand,
    .site-header .logo,
    .site-header .site-brand {
        max-width: calc(100vw - 96px) !important;
        font-size: 16px !important;
    }
    .hm-primary-nav,
    .site-header nav,
    .site-header .nav-links,
    .hm-auth-nav,
    .site-header .header-actions {
        display: none !important;
    }
    .hm-mobile-toggle,
    .site-header .mobile-toggle {
        display: inline-flex !important;
        margin-left: auto !important;
    }
    .hm-mobile-menu:not([hidden]),
    .mobile-nav.open {
        width: min(100% - 24px, 1180px) !important;
    }
}
/* END_HM_STANDARD_LAYOUT_FIX_V2 */

/* HM_SITE_DESIGN_VARIANTS_V1 */
body.hm-gnuboard-site {
    --hm-font: 'Roboto', 'Malgun Gothic', '맑은 고딕', Arial, sans-serif;
    --font-main: var(--hm-font);
    --font-body: var(--hm-font);
    --font-sans: var(--hm-font);
    --font-family: var(--hm-font);
    --font-primary: var(--hm-font);
    --font-korean: var(--hm-font);
    --font-heading: var(--hm-font);
    --font-display: var(--hm-font);
    --font-kr: var(--hm-font);
    --body-font: var(--hm-font);
    --font-serif: var(--hm-font);
    --hm-page-bg: #f8fafc;
    --hm-surface: #ffffff;
    --hm-surface-alt: #f1f5f9;
    --hm-text: #111827;
    --hm-muted: #64748b;
    --hm-border: #dbe3ef;
    --hm-accent: #2563eb;
    --hm-accent-2: #22c55e;
    --hm-accent-soft: #eff6ff;
    --hm-button-text: #ffffff;
    --hm-radius: 8px;
    --hm-card-radius: 8px;
    --hm-card-shadow: 0 12px 30px rgba(15, 23, 42, .08);
    --hm-header-bg: rgba(255, 255, 255, .96);
    --hm-header-text: #0f172a;
    --hm-header-border: #dbe3ef;
    --hm-header-shadow: 0 10px 26px rgba(15, 23, 42, .08);
    --hm-preview-bg: #f6f8fb;
    --hm-hero-bg: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    background: var(--hm-page-bg) !important;
    color: var(--hm-text) !important;
    font-family: var(--hm-font) !important;
}
body.hm-gnuboard-site *:not(i):not([class^="fa"]):not([class*=" fa-"]):not(.material-icons):not(.xi) {
    font-family: var(--hm-font) !important;
}
body.hm-style-01 {
    --hm-accent: #2563eb; --hm-accent-2: #14b8a6; --hm-accent-soft: #eff6ff;
    --hm-page-bg: #f8fafc; --hm-surface-alt: #eef2ff; --hm-border: #cbd5e1;
    --hm-preview-bg: linear-gradient(135deg, #eff6ff 0%, #f8fafc 48%, #ccfbf1 100%);
    --hm-hero-bg: linear-gradient(135deg, #f8fafc 0%, #dbeafe 58%, #ccfbf1 100%);
}
body.hm-style-02 {
    --hm-accent: #047857; --hm-accent-2: #ca8a04; --hm-accent-soft: #ecfdf5;
    --hm-page-bg: #f7fbf8; --hm-surface-alt: #f0fdf4; --hm-border: #bbf7d0;
    --hm-preview-bg: linear-gradient(135deg, #ecfdf5 0%, #ffffff 48%, #fef9c3 100%);
    --hm-hero-bg: linear-gradient(135deg, #f0fdf4 0%, #ffffff 46%, #fef9c3 100%);
}
body.hm-style-03 {
    --hm-accent: #be123c; --hm-accent-2: #7c3aed; --hm-accent-soft: #fff1f2;
    --hm-page-bg: #fff8fb; --hm-surface-alt: #fdf2f8; --hm-border: #fecdd3;
    --hm-preview-bg: linear-gradient(135deg, #fff1f2 0%, #ffffff 50%, #f5f3ff 100%);
    --hm-hero-bg: linear-gradient(135deg, #fff1f2 0%, #ffffff 52%, #ede9fe 100%);
}
body.hm-style-04 {
    --hm-accent: #0891b2; --hm-accent-2: #f97316; --hm-accent-soft: #ecfeff;
    --hm-page-bg: #f6fbfd; --hm-surface-alt: #e0f2fe; --hm-border: #bae6fd;
    --hm-preview-bg: linear-gradient(135deg, #ecfeff 0%, #ffffff 46%, #ffedd5 100%);
    --hm-hero-bg: linear-gradient(135deg, #ecfeff 0%, #f8fafc 56%, #ffedd5 100%);
}
body.hm-style-05 {
    --hm-accent: #7c2d12; --hm-accent-2: #16a34a; --hm-accent-soft: #fff7ed;
    --hm-page-bg: #fcfaf7; --hm-surface-alt: #fef3c7; --hm-border: #fed7aa;
    --hm-preview-bg: linear-gradient(135deg, #fff7ed 0%, #ffffff 52%, #dcfce7 100%);
    --hm-hero-bg: linear-gradient(135deg, #fff7ed 0%, #ffffff 50%, #dcfce7 100%);
}
body.hm-style-06 {
    --hm-accent: #4f46e5; --hm-accent-2: #eab308; --hm-accent-soft: #eef2ff;
    --hm-page-bg: #f8f7ff; --hm-surface-alt: #eef2ff; --hm-border: #c7d2fe;
    --hm-preview-bg: linear-gradient(135deg, #eef2ff 0%, #ffffff 50%, #fef3c7 100%);
    --hm-hero-bg: linear-gradient(135deg, #eef2ff 0%, #ffffff 46%, #fef3c7 100%);
}
body.hm-style-07 {
    --hm-accent: #0f766e; --hm-accent-2: #db2777; --hm-accent-soft: #ccfbf1;
    --hm-page-bg: #f5fbfa; --hm-surface-alt: #ccfbf1; --hm-border: #99f6e4;
    --hm-preview-bg: linear-gradient(135deg, #ccfbf1 0%, #ffffff 52%, #fce7f3 100%);
    --hm-hero-bg: linear-gradient(135deg, #ccfbf1 0%, #ffffff 52%, #fce7f3 100%);
}
body.hm-style-08 {
    --hm-accent: #111827; --hm-accent-2: #f59e0b; --hm-accent-soft: #f3f4f6;
    --hm-page-bg: #f6f7f9; --hm-surface-alt: #f3f4f6; --hm-border: #d1d5db;
    --hm-preview-bg: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 56%, #fef3c7 100%);
    --hm-hero-bg: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 62%, #fef3c7 100%);
}
body.hm-style-09 {
    --hm-accent: #0284c7; --hm-accent-2: #ea580c; --hm-accent-soft: #e0f2fe;
    --hm-page-bg: #f5fbff; --hm-surface-alt: #e0f2fe; --hm-border: #bae6fd;
    --hm-preview-bg: linear-gradient(135deg, #e0f2fe 0%, #ffffff 48%, #fed7aa 100%);
    --hm-hero-bg: linear-gradient(135deg, #e0f2fe 0%, #ffffff 48%, #ffedd5 100%);
}
body.hm-style-10 {
    --hm-accent: #15803d; --hm-accent-2: #2563eb; --hm-accent-soft: #dcfce7;
    --hm-page-bg: #f6fbf7; --hm-surface-alt: #dcfce7; --hm-border: #bbf7d0;
    --hm-preview-bg: linear-gradient(135deg, #dcfce7 0%, #ffffff 46%, #dbeafe 100%);
    --hm-hero-bg: linear-gradient(135deg, #dcfce7 0%, #ffffff 48%, #dbeafe 100%);
}
body.hm-style-11 {
    --hm-accent: #6d28d9; --hm-accent-2: #06b6d4; --hm-accent-soft: #f5f3ff;
    --hm-page-bg: #fbf8ff; --hm-surface-alt: #f5f3ff; --hm-border: #ddd6fe;
    --hm-preview-bg: linear-gradient(135deg, #f5f3ff 0%, #ffffff 50%, #cffafe 100%);
    --hm-hero-bg: linear-gradient(135deg, #f5f3ff 0%, #ffffff 54%, #cffafe 100%);
}
body.hm-style-12 {
    --hm-accent: #0f5132; --hm-accent-2: #b45309; --hm-accent-soft: #ecfdf5;
    --hm-page-bg: #f7faf8; --hm-surface-alt: #ecfdf5; --hm-border: #bfdbfe;
    --hm-preview-bg: linear-gradient(135deg, #ecfdf5 0%, #ffffff 48%, #dbeafe 100%);
    --hm-hero-bg: linear-gradient(135deg, #ecfdf5 0%, #ffffff 50%, #dbeafe 100%);
}
body.hm-style-03,
body.hm-style-06,
body.hm-style-11 {
    --hm-card-radius: 14px;
    --hm-card-shadow: 0 18px 38px rgba(67, 56, 202, .13);
}
body.hm-style-05,
body.hm-style-08 {
    --hm-card-radius: 4px;
    --hm-card-shadow: 0 8px 0 rgba(17, 24, 39, .08);
}
body.hm-gnuboard-site .hm-site-header,
body.hm-gnuboard-site .site-header {
    background: var(--hm-header-bg) !important;
    color: var(--hm-header-text) !important;
    border-bottom: 1px solid var(--hm-header-border) !important;
    box-shadow: var(--hm-header-shadow) !important;
}
body.hm-gnuboard-site .hm-header-inner,
body.hm-gnuboard-site .site-header .header-inner {
    width: min(1180px, calc(100% - 32px)) !important;
}
body.hm-gnuboard-site .hm-site-brand,
body.hm-gnuboard-site .site-header .logo,
body.hm-gnuboard-site .site-header .site-brand {
    color: var(--hm-header-text) !important;
    font-family: var(--hm-font) !important;
}
body.hm-gnuboard-site .hm-brand-mark {
    background: linear-gradient(135deg, var(--hm-accent), var(--hm-accent-2)) !important;
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--hm-accent) 16%, transparent) !important;
}
body.hm-gnuboard-site .hm-primary-nav a,
body.hm-gnuboard-site .site-header nav a,
body.hm-gnuboard-site .site-header .nav-links a {
    color: var(--hm-muted) !important;
    font-family: var(--hm-font) !important;
}
body.hm-gnuboard-site .hm-primary-nav a:hover,
body.hm-gnuboard-site .site-header nav a:hover,
body.hm-gnuboard-site .site-header .nav-links a:hover {
    color: var(--hm-accent) !important;
    background: var(--hm-accent-soft) !important;
}
body.hm-gnuboard-site .hm-auth-button,
body.hm-gnuboard-site .site-header .btn-login,
body.hm-gnuboard-site .btn-primary,
body.hm-gnuboard-site .btn-cta {
    border-color: var(--hm-accent) !important;
    background: var(--hm-accent) !important;
    color: var(--hm-button-text) !important;
}
body.hm-layout-02 .hm-site-header {
    border-top: 4px solid var(--hm-accent) !important;
    box-shadow: none !important;
}
body.hm-layout-02 .hm-primary-nav a {
    border: 1px solid var(--hm-border) !important;
    background: var(--hm-surface-alt) !important;
}
body.hm-layout-03 .hm-site-header {
    min-height: 96px !important;
}
body.hm-layout-03 .hm-header-inner {
    flex-wrap: wrap !important;
    align-content: center !important;
    gap: 8px 16px !important;
    min-height: 96px !important;
}
body.hm-layout-03 .hm-primary-nav {
    order: 5 !important;
    flex: 1 0 100% !important;
    margin-left: 0 !important;
    justify-content: flex-start !important;
    padding-top: 8px !important;
    border-top: 1px solid var(--hm-border) !important;
}
body.hm-layout-04 .hm-header-inner {
    width: min(1080px, calc(100% - 48px)) !important;
}
body.hm-layout-04 .hm-site-brand {
    text-transform: uppercase !important;
}
body.hm-layout-04 .hm-site-header {
    background: var(--hm-page-bg) !important;
    box-shadow: inset 0 -3px 0 var(--hm-accent) !important;
}
body.hm-layout-05 .hm-header-inner {
    width: min(1040px, calc(100% - 32px)) !important;
}
body.hm-layout-05 .hm-brand-mark {
    border-radius: 3px !important;
    transform: rotate(45deg) !important;
}
body.hm-gnuboard-site .hero {
    background: var(--hm-hero-bg) !important;
    color: var(--hm-text) !important;
}
body.hm-layout-02 .hero,
body.hm-layout-02 .hm-main-board-preview {
    border-left: 8px solid var(--hm-accent) !important;
}
body.hm-layout-03 .hero {
    border-bottom: 1px solid var(--hm-border) !important;
}
body.hm-layout-04 .hero {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%) !important;
}
body.hm-layout-05 .hero .hero-content {
    width: min(1040px, calc(100% - 32px)) !important;
}
body.hm-gnuboard-site .section {
    background: transparent !important;
}
body.hm-gnuboard-site .feature-card,
body.hm-gnuboard-site .board-widget,
body.hm-gnuboard-site .stat-item,
body.hm-gnuboard-site .cta-card {
    border-color: var(--hm-border) !important;
    border-radius: var(--hm-card-radius) !important;
    background: var(--hm-surface) !important;
    box-shadow: var(--hm-card-shadow) !important;
}
body.hm-gnuboard-site .section-label,
body.hm-gnuboard-site .hero-badge,
body.hm-gnuboard-site .highlight {
    color: var(--hm-accent) !important;
}
body.hm-gnuboard-site .hm-main-board-preview {
    --hm-card-bg: var(--hm-preview-bg);
    --hm-card-text: var(--hm-text);
    --hm-card-muted: var(--hm-muted);
    --hm-card-line: var(--hm-border);
    padding: clamp(92px, 8vw, 144px) clamp(14px, 4vw, 56px) clamp(28px, 3.5vw, 52px) !important;
    background: var(--hm-preview-bg) !important;
    color: var(--hm-text) !important;
    position: relative !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
}
body.hm-gnuboard-site .hm-main-board-preview *:not(i):not([class^="fa"]):not([class*=" fa-"]):not(.material-icons):not(.xi) {
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    color: inherit;
}
body.hm-gnuboard-site .hm-preview-head {
    padding: 14px 16px !important;
    border: 1px solid color-mix(in srgb, var(--hm-border) 72%, transparent) !important;
    border-radius: var(--hm-card-radius) !important;
    background: color-mix(in srgb, var(--hm-surface) 78%, transparent) !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .06) !important;
}
body.hm-gnuboard-site .hm-preview-eyebrow,
body.hm-gnuboard-site .hm-preview-board,
body.hm-gnuboard-site .hm-board-panel-head p {
    color: var(--hm-accent) !important;
}
body.hm-gnuboard-site .hm-preview-card,
body.hm-gnuboard-site .hm-board-panel,
body.hm-gnuboard-site .hm-board-chip {
    border-color: var(--hm-border) !important;
    border-radius: var(--hm-card-radius) !important;
    background: var(--hm-surface) !important;
    box-shadow: var(--hm-card-shadow) !important;
    opacity: 1 !important;
}
body.hm-gnuboard-site .hm-preview-media img,
body.hm-gnuboard-site .hm-preview-thumb img {
    opacity: 1 !important;
    mix-blend-mode: normal !important;
}
body.hm-card-02 .hm-preview-card,
body.hm-card-02 .feature-card,
body.hm-card-02 .board-widget {
    border-radius: 3px !important;
    box-shadow: none !important;
}
body.hm-card-02 .hm-preview-media {
    border-bottom: 4px solid var(--hm-accent) !important;
}
body.hm-card-03 .hm-preview-card,
body.hm-card-03 .feature-card,
body.hm-card-03 .board-widget {
    border: 0 !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .12) !important;
}
body.hm-card-03 .hm-preview-carousel {
    grid-auto-columns: minmax(288px, 336px) !important;
}
body.hm-card-04 .hm-preview-card,
body.hm-card-04 .feature-card,
body.hm-card-04 .board-widget {
    border-width: 2px !important;
    background: linear-gradient(180deg, var(--hm-surface), var(--hm-surface-alt)) !important;
}
body.hm-card-04 .hm-preview-card {
    padding: 8px !important;
}
body.hm-card-04 .hm-preview-media {
    border-radius: calc(var(--hm-card-radius) - 2px) !important;
}
body.hm-layout-04 .hm-preview-carousel {
    grid-auto-columns: minmax(280px, 330px) !important;
}
body.hm-layout-01 .hm-preview-carousel {
    grid-auto-columns: minmax(246px, 286px) !important;
}
body.hm-layout-02 .hm-preview-head {
    border-left: 8px solid var(--hm-accent) !important;
}
body.hm-layout-02 .hm-preview-carousel {
    grid-auto-columns: minmax(280px, 320px) !important;
}
body.hm-layout-03 .hm-main-board-preview {
    border-top: 6px solid var(--hm-accent) !important;
}
body.hm-layout-03 .hm-preview-carousel {
    grid-auto-columns: minmax(220px, 260px) !important;
}
body.hm-layout-04 .hm-preview-head {
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
}
body.hm-layout-05 .hm-board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
body.hm-layout-05 .hm-preview-head {
    width: min(1040px, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body.hm-style-03 .hm-preview-head,
body.hm-style-07 .hm-preview-head,
body.hm-style-11 .hm-preview-head {
    background: linear-gradient(135deg, color-mix(in srgb, var(--hm-surface) 88%, transparent), color-mix(in srgb, var(--hm-accent-soft) 70%, transparent)) !important;
}
body.hm-style-08 .hm-preview-card {
    border-color: var(--hm-accent) !important;
}
@media (max-width: 860px) {
    body.hm-layout-03 .hm-site-header {
        min-height: 64px !important;
    }
    body.hm-layout-03 .hm-header-inner {
        flex-wrap: nowrap !important;
        min-height: 64px !important;
    }
    body.hm-layout-03 .hm-primary-nav {
        border-top: 0 !important;
        padding-top: 0 !important;
    }
    body.hm-layout-04 .hm-header-inner,
    body.hm-layout-05 .hm-header-inner {
        width: min(100% - 24px, 1180px) !important;
    }
    body.hm-gnuboard-site .hm-main-board-preview {
        padding: 72px 14px 24px !important;
    }
    body.hm-layout-05 .hm-board-grid {
        grid-template-columns: 1fr !important;
    }
}

/* HM_UNIQUE_SITE_076 */
body.hm-site-076 {
    --hm-font: 'Roboto', 'Malgun Gothic', '맑은 고딕', Arial, sans-serif;
    --font-main: var(--hm-font);
    --font-body: var(--hm-font);
    --font-sans: var(--hm-font);
    --font-family: var(--hm-font);
    --font-primary: var(--hm-font);
    --font-korean: var(--hm-font);
    --font-heading: var(--hm-font);
    --font-display: var(--hm-font);
    --font-kr: var(--hm-font);
    --body-font: var(--hm-font);
    --font-serif: var(--hm-font);
    --hm-accent: hsl(303 72% 38%);
    --hm-accent-2: hsl(96 69% 42%);
    --hm-accent-3: hsl(188 70% 44%);
    --hm-accent-soft: hsl(303 86% 95%);
    --hm-page-bg: linear-gradient(44deg, hsl(303 74% 97%) 0%, hsl(96 78% 98%) 48%, hsl(188 76% 96%) 100%);
    --hm-surface: hsl(311 38% 99%);
    --hm-surface-alt: hsl(96 58% 95%);
    --hm-text: hsl(165 36% 13%);
    --hm-muted: hsl(153 18% 42%);
    --hm-border: hsl(96 42% 82%);
    --hm-header-bg: hsl(303 70% 98% / 0.96);
    --hm-header-border: hsl(303 56% 84%);
    --hm-header-shadow: 0 16px 24px hsl(303 50% 28% / 0.12);
    --hm-card-shadow: 0 16px 24px hsl(303 50% 28% / 0.12);
    --hm-radius: 20px;
    --hm-card-radius: 26px;
    --hm-nav-radius: 4px;
    --hm-shell-width: 1244px;
    --hm-card-width: 304px;
    --hm-gallery-width: 248px;
    --hm-site-gap: 15px;
    --hm-hero-bg: linear-gradient(3deg, hsl(303 74% 97%) 0%, hsl(311 38% 99%) 42%, hsl(188 76% 96%) 100%);
    --hm-preview-bg: linear-gradient(44deg, hsl(303 74% 97%) 0%, hsl(311 38% 99%) 50%, hsl(188 76% 96%) 100%);
}
body.hm-site-076 .hm-header-inner,
body.hm-site-076 .hero-content,
body.hm-site-076 .section-inner,
body.hm-site-076 .hm-preview-head,
body.hm-site-076 .hm-board-panel-head {
    width: min(var(--hm-shell-width), calc(100% - 32px)) !important;
}
body.hm-site-076 .hm-site-header {
    min-height: 86px !important;
    border-bottom-width: 2px !important;
}
body.hm-site-076 .hm-header-inner {
    min-height: 86px !important;
    gap: var(--hm-site-gap) !important;
}
body.hm-site-076 .hm-site-brand {
    font-size: clamp(18px, 2vw, 24px) !important;
    letter-spacing: 0 !important;
}
body.hm-site-076 .hm-brand-mark {
    border-radius: 20px !important;
    transform: rotate(-3deg) !important;
}
body.hm-site-076 .hm-primary-nav a {
    border-radius: var(--hm-nav-radius) !important;
    padding-inline: 14px !important;
}
body.hm-site-076 .hm-primary-nav a {border-bottom: 2px solid transparent !important;background: transparent !important;}}
body.hm-site-076 .hm-primary-nav a:hover {border-bottom-color: var(--hm-accent) !important;}}
body.hm-site-076 .hm-main-board-preview {
    background:
        repeating-linear-gradient(3deg, transparent 0 24px, hsl(303 68% 90% / 0.24) 24px 25px),
        var(--hm-preview-bg) !important;
}
body.hm-site-076 .hm-preview-head h2 {
    font-size: clamp(22px, 3vw, 32px) !important;
    letter-spacing: 0 !important;
}
body.hm-site-076 .hm-preview-carousel {
    gap: var(--hm-site-gap) !important;
    grid-auto-columns: minmax(var(--hm-card-width), calc(var(--hm-card-width) + 42px)) !important;
}
body.hm-site-076 .hm-preview-card {
    border-radius: var(--hm-card-radius) !important;
}
body.hm-site-076 .hm-preview-media,
body.hm-site-076 .hm-preview-thumb {
    aspect-ratio: 4 / 3 !important;
}
body.hm-site-076 .hm-preview-media img,
body.hm-site-076 .hm-preview-thumb img {
    filter: contrast(1.08) sepia(.08) !important;
}
body.hm-site-076 .hm-board-grid {
    gap: var(--hm-site-gap) !important;
}
@media (max-width: 860px) {
    body.hm-site-076 .hm-header-inner,
    body.hm-site-076 .hero-content,
    body.hm-site-076 .section-inner,
    body.hm-site-076 .hm-preview-head,
    body.hm-site-076 .hm-board-panel-head {
        width: min(100% - 24px, var(--hm-shell-width)) !important;
    }
    body.hm-site-076 .hm-site-header,
    body.hm-site-076 .hm-header-inner {
        min-height: 64px !important;
    }
    body.hm-site-076 .hm-preview-carousel {
        grid-auto-columns: minmax(238px, 78vw) !important;
    }
}
/* END_HM_SITE_DESIGN_VARIANTS_V1 */
