/* 넥슨 메이플스토리체 */
@font-face {
  font-family: 'Maplestory';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/MaplestoryOTFBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Maplestory';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/MaplestoryOTFLight.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===================== CSS VARIABLES ===================== */
:root {
  /* Cotton Candy Punch Colors */
  --primary: #FFB7C5; /* Muted Pink */
  --primary-hover: #FF9EAE;
  --secondary: #FFF44F; /* Cream Yellow */
  --accent: #A2CFFE; /* Soft Sky Blue */
  --bg: #F0F8FF; /* Pale Blue */
  --card-bg: #FFFFFF;
  --border: #A2CFFE; /* Soft Sky Blue */
  --text-primary: #4A4A4A;
  --text-secondary: #7A7A7A;
  --white: #FFFFFF;

  /* Font System — 넥슨 메이플스토리 */
  --font-family: 'Maplestory', sans-serif;
  --font-h1: 700 clamp(36px, 5vw, 56px)/1.35 var(--font-family);
  --font-h2: 700 clamp(28px, 4vw, 40px)/1.45 var(--font-family);
  --font-h3: 700 20px/1.55 var(--font-family);
  --font-body: 400 16px/1.7 var(--font-family);
  --font-btn: 700 15px/1.2 var(--font-family);

  --radius-btn: 24px;
  --radius-card: 20px;
  
  --shadow-card: 0 8px 0px rgba(162, 207, 254, 0.4);
  --shadow-hover: 0 12px 0px rgba(162, 207, 254, 0.6);
  --transition: all 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  background-image: radial-gradient(var(--white) 3px, transparent 3px);
  background-size: 32px 32px;
  overflow-x: hidden;
  position: relative;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.section { padding: 80px 0; text-align: left; }

.section-label {
  display: inline-block; font-size: 14px; font-weight: 800; color: var(--primary);
  background: var(--white); padding: 6px 16px; border-radius: 20px;
  border: 2px dashed var(--primary); margin-bottom: 16px;
}
.section-title { font: var(--font-h2); color: var(--text-primary); margin-bottom: 16px; }
.section-desc { font: var(--font-body); color: var(--text-secondary); max-width: 600px; margin-bottom: 40px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px);
  border-bottom: 3px dashed var(--border); padding: 16px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font: var(--font-h3); color: var(--primary); display: flex; align-items: center; gap: 8px; }
.logo-mark { background: var(--secondary); padding: 4px 8px; border-radius: 12px; border: 2px solid var(--primary); }
.nav { display: flex; gap: 24px; }
.nav-link { font: var(--font-body); font-weight: 700; color: var(--text-secondary); transition: var(--transition); }
.nav-link:hover { color: var(--primary); }
.header-actions { display: flex; gap: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: var(--radius-btn);
  font: var(--font-btn); transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary-hover); box-shadow: 0 4px 0 var(--primary-hover); }
.btn-primary:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--primary-hover); }
.btn-outline { background: var(--white); color: var(--text-primary); border-color: var(--accent); box-shadow: 0 4px 0 var(--accent); }
.btn-outline:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--accent); background: var(--bg); }
.btn-ghost { color: var(--text-secondary); }
.btn-ghost:hover { color: var(--primary); background: rgba(255,183,197,0.2); }

/* Hero */
.hero { padding: 80px 0 60px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: flex-start; gap: 48px; }
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; color: var(--accent);
  background: var(--white); padding: 5px 14px; border-radius: 20px;
  border: 2px solid var(--accent); margin-bottom: 20px;
}
.hero-title { font: var(--font-h1); margin-bottom: 20px; line-height: 1.2; }
.hero-title .highlight { color: var(--primary); text-shadow: 2px 2px 0px var(--secondary); }
.hero-desc { font: var(--font-body); font-size: 16px; margin-bottom: 32px; color: var(--text-secondary); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 2px dashed var(--border); }
.stat-num { font: var(--font-h2); color: var(--primary); line-height: 1; margin-bottom: 6px; }
.stat-label { font: var(--font-body); font-size: 13px; color: var(--text-secondary); }

/* Character Grid - free floating zigzag */
.hero-chars {
  position: relative;
  width: 100%;
  height: 460px;
  z-index: 2;
  margin-top: 52px; /* 아이브로우(~30px) + margin-bottom(20px) = h1 시작 위치 맞춤 */
}
.hero-chars .char-cell {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  animation: bounceChar 2.8s ease-in-out infinite;
}
.hero-chars .char-cell img {
  width: 120px; height: 120px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 6px 10px rgba(162,207,254,0.5));
}
/* 3x3 지그재그 배치 */
.hero-chars .char-cell:nth-child(1) { top: 0%;   left: 2%;  animation-delay: 0s;    animation-duration: 2.6s; }
.hero-chars .char-cell:nth-child(2) { top: 4%;   left: 36%; animation-delay: 0.4s;  animation-duration: 3.0s; }
.hero-chars .char-cell:nth-child(3) { top: 0%;   left: 68%; animation-delay: 0.8s;  animation-duration: 2.8s; }
.hero-chars .char-cell:nth-child(4) { top: 35%;  left: 8%;  animation-delay: 0.6s;  animation-duration: 3.2s; }
.hero-chars .char-cell:nth-child(5) { top: 30%;  left: 38%; animation-delay: 0.2s;  animation-duration: 2.5s; }
.hero-chars .char-cell:nth-child(6) { top: 33%;  left: 66%; animation-delay: 1.0s;  animation-duration: 2.9s; }
.hero-chars .char-cell:nth-child(7) { top: 65%;  left: 3%;  animation-delay: 0.9s;  animation-duration: 3.1s; }
.hero-chars .char-cell:nth-child(8) { top: 62%;  left: 36%; animation-delay: 0.3s;  animation-duration: 2.7s; }
.hero-chars .char-cell:nth-child(9) { top: 65%;  left: 68%; animation-delay: 0.7s;  animation-duration: 3.3s; }
/* char3 (솜사탕 던지기) 살짝 크게 */
.hero-chars .char-cell:nth-child(3) img { width: 140px; height: 140px; }

@keyframes bounceChar {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-chars { height: 320px; }
  .hero-chars .char-cell img { width: 85px; height: 85px; }
  .hero-chars .char-cell:nth-child(1) { top: 0%;   left: 2%;  }
  .hero-chars .char-cell:nth-child(2) { top: 3%;   left: 36%; }
  .hero-chars .char-cell:nth-child(3) { top: 0%;   left: 68%; }
  .hero-chars .char-cell:nth-child(4) { top: 36%;  left: 8%;  }
  .hero-chars .char-cell:nth-child(5) { top: 32%;  left: 38%; }
  .hero-chars .char-cell:nth-child(6) { top: 34%;  left: 66%; }
  .hero-chars .char-cell:nth-child(7) { top: 65%;  left: 3%;  }
  .hero-chars .char-cell:nth-child(8) { top: 63%;  left: 36%; }
  .hero-chars .char-cell:nth-child(9) { top: 65%;  left: 68%; }
}

/* Floating Characters */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.floating-char {
  position: absolute;
  width: 100px; height: 100px;
  animation: bounce 2s infinite ease-in-out;
  z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
.fc-1 { top: 15%; right: 15%; animation-delay: 0s; width: 120px; }
.fc-2 { top: 40%; right: 5%; animation-delay: 0.5s; }
.fc-3 { top: 60%; right: 20%; animation-delay: 1s; width: 110px; }
.fc-4 { top: 80%; right: 8%; animation-delay: 0.2s; }
.fc-5 { top: 95%; right: 25%; animation-delay: 0.7s; width: 90px; }
.fc-6 { top: 25%; left: 5%; animation-delay: 1.2s; width: 110px; }
.fc-7 { top: 45%; left: 15%; animation-delay: 0.8s; }
.fc-8 { top: 65%; left: 2%; animation-delay: 0.3s; width: 95px; }
.fc-9 { top: 85%; left: 10%; animation-delay: 0.9s; }
.fc-10 { top: 10%; right: 40%; animation-delay: 1.5s; width: 80px; }

/* Grid Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.card {
  background: var(--white); border: 3px solid var(--border);
  border-radius: var(--radius-card); padding: 32px;
  box-shadow: var(--shadow-card); transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.card-icon {
  width: 60px; height: 60px; background: var(--bg);
  border: 2px dashed var(--primary); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px;
}
.card-title { font: var(--font-h3); margin-bottom: 12px; }
.card-desc { font: var(--font-body); color: var(--text-secondary); }
.card-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.card-list li { display: flex; align-items: center; gap: 8px; font: var(--font-body); font-size: 14px; color: var(--text-secondary); }
.card-list li::before { content: '✓'; color: var(--primary); font-weight: 800; }

/* Footer */
.footer { background: var(--white); border-top: 3px dashed var(--border); padding: 64px 0 32px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-heading { font: var(--font-btn); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-secondary); font: var(--font-body); font-size: 14px; }
.footer-links a:hover { color: var(--primary); }
.footer-text { font: var(--font-body); font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ===================== FAQ ACCORDION ===================== */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.faq-item { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-card); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--primary); }
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-card); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  font: var(--font-h3); color: var(--text-primary); text-align: left; gap: 16px;
}
.faq-q:hover { color: var(--primary); }
.faq-icon { font-size: 22px; color: var(--primary); flex-shrink: 0; transition: var(--transition); }
.faq-a {
  max-height: 0; overflow: hidden;
  padding: 0 24px;
  font: var(--font-body); color: var(--text-secondary); line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 24px 20px; }

/* ===================== POLICY PAGES ===================== */
.policy-page { max-width: 800px; margin: 60px auto; padding: 0 24px; }
.policy-header { margin-bottom: 48px; padding-bottom: 24px; border-bottom: 2px dashed var(--border); }
.policy-header h1 { font: var(--font-h1); margin-bottom: 12px; }
.policy-header .date { font-size: 14px; color: var(--text-secondary); }
.policy-section { margin-bottom: 40px; }
.policy-section h2 { font: var(--font-h2); margin-bottom: 16px; color: var(--text-primary); }
.policy-section h3 { font: var(--font-h3); margin: 16px 0 8px; color: var(--text-primary); }
.policy-section p { font: var(--font-body); color: var(--text-secondary); margin-bottom: 12px; line-height: 1.7; }
.policy-section ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.policy-section ul li { font: var(--font-body); color: var(--text-secondary); list-style: disc; line-height: 1.6; }

/* ===================== HAMBURGER & MOBILE NAV ===================== */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 3px dashed var(--border); flex-direction: column; padding: 16px 24px; gap: 16px; z-index: 99; }
  .nav.mobile-open { display: flex; }
  .header-inner { position: relative; }
  .header-actions .btn:not(.hamburger) { padding: 10px 16px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
/* ===================== AUTHENTICATION PAGES ===================== */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 24px;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border: 3px solid var(--border);
  border-radius: var(--radius-card);
  padding: 48px;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
}

.auth-logo { text-align: center; margin-bottom: 24px; display: flex; justify-content: center; }
.auth-title { font: var(--font-h2); text-align: center; margin-bottom: 8px; }
.auth-subtitle { font: var(--font-body); text-align: center; color: var(--text-secondary); margin-bottom: 40px; }

.social-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-btn);
  font: var(--font-btn);
  border: 2px solid transparent;
  transition: var(--transition);
  box-shadow: 0 4px 0 rgba(0,0,0,0.1);
}
.social-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,0.1); }

.auth-divider {
  display: flex; align-items: center; margin: 32px 0; color: var(--text-secondary); font-size: 14px; font-weight: 700;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 2px; background: var(--border); }
.auth-divider span { padding: 0 16px; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 14px; color: var(--text-primary); }
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font: var(--font-body);
  transition: var(--transition);
  background: var(--bg);
}
.form-input:focus { border-color: var(--primary); outline: none; background: var(--white); box-shadow: 0 0 0 4px rgba(255, 183, 197, 0.2); }

.form-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; font-size: 14px; }
.form-check { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--text-secondary); font-weight: 500; }
.form-check input[type="checkbox"] { accent-color: var(--primary); width: 16px; height: 16px; }
.form-link { color: var(--primary); font-weight: 700; }
.form-link:hover { text-decoration: underline; }

.btn-auth { width: 100%; padding: 16px; font-size: 18px; margin-top: 8px; }

.auth-footer-text { text-align: center; margin-top: 32px; font-size: 14px; color: var(--text-secondary); }
.auth-footer-text a { color: var(--primary); font-weight: 800; margin-left: 4px; }
.auth-footer-text a:hover { text-decoration: underline; }

.success-msg {
  display: none;
  background: rgba(162, 207, 254, 0.2);
  border: 2px dashed var(--accent);
  color: var(--primary);
  padding: 16px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

/* Signup Steps */
.signup-steps { display: flex; justify-content: space-between; margin-bottom: 40px; position: relative; }
.signup-steps::before {
  content: ''; position: absolute; top: 14px; left: 0; right: 0; height: 3px; background: var(--border); z-index: 1;
}
.step-item { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--white);
  border: 3px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: var(--text-secondary); transition: var(--transition);
}
.step-label { font-size: 12px; font-weight: 700; color: var(--text-secondary); }
.step-item.active .step-num { background: var(--primary); border-color: var(--primary); color: var(--white); box-shadow: 0 0 0 4px rgba(255, 183, 197, 0.3); }
.step-item.active .step-label { color: var(--primary); }
.step-item.completed .step-num { background: var(--accent); border-color: var(--accent); color: var(--white); }
/* font bump Sat May 16 03:08:38 KST 2026 */
/* deploy 1778898363 */
