/* ========================================================
   TTEUM (틈) 공통 스타일시트
   - 다크 네온 아케이드 테마
   - 반응형 레이아웃 및 폰트
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&family=Noto+Sans+KR:wght@400;500;700;800;900&display=swap');

:root {
    --bg-dark: #070a12;
    --bg-card: #0e1526;
    --bg-card-hover: #141f36;
    --border-color: #1e293b;
    --border-glow: #334155;
    
    --neon-blue: #4cc9f0;
    --neon-teal: #00f5d4;
    --neon-pink: #f72585;
    --neon-yellow: #fee440;
    --neon-purple: #7209b7;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 공통 헤더 */
.tteum-header {
    width: 100%;
    height: 58px;
    background: rgba(8, 12, 22, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
}

.logo-symbol {
    font-size: 22px;
    filter: drop-shadow(0 0 8px rgba(76, 201, 240, 0.6));
}

.logo-text {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 30%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    background: rgba(76, 201, 240, 0.15);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    border-radius: 4px;
    letter-spacing: 1px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--neon-teal);
}

.btn-hub-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #1e293b;
    color: #e2e8f0;
    border: 1px solid #334155;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-hub-back:hover {
    background: #334155;
    color: var(--neon-teal);
    border-color: var(--neon-teal);
    box-shadow: 0 0 12px rgba(0, 245, 212, 0.3);
}

/* 펄스 애니메이션 */
@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(76, 201, 240, 0.4), inset 0 0 10px rgba(76, 201, 240, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(76, 201, 240, 0.7), inset 0 0 15px rgba(76, 201, 240, 0.4);
    }
}

.pulse {
    animation: neonPulse 2s infinite ease-in-out;
}
