.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.header-logo:hover {
    opacity: 0.8;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-greeting {
    font-size: 1rem;
    color: #f3f4f6;
}

.logout-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .header-logo {
        font-size: clamp(1.2rem, 5vw, 1.5rem); /* 로고 글자 유연화 */
    }

    .user-menu {
        font-size: clamp(0.9rem, 4vw, 1.1rem); /* 메뉴 글자 유연화 */
    }

    .logout-btn {
        font-size: clamp(0.9rem, 4vw, 1rem); /* 버튼 글자 유연화 */
    }

    /* 모바일에서 인사말 숨기기 */
    .user-greeting {
        display: none;
    }
}
