/* ============================================================
   한국 AI음반 협회 (KARA) — Main Stylesheet
   ============================================================ */

/* ── 1. CSS Variables ── */
:root {
  --primary:        #6340d9;
  --primary-dark:   #4e2fb8;
  --primary-light:  #8a6fe8;
  --primary-glow:   rgba(99, 64, 217, 0.25);
  --accent:         #a78bfa;
  --accent2:        #38bdf8;

  --bg-base:        #0d0f1a;
  --bg-surface:     #141726;
  --bg-card:        #1a1f35;
  --bg-card-hover:  #202540;
  --bg-alt:         #111420;

  --text-main:      #e8eaf6;
  --text-sub:       #b0b8d8;
  --text-muted:     #7680a0;
  --text-white:     #ffffff;

  --border:         rgba(99, 64, 217, 0.2);
  --border-light:   rgba(255,255,255,0.07);

  --gradient-hero:  linear-gradient(135deg, #0d0f1a 0%, #1a1035 50%, #0d1528 100%);
  --gradient-card:  linear-gradient(135deg, #1a1f35, #141726);
  --gradient-primary: linear-gradient(135deg, #6340d9, #8a6fe8);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  28px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 24px rgba(99,64,217,0.35);

  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;

  --header-h: 68px;
  --container: 1160px;
  --transition: 0.25s ease;
}

/* ── 2. Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
}

body {
  font-family: 'Noto Sans KR', 'Inter', sans-serif;
  background: var(--bg-base);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── 3. Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

/* ── 4. Typography ── */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-white);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p  { color: var(--text-sub); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text-white); }

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 5. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-lg { padding: 0.8rem 2rem; font-size: 1rem; }

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(99,64,217,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(99,64,217,0.55);
}

.btn-secondary {
  background: rgba(99,64,217,0.15);
  color: var(--accent);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: rgba(99,64,217,0.25);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-sub);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  background: var(--border-light);
  color: var(--text-white);
}

.btn-danger {
  background: rgba(239,68,68,0.15);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.3);
}
.btn-danger:hover {
  background: rgba(239,68,68,0.25);
}

/* ── 6. Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* ── 7. Card ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(99,64,217,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
a.card:hover { color: inherit; }

.card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.card p { font-size: 0.95rem; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 1.1rem;
}

.card-title-center { text-align: center; margin-bottom: 2rem; }

/* ── 8. Section Base ── */
.section-page {
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--border-light);
}
.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: var(--sp-5);
}
.section-breadcrumb {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(99,64,217,0.12);
  border: 1px solid rgba(99,64,217,0.25);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  word-break: keep-all;
}

/* ── 9. Header ── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition);
}

.header-top {
  background: rgba(13,15,26,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-h);
}

#site-header.scrolled .header-top {
  background: rgba(13,15,26,0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 0 16px rgba(99,64,217,0.4);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .ko {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-white);
  white-space: nowrap;
}
.logo-text .en {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Nav 1depth */
.nav-1depth {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-item { position: relative; }
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-item > a:hover,
.nav-item.active > a {
  color: var(--text-white);
  background: rgba(255,255,255,0.06);
}
.nav-item.is-home > a { color: var(--accent); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  min-width: 180px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 100;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  rotate: 45deg;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: rgba(99,64,217,0.15);
  color: var(--accent);
}
.nav-dropdown a i { font-size: 0.8rem; color: var(--text-muted); }

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-sub);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-nav.open { max-height: 600px; overflow-y: auto; }
.mobile-nav-inner { padding: var(--sp-2) var(--sp-2); }

.mobile-nav-home {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--accent);
  border-radius: var(--radius-sm);
}
.mobile-nav-group { border-bottom: 1px solid var(--border-light); }

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.8rem 1rem;
  background: none;
  border: none;
  color: var(--text-sub);
  font-size: 0.9rem;
  font-weight: 600;
}
.mobile-nav-toggle i { transition: rotate 0.3s; }
.mobile-nav-toggle.open i { rotate: 180deg; }

.mobile-nav-links {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0,0,0,0.2);
}
.mobile-nav-links.open { max-height: 300px; }
.mobile-nav-links a {
  display: block;
  padding: 0.65rem 1.5rem;
  font-size: 0.87rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.mobile-nav-links a:hover { color: var(--accent); }

/* ── 10. Hero Section ── */
.section-hero {
  min-height: 100vh;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 30%, rgba(99,64,217,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 75% 70%, rgba(56,189,248,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0.4;
}
@keyframes float-particle {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-20vh) rotate(720deg); opacity: 0; }
}

.hero-content { text-align: center; margin-bottom: 4rem; }

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(99,64,217,0.15);
  border: 1px solid rgba(99,64,217,0.35);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  word-break: keep-all;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  word-break: keep-all;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Cards */
.hero-cards { max-width: var(--container); margin: 0 auto; }

.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
}
.hero-card:hover {
  background: rgba(99,64,217,0.12);
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.hero-card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.3rem;
  color: var(--accent);
}
.hero-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--text-white);
}
.hero-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── 11. Prose Panel ── */
.prose-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.prose-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.prose-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.doc-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-white);
}
.prose-panel h4 {
  font-size: 1rem;
  color: var(--accent);
  margin: 1.75rem 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.chapter-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--primary-glow);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}
.prose-panel p { font-size: 0.95rem; color: var(--text-sub); line-height: 1.85; }
.signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  text-align: right;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ── 12. Org Chart ── */
.structure-card { overflow: visible; }

.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
}
.org-node {
  padding: 0.7rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}
.org-root {
  background: rgba(99,64,217,0.2);
  border: 2px solid var(--primary);
  color: var(--accent);
  min-width: 120px;
}
.org-mid {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-white);
  min-width: 220px;
}
.org-office {
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.3);
  color: var(--accent);
  min-width: 140px;
}
.org-line-v {
  width: 2px;
  height: 28px;
  background: linear-gradient(to bottom, var(--border), var(--border));
}
.org-line-h-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0.5rem 0;
}
.org-committees {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}
.org-committee {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-sub);
  background: rgba(255,255,255,0.03);
}

/* ── 13. Roadmap ── */
.roadmap {
  padding-left: 2rem;
  border-left: 2px solid var(--border-light);
}
.roadmap-item {
  position: relative;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
}
.roadmap-item.last { margin-bottom: 0; }

.roadmap-dot {
  position: absolute;
  left: -2.62rem;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(99,64,217,0.6);
  flex-shrink: 0;
}
.roadmap-dot.pending {
  background: var(--bg-card);
  border: 2px solid var(--border);
  box-shadow: none;
}
.roadmap-content { flex: 1; }
.roadmap-step {
  font-size: 0.95rem;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}
.roadmap-step.muted { color: var(--text-muted); }
.roadmap-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}
.roadmap-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.roadmap-tag.done {
  background: rgba(99,64,217,0.2);
  color: var(--accent);
  border: 1px solid rgba(99,64,217,0.35);
}
.roadmap-tag.pending {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

/* ── 14. Founders ── */
.founder-card { text-align: center; }
.founder-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  display: inline-block;
}
.founder-badge.featured {
  background: rgba(99,64,217,0.2);
  color: var(--accent);
  border: 1px solid rgba(99,64,217,0.4);
}
.founder-badge.sub {
  background: rgba(56,189,248,0.1);
  color: var(--accent2);
  border: 1px solid rgba(56,189,248,0.25);
}
.founder-badge.minor {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}
.founder-avatar {
  width: 64px;
  height: 64px;
  background: var(--primary-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
  color: var(--accent);
  border: 2px solid var(--border);
}
.founder-card.featured .founder-avatar {
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(99,64,217,0.35);
}
.founder-card h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.founder-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.founder-card blockquote {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-sub);
  border-left: 3px solid var(--primary);
  padding-left: 0.8rem;
  text-align: left;
  margin: 0;
  line-height: 1.6;
}

/* ── 15. Business Cards ── */
.business-card {
  padding-top: 2rem;
  position: relative;
  overflow: visible;
}
.business-num {
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(99,64,217,0.15);
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
}
.business-card h3 {
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

/* ── 16. Notice / Legal Boxes ── */
.notice-box {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.notice-box h5 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.notice-box ul { padding-left: 1rem; }
.notice-box li {
  font-size: 0.87rem;
  color: var(--text-sub);
  margin-bottom: 0.35rem;
  list-style: disc;
}

.notice-info {
  background: rgba(56,189,248,0.07);
  border: 1px solid rgba(56,189,248,0.2);
}
.notice-info h5 { color: var(--accent2); }

.notice-warning {
  background: rgba(251,191,36,0.07);
  border: 1px solid rgba(251,191,36,0.2);
}
.notice-warning h5 { color: #fbbf24; }
.notice-warning li { color: var(--text-sub); }

.notice-dark {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-light);
}
.notice-dark h5 { color: var(--text-sub); }
.notice-dark p { font-size: 0.87rem; color: var(--text-muted); margin-bottom: 0; }

/* ── 17. Forms ── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 0.5rem;
}
.required { color: #f87171; }

.form-control {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  color: var(--text-main);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: rgba(99,64,217,0.04);
}
select.form-control option {
  background: var(--bg-card);
  color: var(--text-main);
}
textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-hint { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.4rem; margin-bottom: 0; }

.option-grid {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}
.option-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-sub);
  cursor: pointer;
  transition: all var(--transition);
}
.option-pill:hover { border-color: var(--primary); color: var(--accent); }
.option-pill:has(input:checked) {
  background: rgba(99,64,217,0.15);
  border-color: var(--primary);
  color: var(--accent);
}
.option-pill input { display: none; }

.consent-check {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.87rem;
  color: var(--text-sub);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-submit-area {
  text-align: center;
  margin-top: 1.5rem;
}
.form-submit-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ── 18. Board ── */
.board-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.board-search-wrap {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  min-width: 200px;
  max-width: 400px;
}
.board-search-wrap .form-control { flex: 1; }

.board-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.board-filters .form-control { width: auto; min-width: 110px; }

.board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.board-table th {
  background: rgba(99,64,217,0.1);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.board-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
  color: var(--text-sub);
}
.board-table tr:hover td { background: rgba(99,64,217,0.05); }
.board-table .col-id { width: 60px; text-align: center; }
.board-table .col-cat { width: 90px; }
.board-table .col-author { width: 100px; }
.board-table .col-date { width: 100px; }

.board-title-link {
  color: var(--text-main);
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition);
}
.board-title-link:hover { color: var(--accent); }
.board-pinned .board-title-link { color: var(--accent); }

.cat-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
}
.cat-공지사항 { background: rgba(251,191,36,0.15); color: #fbbf24; }
.cat-보도자료 { background: rgba(56,189,248,0.15); color: var(--accent2); }
.cat-정책자료 { background: rgba(99,64,217,0.2);  color: var(--accent); }
.cat-자유게시판 { background: rgba(255,255,255,0.07); color: var(--text-muted); }

.board-mobile-list { display: none; }
.board-mobile-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all var(--transition);
}
.board-mobile-item:hover { border-color: var(--border); }
.board-mobile-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.board-mobile-title {
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
}
.board-mobile-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.75rem;
}
.board-empty {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}
.board-empty i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.4; display: block; }

/* Board Detail */
.board-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}
.board-cat-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}
.board-detail-title { font-size: 1.3rem; margin-bottom: 0.5rem; }
.board-detail-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.separator { opacity: 0.5; }
.board-detail-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.board-detail-body {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.9;
  white-space: pre-wrap;
  min-height: 200px;
}

/* ── 19. Doc Viewer ── */
.doc-viewer {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.doc-viewer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.doc-viewer-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.doc-viewer-title {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.doc-viewer-info {
  font-size: 0.83rem;
  color: var(--text-muted);
}
.doc-notice {
  background: rgba(99,64,217,0.08);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 2.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--text-sub);
  display: flex;
  gap: 0.5rem;
}
.doc-notice i { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.doc-toc {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 0 2.5rem 1.5rem;
}
.doc-toc h4 { font-size: 0.88rem; color: var(--text-sub); margin-bottom: 0.75rem; }
.doc-toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem 1.5rem;
}
.doc-toc-grid span {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.doc-body {
  padding: 0 2.5rem 2.5rem;
}
.doc-body h4 {
  font-size: 1rem;
  color: var(--accent);
  margin: 2rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}
.doc-body h4:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.doc-body p { font-size: 0.92rem; color: var(--text-sub); }
.doc-footer-actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}
.doc-footer-actions p { margin-bottom: 1rem; font-size: 0.9rem; color: var(--text-muted); }

/* ── 20. Contact ── */
.contact-info-card { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.contact-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.contact-list li > i {
  color: var(--accent);
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
}
.contact-list div { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-list a { color: var(--text-sub); transition: color var(--transition); }
.contact-list a:hover { color: var(--accent); }
.contact-badge-wrap { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── 21. Labels ── */
.label-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  background: rgba(99,64,217,0.15);
  border: 1px solid rgba(99,64,217,0.3);
  border-radius: 50px;
  color: var(--accent);
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ── 22. Footer ── */
#site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 0 1.5rem;
  margin-top: var(--sp-6);
}
.footer-inner { gap: 3rem; align-items: flex-start; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}
.footer-brand h3 { font-size: 1rem; margin: 0; }
.footer-brand p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.footer-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }

.footer-links h4 {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links li a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.5;
}
.footer-links li a i { margin-top: 3px; flex-shrink: 0; font-size: 0.72rem; }
.footer-links li a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: center;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--accent); }

/* ── 23. Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(99,64,217,0.5);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ── 24. Scroll Animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 25. Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .nav-1depth { display: none; }
  .mobile-menu-btn { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .hero-cards.grid-4 { grid-template-columns: repeat(2, 1fr); }

  .prose-panel { padding: 1.75rem 1.25rem; }
  .doc-viewer-header { padding: 1.5rem; }
  .doc-notice { margin: 1rem 1.5rem; }
  .doc-toc { margin: 0 1.5rem 1rem; }
  .doc-body { padding: 0 1.5rem 1.5rem; }

  .board-table { display: none; }
  .board-mobile-list { display: block; }

  .board-controls { flex-direction: column; align-items: stretch; }
  .board-search-wrap { max-width: 100%; }
  .board-filters { flex-wrap: wrap; }
  .board-filters .form-control { flex: 1; min-width: 120px; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .back-to-top { bottom: 1rem; right: 1rem; }

  .section-page { padding: 3rem 0; }
  .container { padding: 0 var(--sp-2); }

  .hero-title { font-size: 1.7rem; }
  .hero-desc { font-size: 0.93rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-cards.grid-4 { grid-template-columns: 1fr; }
  .hero-card { padding: 1.25rem; }
  .option-grid { flex-direction: column; }
  .option-pill { width: 100%; justify-content: center; }
  .board-filters { flex-direction: column; }
  .form-actions { flex-direction: column; }
}

/* ── 26. Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ── 27. Selection ── */
::selection { background: rgba(99,64,217,0.35); color: #fff; }

/* ── 28. Membership Form Title ── */
.membership-form-title {
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  text-align: center;
}
.membership-form-title-inner {
  display: inline-block;
}
.membership-form-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.membership-form-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
}
.membership-form-org {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.membership-form-heading {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.membership-form-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── 29. Print Styles (A4) ── */
@media print {
  /* 인쇄 시 사이트 전체 숨김, 신청서만 출력 */
  body * { visibility: hidden; }
  #membership-membership,
  #membership-membership * { visibility: visible; }
  #membership-membership {
    position: fixed;
    inset: 0;
    background: #fff;
    color: #111;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 11pt;
    padding: 20mm 18mm;
  }
  /* 헤더/푸터/버튼/공지박스 숨김 */
  #site-header, #site-footer,
  .back-to-top, .section-breadcrumb,
  .section-desc, .section-header,
  .notice-box, .form-submit-area,
  .form-submit-hint, .option-grid,
  .form-hint, .btn { display: none !important; }

  .card {
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .membership-form-title {
    border-bottom: 2px solid #222 !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
  }
  .membership-form-logo-icon { display: none !important; }
  .membership-form-org { color: #555 !important; }
  .membership-form-heading {
    font-size: 18pt !important;
    background: none !important;
    -webkit-text-fill-color: #111 !important;
    color: #111 !important;
  }
  .membership-form-sub { color: #555 !important; }

  .form-label {
    color: #333 !important;
    font-weight: 700 !important;
    font-size: 9.5pt !important;
    margin-bottom: 3pt !important;
  }
  .form-control {
    background: #fff !important;
    border: 1px solid #aaa !important;
    color: #111 !important;
    font-size: 10pt !important;
    padding: 5pt 8pt !important;
    border-radius: 3px !important;
    box-shadow: none !important;
  }
  .form-group { margin-bottom: 10pt !important; }
  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12pt !important; }
  .option-pill input { display: inline !important; }
  .option-pill {
    display: inline-flex !important;
    border: 1px solid #aaa !important;
    color: #333 !important;
    padding: 3pt 8pt !important;
    border-radius: 3px !important;
    font-size: 9.5pt !important;
  }
  .option-grid { display: flex !important; gap: 6pt !important; flex-wrap: wrap !important; margin-bottom: 4pt !important; }
  .notice-dark {
    display: block !important;
    background: #f8f8f8 !important;
    border: 1px solid #ccc !important;
    color: #333 !important;
    padding: 10pt !important;
    border-radius: 4px !important;
    margin-top: 10pt !important;
  }
  .notice-dark h5 { color: #333 !important; font-size: 10pt !important; margin-bottom: 6pt !important; }
  .notice-dark p  { color: #444 !important; font-size: 9.5pt !important; }
  .required { color: #c00 !important; }
  select.form-control { border: 1px solid #aaa !important; background: #fff !important; }
  textarea.form-control { display: none !important; }
}

/* ─────────────────────────────────────────────
   이메일 미리보기 모달 (Mail Preview Modal)
───────────────────────────────────────────── */
#mail-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}
#mail-preview-modal.mpm-visible {
  opacity: 1;
  pointer-events: all;
}

.mpm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 20, 0.82);
  backdrop-filter: blur(4px);
}

.mpm-dialog {
  position: relative;
  width: min(700px, 95vw);
  max-height: 90vh;
  background: #1a1f35;
  border: 1px solid rgba(99, 64, 217, 0.4);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(99,64,217,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.28s ease;
}
#mail-preview-modal.mpm-visible .mpm-dialog {
  transform: translateY(0) scale(1);
}

.mpm-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(135deg, #6340d9, #8a6fe8);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mpm-header i { font-size: 1.1rem; }
.mpm-header span { flex: 1; }
.mpm-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.mpm-close:hover { background: rgba(255,255,255,0.3); }

.mpm-meta {
  padding: 0.9rem 1.5rem;
  background: #141726;
  border-bottom: 1px solid rgba(99,64,217,0.2);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mpm-meta > div {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.mpm-label {
  color: #7680a0;
  font-weight: 600;
  min-width: 70px;
  flex-shrink: 0;
}
.mpm-value {
  color: #e8eaf6;
  font-weight: 500;
  word-break: break-all;
}

.mpm-notice {
  margin: 1rem 1.5rem 0;
  padding: 0.75rem 1rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 8px;
  font-size: 0.82rem;
  color: #b0c8e8;
  line-height: 1.6;
}
.mpm-notice i { color: #38bdf8; margin-right: 0.4rem; }
.mpm-notice strong { color: #fff; }

.mpm-body {
  flex: 1;
  overflow-y: auto;
  margin: 1rem 1.5rem;
  padding: 1rem;
  background: #111420;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  font-family: 'Courier New', 'Noto Sans KR', monospace;
  font-size: 0.8rem;
  color: #c8d0e8;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  scrollbar-width: thin;
  scrollbar-color: rgba(99,64,217,0.4) transparent;
}
.mpm-body::-webkit-scrollbar { width: 5px; }
.mpm-body::-webkit-scrollbar-track { background: transparent; }
.mpm-body::-webkit-scrollbar-thumb { background: rgba(99,64,217,0.4); border-radius: 3px; }

.mpm-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(99,64,217,0.2);
  background: #141726;
}
.mpm-btn-cancel {
  flex: 1;
  padding: 0.7rem 1.2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #b0b8d8;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.mpm-btn-cancel:hover {
  background: rgba(255,255,255,0.1);
  color: #e8eaf6;
}
.mpm-btn-send {
  flex: 2;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, #6340d9, #8a6fe8);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(99,64,217,0.4);
}
.mpm-btn-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99,64,217,0.55);
}
.mpm-btn-send i { font-size: 0.9rem; }

@media (max-width: 480px) {
  .mpm-dialog { border-radius: 12px; }
  .mpm-header, .mpm-meta, .mpm-footer { padding-left: 1rem; padding-right: 1rem; }
  .mpm-notice, .mpm-body { margin-left: 1rem; margin-right: 1rem; }
  .mpm-footer { flex-direction: column; }
  .mpm-btn-cancel, .mpm-btn-send { flex: none; width: 100%; }
}
