@import url('board.css');
*, *::before, *::after {margin:0;padding:0;box-sizing:border-box;}
html {scroll-behavior:smooth;font-size:16px;overflow-x:hidden;}
body {font-family:'Noto Sans KR', sans-serif;color:#333;background:#fff;line-height:1.6;overflow-x:hidden;}
a {text-decoration:none;color:inherit;}
ul, ol {list-style:none;}
img {max-width:100%;height:auto;}
button {cursor:pointer;border:none;background:none;font-family:inherit;}
:root {
  --primary:#7fc141;
  --primary-dark:#5fa02e;
  --dark:#1a1a1a;
  --text:#333;
  --text-light:#666;
  --border:#e3e3e3;
  --bg-light:#f7f7f7;
  --font-en:'Montserrat', sans-serif;
  --font-ko:'Noto Sans KR', sans-serif;
  --transition:0.3s ease;
  --header-h:74px;
}

/* Header */
.header {position:fixed;top:0;left:0;right:0;height:var(--header-h);background:transparent;z-index:1000;}
.header.scrolled {background:#fff;box-shadow:0 1px 8px rgba(0,0,0,0.08);}
.header-inner {width:100%;height:100%;display:flex;align-items:center;padding:0 32px;position:relative;}
.header-logo {flex-shrink:0;z-index:2;display:flex;align-items:center;gap:10px;}
.header-logo img {height:21px;width:auto;filter:brightness(0) invert(1);}
.header.scrolled .header-logo img {filter:none;}
.gnb {position:absolute;left:50%;transform:translateX(-50%);z-index:3;}
.gnb ul {display:flex;gap:0;}
.gnb li {position:relative;}
.gnb li > a {display:block;padding:0 24px;line-height:var(--header-h);font-size:0.95rem;font-weight:600;color:rgba(255,255,255,0.9);letter-spacing:-0.02em;white-space:nowrap;}
.gnb li > a:hover {color:#fff;}
.header.scrolled .gnb li > a {color:var(--text);}
.header.scrolled .gnb li > a:hover {color:var(--primary);}
.header-right {margin-left:auto;display:flex;align-items:center;gap:12px;z-index:2;}
.profile {display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;background:none;border:none;cursor:pointer;border-radius:50%;transition:all 0.2s;}
.profile svg {stroke:rgba(255,255,255,0.7);transition:stroke 0.2s;}
.profile:hover svg {stroke:#fff;}
.header.scrolled .profile svg {stroke:var(--text);}
.header.scrolled .profile:hover svg {stroke:var(--primary);}
.hamburger {display:none;flex-direction:column;gap:5px;width:24px;padding:0;}
.hamburger span {display:block;width:100%;height:2px;background:#fff;}
.header.scrolled .hamburger span {background:var(--dark);}
.gnb-brand {display:none;}
.gnb-close {display:none;}
.gnb-copyright {display:none;}
.gnb-overlay {display:none;position:fixed;inset:0;background:rgba(0,0,0,0.4);z-index:1999;}
.gnb-overlay.active {display:block;}

/* One Page Sections */
.op-section {padding:60px 0;margin-top:var(--header-h);}
.op-section + .op-section {border-top:1px solid #e5e7eb;margin-top:0;}
.op-section-even {background:#f9fafb;}
.container {max-width:1200px;margin:0 auto;padding:0 24px;overflow-x:hidden;}
.op-section-title {font-size:1.6rem;font-weight:800;color:#1a1a1a;margin-bottom:8px;}
.op-section-desc {font-size:.92rem;color:#666;margin-bottom:32px;}
.op-tabs {display:flex;justify-content:center;gap:4px;border-bottom:2px solid #e5e7eb;margin-bottom:24px;}
.op-tab-btn {padding:12px 24px;font-size:.88rem;font-weight:600;color:#888;background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;transition:all .2s;}
.op-tab-btn:hover {color:#333;}
.op-tab-btn.on {color:#2563eb;border-bottom-color:#2563eb;}
.op-tab-content {display:none;}
.op-tab-content.on {display:block;}
.op-tab-content .bw-widget {min-height:100px;}
.op-sub-tabs {display:flex;justify-content:center;gap:6px;margin-bottom:20px;}
.op-sub-tab-btn {padding:7px 18px;font-size:.82rem;font-weight:500;color:var(--text-light);background:#f3f4f6;border:1px solid #e5e7eb;border-radius:20px;cursor:pointer;transition:all .2s;}
.op-sub-tab-btn:hover {background:#e5e7eb;color:var(--text);}
.op-sub-tab-btn.on {background:#2563eb;color:#fff;border-color:#2563eb;font-weight:600;}
.op-sub-tab-content {display:none;}
.op-sub-tab-content.on {display:block;}

/* Footer */
.footer {background:#2b3a6e;color:rgba(255,255,255,0.6);padding:24px 0 0;font-size:0.85rem;margin-top:60px;}
.footer-inner {max-width:1200px;margin:0 auto;padding:0 24px;}
.footer-cols {display:flex;align-items:center;gap:60px;padding-bottom:16px;}
.footer-col-links {flex:1;}
.footer-col-links a {display:inline;font-size:0.82rem;color:rgba(255,255,255,0.55);margin-right:16px;transition:color 0.2s;}
.footer-col-links a:hover {color:#fff;}
.footer-privacy {font-weight:700;color:rgba(255,255,255,0.8) !important;}
.footer-col-sns {flex:0 0 auto;display:flex;align-items:center;}
.footer-sns {display:flex;gap:10px;}
.footer-sns a {width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,0.2);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,0.6);transition:all 0.25s;}
.footer-sns a:hover {background:rgba(255,255,255,0.1);border-color:rgba(255,255,255,0.5);color:#fff;}
.footer-sns svg {width:16px;height:16px;}

/* Language Switcher */
.lang-switcher {position:relative;display:inline-flex;align-items:center;margin-right:8px;}
.lang-switcher-btn {display:flex;align-items:center;gap:4px;background:none;border:1px solid #e5e7eb;border-radius:6px;padding:4px 10px;font-size:13px;font-weight:500;color:#374151;cursor:pointer;transition:all .2s;}
.lang-switcher-btn:hover {border-color:#9ca3af;background:#f9fafb;}
.lang-switcher-btn svg {flex-shrink:0;}
.lang-switcher-list {display:none;position:absolute;top:100%;right:0;margin-top:4px;padding:4px 0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);list-style:none;min-width:60px;z-index:100;}
.lang-switcher.open .lang-switcher-list {display:block;}
.lang-switcher-list li a {display:block;padding:6px 16px;font-size:13px;color:#374151;text-decoration:none;white-space:nowrap;transition:background .15s;}
.lang-switcher-list li a:hover {background:#f3f4f6;}
.lang-switcher-list li a.lang-on {color:#2563eb;font-weight:600;}

/* Responsive: Tablet */
@media (max-width:1024px) {
  .gnb li > a {padding:0 16px;font-size:0.88rem;}
}

/* Responsive: Mobile */
@media (max-width:768px) {
  :root {--header-h:60px;}
  .hamburger {display:flex;}
  .gnb {
    position:fixed;
    top:0;
    right:-100%;
    width:300px;
    height:100vh;
    background:#fff;
    display:flex;
    flex-direction:column;
    padding:22px 28px 40px;
    transition:right 0.35s ease;
    z-index:2000;
    transform:none;
    left:auto;
    box-shadow:-4px 0 20px rgba(0,0,0,0.1);
    overflow-y:auto;
  }
  .gnb.open {right:0;}
  .gnb-brand {display:flex;flex-direction:column;gap:4px;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #e8e8e8;font-size:1.2rem;font-weight:800;color:#3f55a5;font-family:var(--font-en);}
  .gnb ul {flex-direction:column;gap:0;}
  .gnb-menu > li {position:relative;border-bottom:1px solid #eee;display:flex;flex-wrap:wrap;align-items:center;}
  .gnb-menu > li > a {flex:1;padding:14px 0;font-size:1rem;color:var(--dark);line-height:1.4;border-bottom:none;}
  .gnb-menu > li > a:hover {color:var(--primary);}
  .gnb-close {display:block;position:absolute;top:24px;right:20px;font-size:1.6rem;color:var(--text-light);line-height:1;}
  .gnb-copyright {display:block;margin-top:auto;font-size:0.72rem;color:var(--text-light);font-family:var(--font-en);}
  .header-inner {padding:0 16px;}
  .header-right {gap:8px;flex-shrink:0;}
  .lang-switcher-btn span {display:none;}
  .lang-switcher-btn {padding:4px 6px;}
  .header-logo img {height:17px;}
  .op-tabs {overflow-x:auto;flex-wrap:nowrap;}
  .op-tab-btn {white-space:nowrap;padding:10px 16px;font-size:.82rem;}
  .op-section {padding:40px 0;}
  .footer-cols {flex-direction:column;gap:16px;text-align:center;}
  .footer-col-links {text-align:center;}
  .footer-sns {justify-content:center;}
}

@media (max-width:480px) {
  .container {padding:0 16px;}
  .footer {padding:24px 0 0;}
}
