:root {
    --primary: #FF6B9D;
    --primary-dark: #E8447A;
    --secondary: #8B5CF6;
    --bg: #FDF2F8;
    --card-bg: #fff;
    --text: #1F1235;
    --text-muted: #7C6B8A;
    --border: #FADADD;
    --shadow: 0 4px 24px rgba(255, 107, 157, 0.1);
    --shadow-hover: 0 12px 36px rgba(255, 107, 157, 0.22);
    --radius: 16px;
    --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* ─── HEADER ─── */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    letter-spacing: -0.5px;
    font-family: 'Noto Sans KR', sans-serif;
}

.nav { display: flex; gap: 4px; }

.nav-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Noto Sans KR', sans-serif;
    white-space: nowrap;
}

.nav-btn:hover { color: var(--primary); background: rgba(255, 107, 157, 0.08); }
.nav-btn.active { color: var(--primary); background: rgba(255, 107, 157, 0.12); font-weight: 700; }

.nav-btn.contact-btn {
    background: var(--primary);
    color: white;
    font-weight: 700;
}
.nav-btn.contact-btn:hover { background: var(--primary-dark); color: white; }
.nav-btn.contact-btn.active { background: var(--primary-dark); color: white; }

/* FAB */
.fab-wrap {
    display: none;
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 200;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(255, 107, 157, 0.45);
    transition: transform 0.25s, box-shadow 0.25s;
    flex-shrink: 0;
}

.fab-btn:hover { box-shadow: 0 10px 32px rgba(255, 107, 157, 0.55); }
.fab-btn.open { transform: rotate(90deg); }

.fab-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s, transform 0.25s;
}

.fab-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.fab-item {
    background: white;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.2s;
    white-space: nowrap;
}

.fab-item:hover {
    background: var(--primary);
    color: white;
    transform: translateX(-4px);
}

.fab-item.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

/* ─── MAIN ─── */
.main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 52px 24px;
    min-height: calc(100vh - 64px - 56px);
}

/* ─── SECTIONS ─── */
.section { display: none; animation: fadeUp 0.35s ease both; }
.section.active { display: block; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Page Header */
.page-header { text-align: center; margin-bottom: 48px; }
.page-header h2 { font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.page-header p { color: var(--text-muted); font-size: 1rem; }

/* ─── HERO ─── */
.hero { text-align: center; padding: 56px 0 32px; }

.hero-deco {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--primary);
    opacity: 0.75;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 22px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 36px;
}

.hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.badge {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    box-shadow: var(--shadow);
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-family: 'Noto Sans KR', sans-serif;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255, 107, 157, 0.5); }

.btn-outline {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; transform: translateY(-2px); }

.btn-kakao {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FEE500;
    color: #191919;
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Noto Sans KR', sans-serif;
}
.btn-kakao:hover { background: #F5D800; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(254, 229, 0, 0.5); }

/* ─── ABOUT ─── */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
}

.about-text {
    background: white;
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}

.about-text h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; }
.about-text p { color: var(--text-muted); line-height: 1.95; font-size: 0.95rem; margin-bottom: 24px; }

.about-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
    background: rgba(255, 107, 157, 0.1);
    color: var(--primary);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.83rem;
    font-weight: 600;
}

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.2s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.stat-icon { font-size: 2rem; margin-bottom: 8px; }
.stat-value { font-size: 1.3rem; font-weight: 900; color: var(--primary); margin-bottom: 4px; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* ─── STAFF ─── */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.staff-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px 28px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.2s;
}
.staff-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.staff-img-wrap { margin: 0 auto 20px; width: 96px; height: 96px; }

.staff-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.staff-img.placeholder {
    background: linear-gradient(135deg, #FFB3D1, #C4A3FF);
    border: 3px solid var(--border);
}

.staff-role {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.staff-role.master {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}
.staff-role.sub { background: rgba(139, 92, 246, 0.12); color: var(--secondary); }

.staff-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.staff-bio { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ─── GALLERY ─── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.2s;
}
.gallery-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.gallery-img.placeholder {
    background: linear-gradient(135deg, #FFD6E8 0%, #D6C2FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.gallery-img.placeholder::after { content: '🖼️'; }

.gallery-info { padding: 16px 18px; }
.gallery-date {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    background: rgba(255, 107, 157, 0.1);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
}
.gallery-caption { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ─── RECRUIT ─── */
.recruit-wrap { max-width: 860px; margin: 0 auto; }

.recruit-status { text-align: center; margin-bottom: 32px; }

.status-badge {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 50px;
}
.status-badge.open { background: #ECFDF5; color: #065F46; border: 1.5px solid #6EE7B7; }
.status-badge.closed { background: #FEF2F2; color: #991B1B; border: 1.5px solid #FCA5A5; }

.recruit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.recruit-card {
    background: white;
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    border-top: 3px solid transparent;
}
.recruit-card.welcome { border-top-color: #34D399; }
.recruit-card.condition { border-top-color: var(--primary); }
.recruit-card.reject { border-top-color: #F87171; }

.recruit-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; }

.recruit-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.recruit-card li {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}
.recruit-card li::before { content: '•'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

.recruit-cta {
    text-align: center;
    padding: 36px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.recruit-cta p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }

/* ─── CONTACT ─── */
.contact-wrap { display: flex; justify-content: center; padding: 12px 0; }

.contact-card {
    background: white;
    border-radius: var(--radius);
    padding: 56px 64px;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 480px;
    width: 100%;
}

.contact-icon { font-size: 4rem; margin-bottom: 20px; }
.contact-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 14px; }
.contact-card > p { color: var(--text-muted); line-height: 1.8; margin-bottom: 28px; font-size: 0.95rem; }

.contact-note { font-size: 0.78rem; color: #BBB; margin-top: 16px; }

/* ─── FOOTER ─── */
.footer {
    text-align: center;
    padding: 18px;
    font-size: 0.83rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    background: white;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .fab-wrap { display: flex; }

    .main { padding: 32px 16px; }
    .page-header h2 { font-size: 1.6rem; }
    .page-header { margin-bottom: 32px; }

    .about-text { padding: 24px; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }

    .contact-card { padding: 36px 24px; }
}

@media (max-width: 520px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; justify-content: center; }
}
